Skip to content

Commit

Permalink
perf: Optimizing copywriting is sometimes a problem in Traditional Ch…
Browse files Browse the repository at this point in the history
…inese
  • Loading branch information
Halo1236 committed Aug 25, 2024
1 parent f8d9550 commit ad69865
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/src/i18n/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ export const getLanguage = () => {
}
if (language.indexOf('en') >= 0) {
language = 'en'
} else if (language.indexOf('zh-cn') >= 0) {
language = 'zh-CN'
} else {
} else if (language.indexOf('zh-hant') >= 0) {
language = 'zh-Hant'
} else {
language = 'zh-CN'
}
return language
}
Expand Down

0 comments on commit ad69865

Please sign in to comment.