更新workflow

This commit is contained in:
Kevin
2026-03-22 19:22:34 +08:00
parent 80c8844436
commit aac8faf125
6 changed files with 48 additions and 18 deletions

View File

@@ -2,6 +2,8 @@ import type { ConfigContext, ExpoConfig } from 'expo/config';
import zh from './locales/zh.json';
import en from './locales/en.json';
import permissionsZh from './locales/permissions/zh.json';
import permissionsEn from './locales/permissions/en.json';
type PermissionKey =
| 'microphone'
@@ -20,8 +22,8 @@ type PrivacyAccessedAPIType = {
};
const LOCALES: Record<string, LocaleMessages> = {
zh,
en,
zh: { ...zh, permissions: permissionsZh },
en: { ...en, permissions: permissionsEn },
};
const SUPPORTED_LOCALES = ['zh', 'en'] as const;