chore: rm pseudo locale (#6794)

chore: rm pseudo t9n
This commit is contained in:
Zach Pomerantz 2023-06-21 09:45:03 -05:00 committed by GitHub
parent cb21750b87
commit 342b0c81f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 5 deletions

@ -115,13 +115,11 @@ const linguiConfig = {
'vi-VN', 'vi-VN',
'zh-CN', 'zh-CN',
'zh-TW', 'zh-TW',
'pseudo',
], ],
orderBy: 'messageId', orderBy: 'messageId',
rootDir: '.', rootDir: '.',
runtimeConfigModule: ['@lingui/core', 'i18n'], runtimeConfigModule: ['@lingui/core', 'i18n'],
sourceLocale: 'en-US', sourceLocale: 'en-US',
pseudoLocale: 'pseudo',
extractors: [cachingExtractor], extractors: [cachingExtractor],
} }

@ -15,7 +15,6 @@
"graphql:generate": "yarn graphql:generate:data && yarn graphql:generate:thegraph", "graphql:generate": "yarn graphql:generate:data && yarn graphql:generate:thegraph",
"graphql": "yarn graphql:fetch && yarn graphql:generate", "graphql": "yarn graphql:fetch && yarn graphql:generate",
"i18n:extract": "lingui extract --locale en-US", "i18n:extract": "lingui extract --locale en-US",
"i18n:pseudo": "lingui extract --locale pseudo",
"i18n:compile": "lingui compile", "i18n:compile": "lingui compile",
"i18n": "yarn i18n:extract --clean && yarn i18n:compile", "i18n": "yarn i18n:extract --clean && yarn i18n:compile",
"prepare": "concurrently \"npm:ajv\" \"npm:contracts\" \"npm:graphql\" \"npm:i18n\"", "prepare": "concurrently \"npm:ajv\" \"npm:contracts\" \"npm:graphql\" \"npm:i18n\"",

@ -33,7 +33,7 @@ export const SUPPORTED_LOCALES = [
'zh-CN', 'zh-CN',
'zh-TW', 'zh-TW',
] ]
export type SupportedLocale = typeof SUPPORTED_LOCALES[number] | 'pseudo' export type SupportedLocale = typeof SUPPORTED_LOCALES[number]
export const DEFAULT_LOCALE: SupportedLocale = 'en-US' export const DEFAULT_LOCALE: SupportedLocale = 'en-US'
@ -70,5 +70,4 @@ export const LOCALE_LABEL: { [locale in SupportedLocale]: string } = {
'vi-VN': 'Tiếng Việt', 'vi-VN': 'Tiếng Việt',
'zh-CN': '简体中文', 'zh-CN': '简体中文',
'zh-TW': '繁体中文', 'zh-TW': '繁体中文',
pseudo: 'ƥƨèúδô',
} }