diff options
| author | Fuwn <[email protected]> | 2024-01-21 23:12:05 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-01-21 23:12:05 -0800 |
| commit | b11eb0562f8b4f4e3cdf46b975fcb0c5a8ed6b6e (patch) | |
| tree | 3e9bd3fa2e36361378e43e43c4afd9ef435935fc /src/lib/Locale | |
| parent | fix(badges): handling of placeholder badges (diff) | |
| download | due.moe-b11eb0562f8b4f4e3cdf46b975fcb0c5a8ed6b6e.tar.xz due.moe-b11eb0562f8b4f4e3cdf46b975fcb0c5a8ed6b6e.zip | |
feat(locale): translate calculation settings fields
Diffstat (limited to 'src/lib/Locale')
| -rw-r--r-- | src/lib/Locale/english.ts | 18 | ||||
| -rw-r--r-- | src/lib/Locale/japanese.ts | 18 | ||||
| -rw-r--r-- | src/lib/Locale/layout.ts | 16 |
3 files changed, 50 insertions, 2 deletions
diff --git a/src/lib/Locale/english.ts b/src/lib/Locale/english.ts index 99190912..3b30f9d3 100644 --- a/src/lib/Locale/english.ts +++ b/src/lib/Locale/english.ts @@ -89,7 +89,23 @@ const English: Locale = { } }, calculation: { - title: 'Calculation' + title: 'Calculation', + fields: { + roundDownChapters: { + title: 'Round down chapters (recommended)', + hint: 'Round chapters down to the nearest whole number (e.g., 50/50.6 would not be due)' + }, + showMediaWithZeroProgress: { + title: 'Show media with zero progress', + hint: 'May potentially cause rate-limiting if you have over ~80 unresolved manga on your lists' + }, + hideOutOfDateVolumeWarning: { + title: 'Hide out-of-date volume warning' + }, + smartChapterCountEstimation: { + title: 'Enable smart chapter count calculation' + } + } }, cache: { title: 'Cache' diff --git a/src/lib/Locale/japanese.ts b/src/lib/Locale/japanese.ts index 5ef7cc45..0376a443 100644 --- a/src/lib/Locale/japanese.ts +++ b/src/lib/Locale/japanese.ts @@ -90,7 +90,23 @@ const Japanese: Locale = { } }, calculation: { - title: '計算' + title: '計算', + fields: { + roundDownChapters: { + title: '最新のチャプター番号を切り捨てる', + hint: '直近のチャプター番号を小数点以下に切り捨てる(例:50/50.6は期限にならない)' + }, + showMediaWithZeroProgress: { + title: 'まだ始めていないメディアを含む', + hint: 'このオプションを有効にすると、リストに未解決のマンガが80冊以上ある場合、レート制限がかかる可能性があります。' + }, + hideOutOfDateVolumeWarning: { + title: '巻数が正しく追跡されていないマンガの警告を隠す' + }, + smartChapterCountEstimation: { + title: '未解決マンガのスマートな章数推定を有効にする' + } + } }, cache: { title: 'キャッシュ' diff --git a/src/lib/Locale/layout.ts b/src/lib/Locale/layout.ts index 59862632..f918cc63 100644 --- a/src/lib/Locale/layout.ts +++ b/src/lib/Locale/layout.ts @@ -94,6 +94,22 @@ export interface Locale { }; calculation: { title: LocaleValue; + fields: { + roundDownChapters: { + title: LocaleValue; + hint: LocaleValue; + }; + showMediaWithZeroProgress: { + title: LocaleValue; + hint: LocaleValue; + }; + hideOutOfDateVolumeWarning: { + title: LocaleValue; + }; + smartChapterCountEstimation: { + title: LocaleValue; + }; + }; }; cache: { title: LocaleValue; |