Merge pull request #1852 from h3poteto/iss-1845

closes #1845 Add Central Atlas Tamazight in i18n
This commit is contained in:
AkiraFukushima 2020-10-20 23:09:50 +09:00 committed by GitHub
commit 5d4e1578e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 0 deletions

View File

@ -15,4 +15,5 @@ files:
pt-PT: pt_pt pt-PT: pt_pt
ru: ru ru: ru
sv-SE: sv_se sv-SE: sv_se
tzm: tzm
zh-CN: zh_cn zh-CN: zh_cn

View File

@ -12,6 +12,7 @@ import pl from '~/src/config/locales/pl/translation.json'
import pt_pt from '~/src/config/locales/pt_pt/translation.json' import pt_pt from '~/src/config/locales/pt_pt/translation.json'
import ru from '~/src/config/locales/ru/translation.json' import ru from '~/src/config/locales/ru/translation.json'
import sv_se from '~/src/config/locales/sv_se/translation.json' import sv_se from '~/src/config/locales/sv_se/translation.json'
import tzm from '~/src/config/locales/tzm/translation.json'
import zh_cn from '~/src/config/locales/zh_cn/translation.json' import zh_cn from '~/src/config/locales/zh_cn/translation.json'
const options: InitOptions = { const options: InitOptions = {
@ -59,6 +60,9 @@ const options: InitOptions = {
sv_se: { sv_se: {
translation: sv_se translation: sv_se
}, },
tzm: {
translation: tzm
},
zh_cn: { zh_cn: {
translation: zh_cn translation: zh_cn
} }

View File

@ -54,5 +54,9 @@ export default {
sv_se: { sv_se: {
name: 'svenska', name: 'svenska',
key: 'sv_se' key: 'sv_se'
},
tzm: {
name: 'Tamaziɣt',
key: 'tzm'
} }
} }

View File

@ -33,6 +33,7 @@ export default {
Language.pt_pt, Language.pt_pt,
Language.ru, Language.ru,
Language.sv_se, Language.sv_se,
Language.tzm,
Language.zh_cn Language.zh_cn
] ]
} }