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): session 加载标签使用日文韩文 Session 术语

davidd1cbc47425fa
diff --git a/apps/desktop/src/renderer/__tests__/brandLoadingMarkContract.test.ts b/apps/desktop/src/renderer/__tests__/brandLoadingMarkContract.test.ts
index b0e5e6979b..3d43863d6c 100644
--- a/apps/desktop/src/renderer/__tests__/brandLoadingMarkContract.test.ts
+++ b/apps/desktop/src/renderer/__tests__/brandLoadingMarkContract.test.ts
@@ -52,4 +52,11 @@ describe('BrandLoadingMark design exception contract', () => {
expect(locales.every((locale) => typeof locale.chat.sessionLoading === 'string')).toBe(true);
expect(locales.every((locale) => locale.chat.sessionLoading.length > 0)).toBe(true);
});
+
+ it('uses the session term in Japanese and Korean', () => {
+ expect(locales[3].chat.sessionLoading).toContain('セッション');
+ expect(locales[3].chat.sessionLoading).not.toContain('タスク');
+ expect(locales[4].chat.sessionLoading).toContain('세션');
+ expect(locales[4].chat.sessionLoading).not.toContain('작업');
+ });
});
diff --git a/apps/desktop/src/renderer/i18n/locales/ja/common.json b/apps/desktop/src/renderer/i18n/locales/ja/common.json
index 0f94e9bc29..572c9f02dd 100644
--- a/apps/desktop/src/renderer/i18n/locales/ja/common.json
+++ b/apps/desktop/src/renderer/i18n/locales/ja/common.json
@@ -5968,7 +5968,7 @@
"verificationFailed": "ChatGPT ログインが復旧したか確認できませんでした。再確認してください。"
},
"chat": {
- "sessionLoading": "タスクを読み込み中",
+ "sessionLoading": "セッションを読み込み中",
"askUserQuestion": {
"skippedAnswer": "スキップ済み"
},
diff --git a/apps/desktop/src/renderer/i18n/locales/ko/common.json b/apps/desktop/src/renderer/i18n/locales/ko/common.json
index bc20e89c3a..e8d0b719f6 100644
--- a/apps/desktop/src/renderer/i18n/locales/ko/common.json
+++ b/apps/desktop/src/renderer/i18n/locales/ko/common.json
@@ -5968,7 +5968,7 @@
"verificationFailed": "ChatGPT 로그인이 복구되었는지 확인할 수 없습니다. 다시 확인해 주세요."
},
"chat": {
- "sessionLoading": "작업 불러오는 중",
+ "sessionLoading": "세션 불러오는 중",
"askUserQuestion": {
"skippedAnswer": "건너뜀"
},