chore(frontend): add tip for preference restore

This commit is contained in:
syuilo 2025-11-13 14:11:38 +09:00
parent 67ca3d7e71
commit f89faae0ab
3 changed files with 11 additions and 0 deletions

8
locales/index.d.ts vendored
View File

@ -6219,6 +6219,14 @@ export interface Locale extends ILocale {
* *
*/ */
"manageProfiles": string; "manageProfiles": string;
/**
*
*/
"shareSameProfileBetweenDevicesIsNotRecommended": string;
/**
*
*/
"useSyncBetweenDevicesOptionIfYouWantToSyncSetting": string;
}; };
"_preferencesBackup": { "_preferencesBackup": {
/** /**

View File

@ -1565,6 +1565,8 @@ _preferencesProfile:
profileNameDescription: "このデバイスを識別する名前を設定してください。" profileNameDescription: "このデバイスを識別する名前を設定してください。"
profileNameDescription2: "例: 「メインPC」、「スマホ」など" profileNameDescription2: "例: 「メインPC」、「スマホ」など"
manageProfiles: "プロファイルの管理" manageProfiles: "プロファイルの管理"
shareSameProfileBetweenDevicesIsNotRecommended: "複数のデバイスで同一のプロファイルを共有することは推奨しません。"
useSyncBetweenDevicesOptionIfYouWantToSyncSetting: "複数のデバイスで同期したい設定項目が存在する場合は、個別に「複数のデバイスで同期」オプションを有効にしてください。"
_preferencesBackup: _preferencesBackup:
autoBackup: "自動バックアップ" autoBackup: "自動バックアップ"

View File

@ -186,6 +186,7 @@ export async function restoreFromCloudBackup() {
const select = await os.select({ const select = await os.select({
title: i18n.ts._preferencesBackup.selectBackupToRestore, title: i18n.ts._preferencesBackup.selectBackupToRestore,
text: ' ' + i18n.ts._preferencesProfile.shareSameProfileBetweenDevicesIsNotRecommended + ' ' + i18n.ts._preferencesProfile.useSyncBetweenDevicesOptionIfYouWantToSyncSetting,
items: backups.map(backup => ({ items: backups.map(backup => ({
label: backup.name, label: backup.name,
value: backup.name, value: backup.name,