Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

fix(i18n): 明确关闭设置持续生效并同步手机文案断言

Cindy5ff72e12c1f5
diff --git a/apps/desktop/src/renderer/i18n/locales/en/common.json b/apps/desktop/src/renderer/i18n/locales/en/common.json
index 0d12e86459..813e04f166 100644
--- a/apps/desktop/src/renderer/i18n/locales/en/common.json
+++ b/apps/desktop/src/renderer/i18n/locales/en/common.json
@@ -1232,7 +1232,7 @@
"title": "App Behavior",
"closeBehavior": {
"label": "When closing the main window",
- "hint": "Choose what happens the first time you close the window. You can change it here anytime.",
+ "hint": "Applies every time you close the main window. If no choice is saved, you’ll be asked the first time. Change it here anytime.",
"aria": "Choose what happens when the main window closes",
"tray": "Minimize to tray",
"minimize": "Minimize window",
diff --git a/apps/desktop/src/renderer/i18n/locales/ja/common.json b/apps/desktop/src/renderer/i18n/locales/ja/common.json
index ba12b63442..f62e171743 100644
--- a/apps/desktop/src/renderer/i18n/locales/ja/common.json
+++ b/apps/desktop/src/renderer/i18n/locales/ja/common.json
@@ -1230,7 +1230,7 @@
"title": "アプリの動作",
"closeBehavior": {
"label": "メインウィンドウを閉じるとき",
- "hint": "初めて閉じるときに選択します。後からここで変更できます。",
+ "hint": "メインウィンドウを閉じるたびに適用されます。未設定の場合は初回に確認します。ここでいつでも変更できます。",
"aria": "メインウィンドウを閉じるときの動作を選択",
"tray": "トレイに最小化",
"minimize": "ウィンドウを最小化",
diff --git a/apps/desktop/src/renderer/i18n/locales/ko/common.json b/apps/desktop/src/renderer/i18n/locales/ko/common.json
index e30946aa0f..3989619077 100644
--- a/apps/desktop/src/renderer/i18n/locales/ko/common.json
+++ b/apps/desktop/src/renderer/i18n/locales/ko/common.json
@@ -1230,7 +1230,7 @@
"title": "앱 동작",
"closeBehavior": {
"label": "기본 창을 닫을 때",
- "hint": "처음 창을 닫을 때 선택합니다. 언제든 여기에서 바꿀 수 있습니다.",
+ "hint": "기본 창을 닫을 때마다 적용됩니다. 저장된 선택이 없으면 처음 닫을 때 묻습니다. 언제든 여기에서 변경할 수 있습니다.",
"aria": "기본 창을 닫을 때 동작 선택",
"tray": "트레이로 최소화",
"minimize": "창 최소화",
diff --git a/apps/desktop/src/renderer/i18n/locales/zh-CN/common.json b/apps/desktop/src/renderer/i18n/locales/zh-CN/common.json
index fdfd0f5c52..7c883ad618 100644
--- a/apps/desktop/src/renderer/i18n/locales/zh-CN/common.json
+++ b/apps/desktop/src/renderer/i18n/locales/zh-CN/common.json
@@ -1230,7 +1230,7 @@
"title": "应用行为",
"closeBehavior": {
"label": "关闭主窗口时",
- "hint": "首次关闭时询问,之后可在这里修改",
+ "hint": "每次关闭都按此设置执行。未设置时,首次关闭会询问;可随时在这里修改",
"aria": "选择关闭主窗口时的行为",
"tray": "收起到托盘",
"minimize": "最小化窗口",
diff --git a/apps/desktop/src/renderer/i18n/locales/zh-TW/common.json b/apps/desktop/src/renderer/i18n/locales/zh-TW/common.json
index b0912d1d9f..2fbfb656a7 100644
--- a/apps/desktop/src/renderer/i18n/locales/zh-TW/common.json
+++ b/apps/desktop/src/renderer/i18n/locales/zh-TW/common.json
@@ -1230,7 +1230,7 @@
"title": "應用行為",
"closeBehavior": {
"label": "關閉主視窗時",
- "hint": "首次關閉時詢問,之後可在這裡修改",
+ "hint": "每次關閉都依此設定執行。尚未設定時,首次關閉會詢問;可隨時在這裡修改",
"aria": "選擇關閉主視窗時的行為",
"tray": "收起到系統匣",
"minimize": "最小化視窗",
diff --git a/apps/mobile/src/__tests__/mobileSettings.test.ts b/apps/mobile/src/__tests__/mobileSettings.test.ts
index 775e4e74a5..9a05f287fd 100644
--- a/apps/mobile/src/__tests__/mobileSettings.test.ts
+++ b/apps/mobile/src/__tests__/mobileSettings.test.ts
@@ -141,7 +141,7 @@ describe('mobile settings overview', () => {
expect(overview.sections.find((section) => section.id === 'about')?.collapsible).toBeUndefined();
expect(overview.sections.find((section) => section.id === 'about')?.rows).toContainEqual({
- detail: '电脑端授权列表会显示这个名称。',
+ detail: '显示在电脑的授权列表中',
id: 'about.deviceName',
label: '设备名称',
value: 'Carol iPhone',