diff --git a/lingui.config.ts b/lingui.config.ts index e4145cc989..e367228b2b 100644 --- a/lingui.config.ts +++ b/lingui.config.ts @@ -115,13 +115,11 @@ const linguiConfig = { 'vi-VN', 'zh-CN', 'zh-TW', - 'pseudo', ], orderBy: 'messageId', rootDir: '.', runtimeConfigModule: ['@lingui/core', 'i18n'], sourceLocale: 'en-US', - pseudoLocale: 'pseudo', extractors: [cachingExtractor], } diff --git a/package.json b/package.json index 4a7dadda4e..76b539519d 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,6 @@ "graphql:generate": "yarn graphql:generate:data && yarn graphql:generate:thegraph", "graphql": "yarn graphql:fetch && yarn graphql:generate", "i18n:extract": "lingui extract --locale en-US", - "i18n:pseudo": "lingui extract --locale pseudo", "i18n:compile": "lingui compile", "i18n": "yarn i18n:extract --clean && yarn i18n:compile", "prepare": "concurrently \"npm:ajv\" \"npm:contracts\" \"npm:graphql\" \"npm:i18n\"", diff --git a/src/constants/locales.ts b/src/constants/locales.ts index 26e9329856..1cd32ad984 100644 --- a/src/constants/locales.ts +++ b/src/constants/locales.ts @@ -33,7 +33,7 @@ export const SUPPORTED_LOCALES = [ 'zh-CN', 'zh-TW', ] -export type SupportedLocale = typeof SUPPORTED_LOCALES[number] | 'pseudo' +export type SupportedLocale = typeof SUPPORTED_LOCALES[number] 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', 'zh-CN': '简体中文', 'zh-TW': '繁体中文', - pseudo: 'ƥƨèúδô', }