Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-fe
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
poc
poc-fe
Commits
4e0bd1ca
Commit
4e0bd1ca
authored
Oct 23, 2024
by
tyyin lan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore(多语言): 切换默认语言
parent
074e3462
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
settings.json
.vscode/settings.json
+2
-2
index.ts
src/locales/index.ts
+2
-2
No files found.
.vscode/settings.json
View file @
4e0bd1ca
...
@@ -15,5 +15,5 @@
...
@@ -15,5 +15,5 @@
"src/locales"
,
"src/locales"
,
"src/locales/langs"
"src/locales/langs"
],
],
"i18n-ally.sourceLanguage"
:
"zh-
hk
"
,
"i18n-ally.sourceLanguage"
:
"zh-
cn
"
,
}
}
src/locales/index.ts
View file @
4e0bd1ca
...
@@ -4,8 +4,8 @@ import messages from './messages'
...
@@ -4,8 +4,8 @@ import messages from './messages'
const
i18n
=
createI18n
({
const
i18n
=
createI18n
({
legacy
:
false
,
legacy
:
false
,
locale
:
'zh-
HK
'
,
locale
:
'zh-
CN
'
,
fallbackLocale
:
'zh-
CN
'
,
fallbackLocale
:
'zh-
HK
'
,
messages
,
messages
,
})
})
...
...
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