chore(web): more translations for user settings and admin pages (#10161)

* chore(web): more translations for user settings and admin pages

* JobSettings translations

* feedback

* missed one

* feedback
This commit is contained in:
Michel Heusschen
2024-06-12 12:54:40 +02:00
committed by GitHub
parent 0e1311e3d3
commit 9e5c52b7b7
34 changed files with 300 additions and 160 deletions
+4 -1
View File
@@ -1,5 +1,7 @@
import { authenticate } from '$lib/utils/auth';
import { getApiKeys, getSessions } from '@immich/sdk';
import { t } from 'svelte-i18n';
import { get } from 'svelte/store';
import type { PageLoad } from './$types';
export const load = (async () => {
@@ -7,12 +9,13 @@ export const load = (async () => {
const keys = await getApiKeys();
const sessions = await getSessions();
const $t = get(t);
return {
keys,
sessions,
meta: {
title: 'Settings',
title: $t('settings'),
},
};
}) satisfies PageLoad;