aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/Locale/english.ts13
-rw-r--r--src/lib/Locale/japanese.ts13
-rw-r--r--src/lib/Locale/layout.ts11
-rw-r--r--src/routes/settings/+page.svelte10
4 files changed, 40 insertions, 7 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: {
diff --git a/src/routes/settings/+page.svelte b/src/routes/settings/+page.svelte
index f45fa5cd..b682cb39 100644
--- a/src/routes/settings/+page.svelte
+++ b/src/routes/settings/+page.svelte
@@ -103,10 +103,10 @@
});
}}
>
- Pull Remote Configuration
+ {$locale().settings.settingsSync.buttons.pull.title}
</button>
<SettingHint lineBreak>
- Enable settings sync and overwrite any local settings with your remote configuration
+ {$locale().settings.settingsSync.buttons.pull.hint}
</SettingHint>
<p />
<button
@@ -127,10 +127,10 @@
});
}}
>
- Push Local Configuration
+ {$locale().settings.settingsSync.buttons.push.title}
</button>
<SettingHint lineBreak>
- Enable settings sync and overwrite any remote configuration with your local settings
+ {$locale().settings.settingsSync.buttons.push.hint}
</SettingHint>
{:else}
<button
@@ -144,7 +144,7 @@
);
}}
>
- Disable &amp; Keep Local Configuration
+ {$locale().settings.settingsSync.buttons.disable}
</button>
{/if}
</Category>