mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
chore(web): missing notification settings translations (#10022)
* chore: missing notification settings translations * chore: admin library tasks description translation
This commit is contained in:
parent
c8f2d994c6
commit
3e118793de
4 changed files with 17 additions and 9 deletions
|
|
@ -71,7 +71,7 @@
|
|||
[JobName.Library]: {
|
||||
icon: mdiLibraryShelves,
|
||||
title: getJobName(JobName.Library),
|
||||
subtitle: $t('perform_library_tasks'),
|
||||
subtitle: $t('admin.library_tasks_description'),
|
||||
allText: $t('all').toUpperCase(),
|
||||
missingText: $t('refresh').toUpperCase(),
|
||||
},
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
import SettingSwitch from '$lib/components/shared-components/settings/setting-switch.svelte';
|
||||
import { preferences } from '$lib/stores/user.store';
|
||||
import Button from '../elements/buttons/button.svelte';
|
||||
import { t } from 'svelte-i18n';
|
||||
|
||||
let emailNotificationsEnabled = $preferences?.emailNotifications?.enabled ?? true;
|
||||
let albumInviteNotificationEnabled = $preferences?.emailNotifications?.albumInvite ?? true;
|
||||
|
|
@ -44,23 +45,23 @@
|
|||
<div class="ml-4 mt-4 flex flex-col gap-4">
|
||||
<div class="ml-4">
|
||||
<SettingSwitch
|
||||
title="Enable"
|
||||
subtitle="Toggle email notifications"
|
||||
title={$t('enable')}
|
||||
subtitle={$t('notification_toggle_setting_description')}
|
||||
bind:checked={emailNotificationsEnabled}
|
||||
/>
|
||||
</div>
|
||||
<div class="ml-4">
|
||||
<SettingSwitch
|
||||
title="Album Added"
|
||||
subtitle="Receive an email notification when you are added to a shared album"
|
||||
title={$t('album_added')}
|
||||
subtitle={$t('album_added_notification_setting_description')}
|
||||
bind:checked={albumInviteNotificationEnabled}
|
||||
disabled={!emailNotificationsEnabled}
|
||||
/>
|
||||
</div>
|
||||
<div class="ml-4">
|
||||
<SettingSwitch
|
||||
title="Album Updated"
|
||||
subtitle="Receive an email notification when a shared album has new assets"
|
||||
title={$t('album_updated')}
|
||||
subtitle={$t('album_updated_setting_description')}
|
||||
bind:checked={albumUpdateNotificationEnabled}
|
||||
disabled={!emailNotificationsEnabled}
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@
|
|||
<MemoriesSettings />
|
||||
</SettingAccordion>
|
||||
|
||||
<SettingAccordion key="notifications" title="Notifications" subtitle="Manage notifications">
|
||||
<SettingAccordion key="notifications" title={$t('notifications')} subtitle={$t('notifications_setting_description')}>
|
||||
<NotificationsSettings />
|
||||
</SettingAccordion>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue