High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
feat(web): add a seperate tooltip for switching from dark to light mode (#27297)
Vogeluff8f01d06927df
diff --git a/i18n/en.json b/i18n/en.jsonindex fdf3a2181c..252664653c 100644--- a/i18n/en.json+++ b/i18n/en.json@@ -881,7 +881,7 @@"daily_title_text_date": "E, MMM dd","daily_title_text_date_year": "E, MMM dd, yyyy","dark": "Dark",- "dark_theme": "Toggle dark theme",+ "dark_theme": "Switch to dark theme","date": "Date","date_after": "Date after","date_and_time": "Date and Time",@@ -1388,6 +1388,7 @@"library_page_sort_title": "Album title","licenses": "Licenses","light": "Light",+ "light_theme": "Switch to light theme","like": "Like","like_deleted": "Like deleted","link_motion_video": "Link motion video",diff --git a/web/src/routes/+layout.svelte b/web/src/routes/+layout.svelteindex 046d5ce068..71bd66641c 100644--- a/web/src/routes/+layout.svelte+++ b/web/src/routes/+layout.svelte@@ -52,7 +52,7 @@prompt_default: $t('are_you_sure_to_do_this'),show_password: $t('show_password'),hide_password: $t('hide_password'),- dark_theme: $t('dark_theme'),+ dark_theme: themeManager.isDark ? $t('light_theme') : $t('dark_theme'),open_menu: $t('open'),command_palette_prompt_default: $t('command_palette_prompt'),command_palette_to_select: $t('command_palette_to_select'),