mirror of
https://github.com/penpot/penpot.git
synced 2025-01-22 14:39:45 -05:00
🌐 Add Norwegian, Persian and Chinese (Traditional)
This commit is contained in:
parent
ea6c34f6b2
commit
d5df465992
2 changed files with 5 additions and 2 deletions
|
@ -44,7 +44,7 @@ marked.use({renderer});
|
|||
// Templates
|
||||
|
||||
function readLocales() {
|
||||
const langs = ["ar", "ca", "de", "el", "en", "es", "fr", "he", "pl", "pt_BR", "ro", "ru", "tr", "zh_CN"];
|
||||
const langs = ["ar", "ca", "de", "el", "en", "es", "fa", "fr", "he", "nb_NO", "pl", "pt_BR", "ro", "ru", "tr", "zh_CN", "zh_Hant"];
|
||||
const result = {};
|
||||
|
||||
for (let lang of langs) {
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
{:label "Català" :value "ca"}
|
||||
{:label "Français (community)" :value "fr"}
|
||||
{:label "Deutsch (community)" :value "de"}
|
||||
{:label "Norsk - Bokmål (community)" :value "nb_no"}
|
||||
{:label "Portuguese - Brazil (community)" :value "pt_br"}
|
||||
{:label "Polski (community)" :value "pl"}
|
||||
{:label "Русский (community)" :value "ru"}
|
||||
|
@ -30,7 +31,9 @@
|
|||
{:label "Ελληνική γλώσσα (community)" :value "el"}
|
||||
{:label "עִבְרִית (community)" :value "he"}
|
||||
{:label "عربي/عربى (community)" :value "ar"}
|
||||
{:label "简体中文 (community)" :value "zh_cn"}])
|
||||
{:label "فارسی (community)" :value "fa"}
|
||||
{:label "简体中文 (community)" :value "zh_cn"}
|
||||
{:label "中国传统的 (community)" :value "zh_hant"}])
|
||||
|
||||
(defn- parse-locale
|
||||
[locale]
|
||||
|
|
Loading…
Add table
Reference in a new issue