Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
interface
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LuckySwap
interface
Commits
342b0c81
Unverified
Commit
342b0c81
authored
Jun 21, 2023
by
Zach Pomerantz
Committed by
GitHub
Jun 21, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: rm pseudo locale (#6794)
chore: rm pseudo t9n
parent
cb21750b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
5 deletions
+1
-5
lingui.config.ts
lingui.config.ts
+0
-2
package.json
package.json
+0
-1
locales.ts
src/constants/locales.ts
+1
-2
No files found.
lingui.config.ts
View file @
342b0c81
...
...
@@ -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
],
}
...
...
package.json
View file @
342b0c81
...
...
@@ -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
\"
"
,
...
...
src/constants/locales.ts
View file @
342b0c81
...
...
@@ -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
:
'
ƥƨèúδô
'
,
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment