Main
This commit is contained in:
parent
018f83b997
commit
21093e573c
|
@ -1,4 +1,3 @@
|
|||
|
||||
const languages = [
|
||||
'ar',
|
||||
'ca',
|
||||
|
@ -18,6 +17,7 @@ const languages = [
|
|||
'ja',
|
||||
'ja_easy',
|
||||
'ko',
|
||||
'nan',
|
||||
'nb',
|
||||
'nl',
|
||||
'oc',
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -3,6 +3,7 @@ import ISO6391 from 'iso-639-1'
|
|||
import _ from 'lodash'
|
||||
|
||||
const specialLanguageCodes = {
|
||||
nan: 'nan',
|
||||
ja_easy: 'ja',
|
||||
zh_Hant: 'zh-HANT',
|
||||
zh: 'zh-Hans'
|
||||
|
@ -19,6 +20,7 @@ const internalToBackendLocaleMulti = codes => {
|
|||
const getLanguageName = (code) => {
|
||||
const specialLanguageNames = {
|
||||
ja_easy: 'やさしいにほんご',
|
||||
nan: '臺語(閩南語)',
|
||||
zh: '简体中文',
|
||||
zh_Hant: '繁體中文'
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue