High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
chore(web): missing notification settings translations (#10022)
Zack Pollard3e118793de8e
diff --git a/web/src/lib/components/admin-page/jobs/jobs-panel.svelte b/web/src/lib/components/admin-page/jobs/jobs-panel.svelteindex 98d04f439f..915a57a621 100644--- a/web/src/lib/components/admin-page/jobs/jobs-panel.svelte+++ b/web/src/lib/components/admin-page/jobs/jobs-panel.svelte@@ -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(),},diff --git a/web/src/lib/components/user-settings-page/notifications-settings.svelte b/web/src/lib/components/user-settings-page/notifications-settings.svelteindex 3005a08a83..ae43b58c0b 100644--- a/web/src/lib/components/user-settings-page/notifications-settings.svelte+++ b/web/src/lib/components/user-settings-page/notifications-settings.svelte@@ -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}/>diff --git a/web/src/lib/components/user-settings-page/user-settings-list.svelte b/web/src/lib/components/user-settings-page/user-settings-list.svelteindex 1b27e73a3a..64c5420b40 100644--- a/web/src/lib/components/user-settings-page/user-settings-list.svelte+++ b/web/src/lib/components/user-settings-page/user-settings-list.svelte@@ -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>diff --git a/web/src/lib/i18n/en.json b/web/src/lib/i18n/en.jsonindex 924aaf12a8..36eec57f17 100644--- a/web/src/lib/i18n/en.json+++ b/web/src/lib/i18n/en.json@@ -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",