diff --git a/web/i18n/en/settings.json b/web/i18n/en/settings.json index 7273ea1e..82bfb282 100644 --- a/web/i18n/en/settings.json +++ b/web/i18n/en/settings.json @@ -3,7 +3,7 @@ "page.privacy": "privacy", "page.video": "video", "page.audio": "audio", - "page.metadata": "metadata", + "page.download": "downloading", "page.advanced": "advanced", "page.debug": "debug information", diff --git a/web/src/lib/settings/defaults.ts b/web/src/lib/settings/defaults.ts index c8bdb8a6..38725766 100644 --- a/web/src/lib/settings/defaults.ts +++ b/web/src/lib/settings/defaults.ts @@ -39,7 +39,7 @@ const defaultSettingsPage = () => { } } - return "/settings/general/appearance"; + return "/settings/appearance"; } export default defaultSettings; diff --git a/web/src/routes/settings/+layout.svelte b/web/src/routes/settings/+layout.svelte index b76b3f8d..747ff401 100644 --- a/web/src/routes/settings/+layout.svelte +++ b/web/src/routes/settings/+layout.svelte @@ -2,6 +2,7 @@ import { page } from "$app/stores"; import settings from "$lib/state/settings"; + import { version } from "$lib/version"; import { t } from "$lib/i18n/translations"; @@ -12,7 +13,7 @@ import IconMovie from "@tabler/icons-svelte/IconMovie.svelte"; import IconMusic from "@tabler/icons-svelte/IconMusic.svelte"; - import IconFileSettings from "@tabler/icons-svelte/IconFileSettings.svelte"; + import IconFileDownload from "@tabler/icons-svelte/IconFileDownload.svelte"; import IconSettingsBolt from "@tabler/icons-svelte/IconSettingsBolt.svelte"; import IconBug from "@tabler/icons-svelte/IconBug.svelte"; import IconLock from "@tabler/icons-svelte/IconLock.svelte"; @@ -24,6 +25,8 @@ let screenWidth: number; + $: versionText = `v.${$version.version}-${$version.commit.slice(0, 7)}`; + $: currentPageTitle = $page.url.pathname.split("/").at(-1); $: stringPageTitle = currentPageTitle !== "settings" ? ` / ${$t(`settings.page.${currentPageTitle}`)}` : ""; @@ -68,51 +71,56 @@ {/if} {:else} +