Skip to content

Commit d104e2b

Browse files
committed
i18n(platform-objects): zh-Hant carries the AI Assistant group #30935 added
Main's #30935 gave the Account app a `grp_account_ai_assistant` group, renamed the Connect page and both of its nav entries to "Connect an AI Assistant", and moved the Setup entry behind System Overview. The zh-Hant bundle was cut before it, so the app-nav parity test found the new group unlabelled in zh-Hant. zh-Hant now labels the group 「AI 助理」 (the wording plugin-security's zh-Hant bundle already uses for the MCP assistant), reads the page and both entries as 「連接 AI 助理」, and records the new source digests, so none of the four leaves falls back to English. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016WV4cya5ej5GQV86RPbRPK
1 parent 8bb5eed commit d104e2b

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

‎packages/platform-objects/src/apps/translations/zh-Hant.source-hashes.ts‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ export const zhHantSourceHashes: Readonly<Record<string, string>> = {
5959
'apps.account.navigation.grp_account_inbox.label': '34dc7a0b58ada93b',
6060
'apps.account.navigation.grp_account_security.label': '0c463f40cccfdf86',
6161
'apps.account.navigation.grp_account_developer.label': '59668ec5af5afb55',
62+
'apps.account.navigation.grp_account_ai_assistant.label': 'cff764b13822a259',
6263
'apps.account.navigation.nav_account_profile.label': '2c92f019ece4d044',
6364
'apps.account.navigation.nav_account_notifications.label': 'e0fdb90b1d31078d',
6465
'apps.account.navigation.nav_account_approvals.label': '318a820df22a684b',
@@ -67,7 +68,7 @@ export const zhHantSourceHashes: Readonly<Record<string, string>> = {
6768
'apps.account.navigation.nav_account_sessions.label': '05a759e3a230615e',
6869
'apps.account.navigation.nav_account_api_keys.label': '8cda9851248b0490',
6970
'apps.account.navigation.nav_account_oauth_apps.label': '1b26cce61a4c10eb',
70-
'apps.account.navigation.nav_connect_agent.label': 'eeb174613510e87d',
71+
'apps.account.navigation.nav_connect_agent.label': 'a4542422fb5e8a68',
7172
'apps.setup.label': 'e4bb0d8bcd47c273',
7273
'apps.setup.description': 'deacdfc679232a4a',
7374
'apps.setup.navigation.group_overview.label': 'eebdbe1cc7b59cdf',
@@ -99,7 +100,7 @@ export const zhHantSourceHashes: Readonly<Record<string, string>> = {
99100
'apps.setup.navigation.nav_assignment_rules.label': '1779fe384b23954f',
100101
'apps.setup.navigation.nav_sso_providers.label': '7b06b6a6abf53ba4',
101102
'apps.setup.navigation.nav_api_keys.label': '8cda9851248b0490',
102-
'apps.setup.navigation.nav_connect_agent.label': 'eeb174613510e87d',
103+
'apps.setup.navigation.nav_connect_agent.label': 'a4542422fb5e8a68',
103104
'apps.setup.navigation.nav_approvals_inbox.label': '0a9269b20d0266c9',
104105
'apps.setup.navigation.nav_approval_requests.label': 'aafd0f7c6a376f55',
105106
'apps.setup.navigation.nav_approval_actions.label': 'd2ebad7acfd50978',
@@ -188,7 +189,7 @@ export const zhHantSourceHashes: Readonly<Record<string, string>> = {
188189
'datasets.sys_audit_log_metrics.measures.event_count.label': '41e7c95aaa871569',
189190
'pages.cloud_connection_settings.label': '3a7caad0cb98e71d',
190191
'pages.cloud_connection_settings.subtitle': 'f5cdd253e8ffef9f',
191-
'pages.connect_agent.label': 'eeb174613510e87d',
192+
'pages.connect_agent.label': 'a4542422fb5e8a68',
192193
'pages.connect_agent.subtitle': 'b0d7c6d174511bcb',
193194
'pages.sys_user_detail.label': '6c0d22a931e235bd',
194195
'pages.sys_organization_detail.label': '3e55836156e1c1de',

‎packages/platform-objects/src/apps/translations/zh-Hant.ts‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export const zhHant: TranslationData = {
1616
grp_account_inbox: { label: '收件匣' },
1717
grp_account_security: { label: '安全' },
1818
grp_account_developer: { label: '開發者' },
19+
grp_account_ai_assistant: { label: 'AI 助理' },
1920
nav_account_profile: { label: '個人資料' },
2021
nav_account_notifications: { label: '通知' },
2122
nav_account_approvals: { label: '待我核准' },
@@ -25,9 +26,9 @@ export const zhHant: TranslationData = {
2526
nav_account_api_keys: { label: 'API 金鑰' },
2627
nav_account_oauth_apps: { label: 'OAuth 應用程式' },
2728
// Contributed at runtime by `@objectstack/mcp` into
28-
// `grp_account_developer`; the Setup twin's key does not answer for the
29+
// `grp_account_ai_assistant`; the Setup twin's key does not answer for the
2930
// Account app (one `apps.<app>.navigation` namespace per app).
30-
nav_connect_agent: { label: '連接 AI 代理' },
31+
nav_connect_agent: { label: '連接 AI 助理' },
3132
},
3233
},
3334
setup: {
@@ -49,6 +50,7 @@ export const zhHant: TranslationData = {
4950
group_advanced: { label: '進階' },
5051

5152
nav_system_overview: { label: '系統概覽' },
53+
nav_connect_agent: { label: '連接 AI 助理' },
5254

5355
nav_users: { label: '使用者' },
5456
nav_organization: { label: '目前組織' },
@@ -70,7 +72,6 @@ export const zhHant: TranslationData = {
7072
// `sys_sso_provider.pluralLabel`.
7173
nav_sso_providers: { label: 'SSO 提供方' },
7274
nav_api_keys: { label: 'API 金鑰' },
73-
nav_connect_agent: { label: '連接 AI 代理' },
7475

7576
// 核准中心 = the Approvals Inbox component (#7234) — the surface with
7677
// decision actions. The three below are the engine's raw tables; the
@@ -197,7 +198,7 @@ export const zhHant: TranslationData = {
197198
subtitle: '將此執行階段連接到 ObjectStack 控制平面,即可瀏覽並安裝組織的私有套件。',
198199
},
199200
connect_agent: {
200-
label: '連接 AI 代理',
201+
label: '連接 AI 助理',
201202
subtitle: '讓任何支援 MCP 的 AI 用戶端以受控方式存取本系統——每次呼叫都在呼叫者自身的權限與列級安全範圍內執行。',
202203
},
203204

0 commit comments

Comments
 (0)