feat: 完善图像工作区与创作工具体验
Some checks failed
Electron E2E / Electron E2E (macos-latest) (push) Has been cancelled
Electron E2E / Electron E2E (ubuntu-latest) (push) Has been cancelled
Electron E2E / Electron E2E (windows-latest) (push) Has been cancelled

This commit is contained in:
inman
2026-08-16 14:08:02 +08:00
parent bfcb88cfef
commit 26b52d76e3
92 changed files with 16678 additions and 2975 deletions

View File

@@ -1,4 +1,4 @@
export const SUPPORTED_LANGUAGE_CODES = ['en', 'zh', 'ja', 'ru'] as const;
export const SUPPORTED_LANGUAGE_CODES = ['zh'] as const;
export type LanguageCode = (typeof SUPPORTED_LANGUAGE_CODES)[number];
@@ -10,7 +10,7 @@ function normalizeLocale(locale: string | null | undefined): string {
export function resolveSupportedLanguage(
locale: string | null | undefined,
fallback: LanguageCode = 'en',
fallback: LanguageCode = 'zh',
): LanguageCode {
const normalizedLocale = normalizeLocale(locale);
if (!normalizedLocale) {