Skip to content

Commit 410d25d

Browse files
committed
test(app-shell): the designer-locale completeness pin lists zh-Hant
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibxSGAjHBvjATmenUGp
1 parent 1c008fe commit 410d25d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎ui/packages/app-shell/src/views/studio-design/BuilderLanding.environmentOverlayCopy-12171.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ const ENVIRONMENT_OVERLAY = /\benvironment overlay\b|环境覆盖/iu;
8888
* `SupportedLocale`, so a locale added to that union fails the type-check here
8989
* until it is listed.
9090
*/
91-
const DECLARED_LOCALES = { 'en-US': true, 'zh-CN': true } satisfies Record<SupportedLocale, true>;
91+
const DECLARED_LOCALES = { 'en-US': true, 'zh-CN': true, 'zh-Hant': true } satisfies Record<SupportedLocale, true>;
9292

9393
function tablesCarryingKeys(): Array<[string, Map<string, string>]> {
9494
return [...readTables(REPO_ROOT)].filter(([, table]) => KEYS.some((key) => table.has(key)));

0 commit comments

Comments
 (0)