Skip to content

Commit eac2364

Browse files
committed
fix(i18n): avoid hardcoded CJK in workspace fallback
1 parent b7a9588 commit eac2364

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/mobile-web/src/services/workspaceIdentity.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ export function workspaceDisplayName(
226226
const value = name?.trim() ?? '';
227227
const normalized = value.toLowerCase();
228228
if (value && normalized !== 'unknown' && normalized !== 'unknown project'
229-
&& value !== '未知' && value !== '未知项目') {
229+
&& value !== '\u672A\u77E5' && value !== '\u672A\u77E5\u9879\u76EE') {
230230
return value;
231231
}
232232
const root = (path ?? '').trim().replace(/\/+$/, '');

0 commit comments

Comments
 (0)