aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Locale
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-02-06 06:14:28 -0800
committerFuwn <[email protected]>2024-02-06 06:14:28 -0800
commite8f574892dbec351c495368af9747e7afb8d6038 (patch)
treea69f793243b87b6ff815769261ddf5db27ed1bfb /src/lib/Locale
parentfeat(settings): recommend site data clear (diff)
downloaddue.moe-e8f574892dbec351c495368af9747e7afb8d6038.tar.xz
due.moe-e8f574892dbec351c495368af9747e7afb8d6038.zip
feat(locale): localise debug settings
Diffstat (limited to 'src/lib/Locale')
-rw-r--r--src/lib/Locale/english.ts14
-rw-r--r--src/lib/Locale/japanese.ts14
-rw-r--r--src/lib/Locale/layout.ts12
3 files changed, 40 insertions, 0 deletions
diff --git a/src/lib/Locale/english.ts b/src/lib/Locale/english.ts
index 9e0868d0..fe449d34 100644
--- a/src/lib/Locale/english.ts
+++ b/src/lib/Locale/english.ts
@@ -216,6 +216,20 @@ const English: Locale = {
long: "Today's Character Birthdays"
}
}
+ },
+ debug: {
+ clearCaches: 'Clear anime and manga list caches',
+ resetAllSettings: {
+ title: 'Reset ALL settings',
+ hint: 'Resets all settings present on this page to their default values'
+ },
+ clearLocalStorage: {
+ title: 'Clear',
+ hint1:
+ 'Resets all of your settings to their default values and clears both AniList media list and manga data caches',
+ hint2:
+ 'If you are having issues with data loading or logging out, it is recommended to clear your site data.'
+ }
}
};
diff --git a/src/lib/Locale/japanese.ts b/src/lib/Locale/japanese.ts
index fb9cff07..7326a3a0 100644
--- a/src/lib/Locale/japanese.ts
+++ b/src/lib/Locale/japanese.ts
@@ -218,6 +218,20 @@ const Japanese: Locale = {
long: '今日のキャラクターの誕生日'
}
}
+ },
+ debug: {
+ clearCaches: 'ブラウザのAniListアニメと漫画リストのキャッシュを消去する',
+ resetAllSettings: {
+ title: 'すべての設定をリセット',
+ hint: 'このページにあるすべての設定をデフォルト値にリセットします'
+ },
+ clearLocalStorage: {
+ title: 'クリア',
+ hint1:
+ 'すべての設定をデフォルト値にリセットし、AniListメディアリストと漫画データキャッシュをクリアします',
+ hint2:
+ 'データの読み込みやログアウトに問題がある場合、サイトデータをクリアすることをお勧めします。'
+ }
}
};
diff --git a/src/lib/Locale/layout.ts b/src/lib/Locale/layout.ts
index 99ff5cae..d2af0a4c 100644
--- a/src/lib/Locale/layout.ts
+++ b/src/lib/Locale/layout.ts
@@ -220,4 +220,16 @@ export interface Locale {
};
};
};
+ debug: {
+ clearCaches: LocaleValue;
+ resetAllSettings: {
+ title: LocaleValue;
+ hint: LocaleValue;
+ };
+ clearLocalStorage: {
+ title: LocaleValue;
+ hint1: LocaleValue;
+ hint2: LocaleValue;
+ };
+ };
}