0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-09 14:21:42 -05:00

🐛 Set correct locale code for Greek.

This commit is contained in:
Andrey Antukh 2021-04-15 17:33:10 +02:00 committed by Andrés Moya
parent 88eb6abdd6
commit a777e8e42a
4 changed files with 25 additions and 23 deletions

View file

@ -32,7 +32,7 @@ paths.dist = "./target/dist/";
// Templates
function readLocales() {
const langs = ["ca", "gr", "en", "es", "fr", "tr", "ru", "zh_cn"];
const langs = ["ca", "el", "en", "es", "fr", "tr", "ru", "zh_cn"];
const result = {};
for (let lang of langs) {

View file

@ -24,7 +24,7 @@
{:label "Deutsch (community)" :value "de"}
{:label "Русский (community)" :value "ru"}
{:label "Türkçe (community)" :value "tr"}
{:label "Ελληνική γλώσσα (community)" :value "gr"}
{:label "Ελληνική γλώσσα (community)" :value "el"}
{:label "简体中文 (community)" :value "zh_cn"}])
(defn- parse-locale

View file

@ -9,6 +9,7 @@
[cuerdas.core :as str]
["luxon" :as lxn]
["date-fns/formatDistanceToNowStrict" :default dateFnsFormatDistanceToNowStrict]
["date-fns/locale/el" :default dateFnsLocalesEl]
["date-fns/locale/fr" :default dateFnsLocalesFr]
["date-fns/locale/ca" :default dateFnsLocalesCa]
["date-fns/locale/en-US" :default dateFnsLocalesEnUs]
@ -202,6 +203,7 @@
:tr dateFnsLocalesTr
:es dateFnsLocalesEs
:ca dateFnsLocalesCa
:el dateFnsLocalesEl
:ru dateFnsLocalesRu
:zh_cn dateFnsLocalesZhCn})

View file

@ -715,7 +715,7 @@ msgstr "Εικόνα"
#: src/app/main/ui/handoff/right_sidebar.cljs
msgid "handoff.tabs.code.selected.multiple"
msgstr "% S Επιλεγμένα"
msgstr "%s Επιλεγμένα"
msgid "handoff.tabs.code.selected.path"
msgstr "Σχέδιο"