diff --git a/src/lib/i18n/en.json b/src/lib/i18n/en.json index 33d8acea..d20a8230 100644 --- a/src/lib/i18n/en.json +++ b/src/lib/i18n/en.json @@ -327,6 +327,17 @@ "resetLogin": { "title": "Reset Password", "description": "Enter your account's email, and a password reset link will be sent. If your account does not have an email, contact your instance admins." + }, + "theme": { + "title": "Theme", + "import": "Import", + "export": "Export", + "reset": "Reset", + "accent": "Accent", + "resetWarning": { + "title": "Reset Theme", + "description": "This will reset all of your colors to the default. It is recommended to export your theme before this." + } } }, "cards": { @@ -541,7 +552,6 @@ "title": "Language", "description": "The language used for Photon's UI.", "note": "Languages other than English and Hebrew are community translated, and may be incomplete.", - "": "Dont translate the below!", "en": "English", "en-US": "English", "he": "Hebrew", diff --git a/src/routes/theme/+page.svelte b/src/routes/theme/+page.svelte index f70b95e5..2b039f4c 100644 --- a/src/routes/theme/+page.svelte +++ b/src/routes/theme/+page.svelte @@ -18,6 +18,7 @@ } from 'svelte-hero-icons' import ColorSwatch from './ColorSwatch.svelte' import { t } from '$lib/translations' + import Header from '$lib/components/ui/layout/pages/Header.svelte' const c = defaultColors @@ -44,15 +45,15 @@ toast({ content: err, type: 'error' }) } }} - title="Import" - action="Import" + title={$t('routes.theme.import')} + action={$t('routes.theme.import')} > {/if}