diff options
| author | Fuwn <[email protected]> | 2024-01-24 22:07:39 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-01-24 22:07:39 -0800 |
| commit | 7351570c2e4f4994a8c73c6e4d662f6cc6183844 (patch) | |
| tree | 5e38fc7142342ea4d447a2f7385167fac04e7432 | |
| parent | feat(locale): localise notice text (diff) | |
| download | due.moe-7351570c2e4f4994a8c73c6e4d662f6cc6183844.tar.xz due.moe-7351570c2e4f4994a8c73c6e4d662f6cc6183844.zip | |
feat(settings): hard localise feedback
| -rw-r--r-- | src/routes/settings/+page.svelte | 28 |
1 files changed, 20 insertions, 8 deletions
diff --git a/src/routes/settings/+page.svelte b/src/routes/settings/+page.svelte index c2048dec..3916c1e7 100644 --- a/src/routes/settings/+page.svelte +++ b/src/routes/settings/+page.svelte @@ -15,6 +15,7 @@ import tooltip from '$lib/Tooltip/tooltip'; import locale from '$stores/locale.js'; import root from '$lib/Utility/root'; + import settings from '$stores/settings'; export let data; @@ -33,14 +34,25 @@ <HeadTitle route="Settings" path="/settings" /> <blockquote> - Have feedback or suggestions? Send a private message to - <a - href="https://anilist.co/user/fuwn" - target="_blank" - title={$locale().settings.tooltips.author} - use:tooltip>@fuwn</a - > - on AniList! + {#if $settings.displayLanguage == 'en'} + Have feedback or suggestions? Send a private message to + <a + href="https://anilist.co/user/fuwn" + target="_blank" + title={$locale().settings.tooltips.author} + use:tooltip>@fuwn</a + > + on AniList! + {:else if $settings.displayLanguage == 'ja'} + フィードバックや提案はありますか?AniListで + <a + href="https://anilist.co/user/fuwn" + target="_blank" + title={$locale().settings.tooltips.author} + use:tooltip>@fuwn</a + > + にDMを送ってください! + {/if} <p /> |