diff options
author | Chocobozzz <me@florianbigard.com> | 2021-03-09 11:34:46 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-03-09 11:34:46 +0100 |
commit | f45aa01a1b3723ec11ed175301c9f1981773dc2b (patch) | |
tree | 87c319f3bb13893d0798e3663e12050d16da00e4 | |
parent | 01711d63c713f334a2331c054f46389d7b6d0753 (diff) | |
download | PeerTube-f45aa01a1b3723ec11ed175301c9f1981773dc2b.tar.gz PeerTube-f45aa01a1b3723ec11ed175301c9f1981773dc2b.tar.zst PeerTube-f45aa01a1b3723ec11ed175301c9f1981773dc2b.zip |
Support sq
-rw-r--r-- | client/angular.json | 4 | ||||
-rwxr-xr-x | scripts/build/client.sh | 1 | ||||
-rw-r--r-- | shared/core-utils/i18n/i18n.ts | 3 |
3 files changed, 7 insertions, 1 deletions
diff --git a/client/angular.json b/client/angular.json index 9bf02e271..b923ba413 100644 --- a/client/angular.json +++ b/client/angular.json | |||
@@ -69,6 +69,10 @@ | |||
69 | "translation": "src/locale/angular.ru-RU.xlf", | 69 | "translation": "src/locale/angular.ru-RU.xlf", |
70 | "baseHref": "/client/ru-RU/" | 70 | "baseHref": "/client/ru-RU/" |
71 | }, | 71 | }, |
72 | "sq": { | ||
73 | "translation": "src/locale/angular.sq.xlf", | ||
74 | "baseHref": "/client/sq/" | ||
75 | }, | ||
72 | "zh-Hans": { | 76 | "zh-Hans": { |
73 | "translation": "src/locale/angular.zh-Hans-CN.xlf", | 77 | "translation": "src/locale/angular.zh-Hans-CN.xlf", |
74 | "baseHref": "/client/zh-Hans-CN/" | 78 | "baseHref": "/client/zh-Hans-CN/" |
diff --git a/scripts/build/client.sh b/scripts/build/client.sh index fd072b18c..aec138653 100755 --- a/scripts/build/client.sh +++ b/scripts/build/client.sh | |||
@@ -34,6 +34,7 @@ languages=( | |||
34 | ["eo"]="eo" | 34 | ["eo"]="eo" |
35 | ["de"]="de-DE" | 35 | ["de"]="de-DE" |
36 | ["it"]="it-IT" | 36 | ["it"]="it-IT" |
37 | ["sq"]="sq" | ||
37 | ["kab"]="kab" | 38 | ["kab"]="kab" |
38 | ) | 39 | ) |
39 | 40 | ||
diff --git a/shared/core-utils/i18n/i18n.ts b/shared/core-utils/i18n/i18n.ts index cc7621da8..a342cb3f8 100644 --- a/shared/core-utils/i18n/i18n.ts +++ b/shared/core-utils/i18n/i18n.ts | |||
@@ -26,7 +26,8 @@ export const I18N_LOCALES = { | |||
26 | 'pt-BR': 'Português (Brasil)', | 26 | 'pt-BR': 'Português (Brasil)', |
27 | 'pt-PT': 'Português (Portugal)', | 27 | 'pt-PT': 'Português (Portugal)', |
28 | 'ru-RU': 'русский', | 28 | 'ru-RU': 'русский', |
29 | 'sv-SE': 'svenska', | 29 | 'sq': 'Shqip', |
30 | 'sv-SE': 'Svenska', | ||
30 | 'th-TH': 'ไทย', | 31 | 'th-TH': 'ไทย', |
31 | 'vi-VN': 'Tiếng Việt', | 32 | 'vi-VN': 'Tiếng Việt', |
32 | 'zh-Hans-CN': '简体中文(中国)', | 33 | 'zh-Hans-CN': '简体中文(中国)', |