mirror of
https://github.com/immich-app/immich.git
synced 2025-11-28 13:59:45 +09:00
chore(web): missing notification settings translations (#10022)
* chore: missing notification settings translations * chore: admin library tasks description translation
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user