Commit 342b0c81 authored by Zach Pomerantz's avatar Zach Pomerantz Committed by GitHub

chore: rm pseudo locale (#6794)

chore: rm pseudo t9n
parent cb21750b
...@@ -115,13 +115,11 @@ const linguiConfig = { ...@@ -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 @@ ...@@ -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 = [ ...@@ -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 } = { ...@@ -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: 'ƥƨèúδô',
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment