mirror of
https://github.com/immich-app/immich.git
synced 2025-01-07 00:50:23 -05: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>
|
||||
|
||||
|
|
|
@ -51,6 +51,7 @@
|
|||
"library_scanning_enable_description": "Enable periodic library scanning",
|
||||
"library_settings": "External Library",
|
||||
"library_settings_description": "Manage external library settings",
|
||||
"library_tasks_description": "Perform library tasks",
|
||||
"library_watching_enable_description": "Watch external libraries for file changes",
|
||||
"library_watching_settings": "Library watching (EXPERIMENTAL)",
|
||||
"library_watching_settings_description": "Automatically watch for changed files",
|
||||
|
@ -224,10 +225,14 @@
|
|||
"admin_password": "Admin Password",
|
||||
"administration": "Administration",
|
||||
"advanced": "Advanced",
|
||||
"album_added": "Album added",
|
||||
"album_added_notification_setting_description": "Receive an email notification when you are added to a shared album",
|
||||
"album_cover_updated": "Album cover updated",
|
||||
"album_info_updated": "Album info updated",
|
||||
"album_name": "Album Name",
|
||||
"album_options": "Album options",
|
||||
"album_updated": "Album updated",
|
||||
"album_updated_setting_description": "Receive an email notification when a shared album has new assets",
|
||||
"albums": "Albums",
|
||||
"all": "All",
|
||||
"all_people": "All people",
|
||||
|
@ -552,6 +557,9 @@
|
|||
"no_shared_albums_message": "Create an album to share photos and videos with people in your network",
|
||||
"not_in_any_album": "Not in any album",
|
||||
"notes": "Notes",
|
||||
"notification_toggle_setting_description": "Toggle email notifications",
|
||||
"notifications": "Notifications",
|
||||
"notifications_setting_description": "Manage notifications",
|
||||
"oauth": "OAuth",
|
||||
"offline": "Offline",
|
||||
"ok": "Ok",
|
||||
|
@ -586,7 +594,6 @@
|
|||
"pending": "Pending",
|
||||
"people": "People",
|
||||
"people_sidebar_description": "Display a link to People in the sidebar",
|
||||
"perform_library_tasks": "Perform library tasks",
|
||||
"permanent_deletion_warning": "Permanent deletion warning",
|
||||
"permanent_deletion_warning_setting_description": "Show a warning when permanently deleting assets",
|
||||
"permanently_delete": "Permanently delete",
|
||||
|
|
Loading…
Reference in a new issue