From 5374794c162f2bdc10a34ecc5e929dad596a4079 Mon Sep 17 00:00:00 2001
From: AkiraFukushima
Date: Tue, 20 Oct 2020 23:06:02 +0900
Subject: [PATCH] refs #1845 Add Central Atlas Tamazight in i18n
---
crowdin.yml | 1 +
src/config/i18n.ts | 4 ++++
src/constants/language/index.js | 4 ++++
src/renderer/components/Preferences/Language.vue | 1 +
4 files changed, 10 insertions(+)
diff --git a/crowdin.yml b/crowdin.yml
index e099acf9..c741d568 100644
--- a/crowdin.yml
+++ b/crowdin.yml
@@ -15,4 +15,5 @@ files:
pt-PT: pt_pt
ru: ru
sv-SE: sv_se
+ tzm: tzm
zh-CN: zh_cn
diff --git a/src/config/i18n.ts b/src/config/i18n.ts
index 0ca4f854..683ea76f 100644
--- a/src/config/i18n.ts
+++ b/src/config/i18n.ts
@@ -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 ru from '~/src/config/locales/ru/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'
const options: InitOptions = {
@@ -59,6 +60,9 @@ const options: InitOptions = {
sv_se: {
translation: sv_se
},
+ tzm: {
+ translation: tzm
+ },
zh_cn: {
translation: zh_cn
}
diff --git a/src/constants/language/index.js b/src/constants/language/index.js
index b06b6609..70faf19b 100644
--- a/src/constants/language/index.js
+++ b/src/constants/language/index.js
@@ -54,5 +54,9 @@ export default {
sv_se: {
name: 'svenska',
key: 'sv_se'
+ },
+ tzm: {
+ name: 'Tamaziɣt',
+ key: 'tzm'
}
}
diff --git a/src/renderer/components/Preferences/Language.vue b/src/renderer/components/Preferences/Language.vue
index 96dfe9eb..63806b15 100644
--- a/src/renderer/components/Preferences/Language.vue
+++ b/src/renderer/components/Preferences/Language.vue
@@ -33,6 +33,7 @@ export default {
Language.pt_pt,
Language.ru,
Language.sv_se,
+ Language.tzm,
Language.zh_cn
]
}