diff options
| author | Fuwn <[email protected]> | 2024-02-12 09:24:40 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-02-12 09:24:40 -0800 |
| commit | a737a7483d77a1a61cb0303a75697a09c157da71 (patch) | |
| tree | fcebad9d6f2a923cde7b7ab20938160c2223c90c /src/lib/Locale | |
| parent | feat(settings): settings sync category (diff) | |
| download | due.moe-a737a7483d77a1a61cb0303a75697a09c157da71.tar.xz due.moe-a737a7483d77a1a61cb0303a75697a09c157da71.zip | |
feat(settings): localise settings sync
Diffstat (limited to 'src/lib/Locale')
| -rw-r--r-- | src/lib/Locale/english.ts | 13 | ||||
| -rw-r--r-- | src/lib/Locale/japanese.ts | 13 | ||||
| -rw-r--r-- | src/lib/Locale/layout.ts | 11 |
3 files changed, 35 insertions, 2 deletions
diff --git a/src/lib/Locale/english.ts b/src/lib/Locale/english.ts index c12187fe..831018a7 100644 --- a/src/lib/Locale/english.ts +++ b/src/lib/Locale/english.ts @@ -140,7 +140,18 @@ const English: Locale = { japanese: 'Japanese' }, settingsSync: { - title: 'Settings Sync' + title: 'Settings Sync', + buttons: { + pull: { + title: 'Pull Remote Configuration', + hint: 'Enable settings sync and overwrite any local settings with your remote configuration' + }, + push: { + title: 'Push Local Configuration', + hint: 'Enable settings sync and overwrite any remote configuration with your local settings' + }, + disable: 'Disable & Keep Local Configuration' + } } }, user: { diff --git a/src/lib/Locale/japanese.ts b/src/lib/Locale/japanese.ts index 33d4dc01..07bff6b9 100644 --- a/src/lib/Locale/japanese.ts +++ b/src/lib/Locale/japanese.ts @@ -141,7 +141,18 @@ const Japanese: Locale = { japanese: '日本語' }, settingsSync: { - title: 'クロスプラットフォーム設定同期' + title: 'クロスプラットフォーム設定同期', + buttons: { + pull: { + title: 'リモート設定をプル', + hint: '設定同期を有効にして、ローカル設定をリモート設定で上書きします' + }, + push: { + title: 'ローカル設定をプッシュ', + hint: '設定同期を有効にして、リモート設定をローカル設定で上書きします' + }, + disable: '設定の同期を無効にし、ローカル設定を保持する' + } } }, user: { diff --git a/src/lib/Locale/layout.ts b/src/lib/Locale/layout.ts index ce78d6db..2f48f0a1 100644 --- a/src/lib/Locale/layout.ts +++ b/src/lib/Locale/layout.ts @@ -143,6 +143,17 @@ export interface Locale { }; settingsSync: { title: LocaleValue; + buttons: { + pull: { + title: LocaleValue; + hint: LocaleValue; + }; + push: { + title: LocaleValue; + hint: LocaleValue; + }; + disable: LocaleValue; + }; }; }; user: { |