aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-01-24 22:07:39 -0800
committerFuwn <[email protected]>2024-01-24 22:07:39 -0800
commit7351570c2e4f4994a8c73c6e4d662f6cc6183844 (patch)
tree5e38fc7142342ea4d447a2f7385167fac04e7432
parentfeat(locale): localise notice text (diff)
downloaddue.moe-7351570c2e4f4994a8c73c6e4d662f6cc6183844.tar.xz
due.moe-7351570c2e4f4994a8c73c6e4d662f6cc6183844.zip
feat(settings): hard localise feedback
-rw-r--r--src/routes/settings/+page.svelte28
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 />