diff options
| author | Fuwn <[email protected]> | 2024-01-20 19:49:39 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-01-20 19:49:39 -0800 |
| commit | 32044db520a14ab574113f2c32254f3e153e6ce5 (patch) | |
| tree | cea21dd3b39556fc96d928a7a7154e16c859ba86 /src | |
| parent | feat(badges): tooltip component (diff) | |
| download | due.moe-32044db520a14ab574113f2c32254f3e153e6ce5.tar.xz due.moe-32044db520a14ab574113f2c32254f3e153e6ce5.zip | |
refactor(locale): casing
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/Locale/en.json (renamed from src/lib/locale/en.json) | 0 | ||||
| -rw-r--r-- | src/lib/Locale/ja.json (renamed from src/lib/locale/ja.json) | 0 | ||||
| -rw-r--r-- | src/routes/+layout.svelte | 6 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/locale/en.json b/src/lib/Locale/en.json index f968a7d6..f968a7d6 100644 --- a/src/lib/locale/en.json +++ b/src/lib/Locale/en.json diff --git a/src/lib/locale/ja.json b/src/lib/Locale/ja.json index 6c6afb38..6c6afb38 100644 --- a/src/lib/locale/ja.json +++ b/src/lib/Locale/ja.json diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index bafc9272..8500526d 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -14,8 +14,8 @@ import Root from '$lib/Home/Root.svelte'; import root from '$lib/Utility/root'; import { addMessages, init, _ } from 'svelte-i18n'; - import en from '$lib/locale/en.json'; - import ja from '$lib/locale/ja.json'; + import en from '$lib/Locale/en.json'; + import ja from '$lib/Locale/ja.json'; export let data; @@ -23,7 +23,7 @@ addMessages('ja', ja); $: { - // import(`../lib/locale/${$settings.displayLanguage}.json`).then((module) => { + // import(`../lib/Locale/${$settings.displayLanguage}.json`).then((module) => { // addMessages($settings.displayLanguage, module.default); // }); |