Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bigwood
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
罗超
bigwood
Commits
6020ac27
Commit
6020ac27
authored
Oct 11, 2024
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增印尼语
parent
1a8ec039
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1775 additions
and
288 deletions
+1775
-288
package.json
package.json
+1
-1
index.ts
src/i18n/in-ID/index.ts
+1500
-0
index.ts
src/i18n/index.ts
+3
-1
tools.ts
src/utils/tools.ts
+6
-1
yarn.lock
yarn.lock
+265
-285
No files found.
package.json
View file @
6020ac27
...
...
@@ -64,7 +64,7 @@
"last 5 Opera versions"
],
"engines"
:
{
"node"
:
"^18 || ^16 || ^14.19"
,
"node"
:
"^18 || ^16 || ^14.19
|| ^22
"
,
"npm"
:
">= 6.13.4"
,
"yarn"
:
">= 1.21.1"
}
...
...
src/i18n/in-ID/index.ts
0 → 100644
View file @
6020ac27
This diff is collapsed.
Click to expand it.
src/i18n/index.ts
View file @
6020ac27
...
...
@@ -3,11 +3,13 @@ import zhTW from './zh-TW'
import
zhSW
from
'./zh-SW'
import
koHG
from
'./ko-HG'
import
jaRB
from
'./ja-RB'
import
inID
from
'./in-ID'
export
default
{
enUS
,
zhTW
,
zhSW
,
koHG
,
jaRB
jaRB
,
inID
}
src/utils/tools.ts
View file @
6020ac27
...
...
@@ -469,13 +469,18 @@ export function getLangs() {
langName
:
"日本語"
,
quasarLang
:
'zh-TW'
}
const
inID
:
SitLang
=
{
langLocale
:
"inID"
,
langName
:
"Indonesia"
,
quasarLang
:
'in-ID'
}
let
langs
:
SitLang
[]
=
[]
// 根据域名渲染简体
if
(
!
getDomainName
()){
langs
.
push
(
zhSw
)
}
else
{
langs
.
push
(
zhTw
,
koHG
,
enUs
,
jaRB
)
langs
.
push
(
zhTw
,
koHG
,
enUs
,
jaRB
,
inID
)
}
return
langs
...
...
yarn.lock
View file @
6020ac27
This diff is collapsed.
Click to expand it.
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