From 578dc27d5edda44ba681a4e4ac06c9beb63b7717 Mon Sep 17 00:00:00 2001 From: kmoutzou <91475713+kmoutzou@users.noreply.github.com> Date: Mon, 11 Oct 2021 19:47:02 +0300 Subject: [PATCH] feat(locales): add Greek [el-GR] and Romanian [ro-RO] (#650) --- src/locales/el-GR.json | 30 ++++++++++++++++++++++++++++++ src/locales/ro-RO.json | 30 ++++++++++++++++++++++++++++++ src/types/index.ts | 2 ++ stories/data.ts | 2 ++ 4 files changed, 64 insertions(+) create mode 100644 src/locales/el-GR.json create mode 100644 src/locales/ro-RO.json diff --git a/src/locales/el-GR.json b/src/locales/el-GR.json new file mode 100644 index 00000000..d2d110b3 --- /dev/null +++ b/src/locales/el-GR.json @@ -0,0 +1,30 @@ +{ + "todayButton": "Σήμερα", + "nextMonth": "Επόμενος μήνας", + "previousMonth": "Προηγούμενος μήνας", + "nextYear": "Επόμενος χρόνος", + "previousYear": "Προηγούμενος χρόνος", + "weekdays": [ + "Κυριακή", + "Δευτέρα", + "Τρίτη", + "Τετάρτη", + "Πέμπτη", + "Παρασκευή", + "Σάββατο" + ], + "months": [ + "Ιανουάριος", + "Φεβρουάριος", + "Μάρτιος", + "Απρίλιος", + "Μάιος", + "Ιούνιος", + "Ιούλιος", + "Αύγουστος", + "Σεπτέμβριος", + "Οκτώβριος", + "Νοέμβριος", + "Δεκέμβριος" + ] +} diff --git a/src/locales/ro-RO.json b/src/locales/ro-RO.json new file mode 100644 index 00000000..251d3e90 --- /dev/null +++ b/src/locales/ro-RO.json @@ -0,0 +1,30 @@ +{ + "todayButton": "Astăzi", + "nextMonth": "Luna următoare", + "previousMonth": "Luna anterioară", + "nextYear": "Anul următor", + "previousYear": "Anul anterior", + "zilele săptămânii": [ + "Duminică", + "Luni", + "Marți", + "Miercuri", + "Joi", + "Vineri", + "Sâmbătă" + ], + "luni": [ + "Ianuarie", + "Februarie", + "Martie", + "Aprilie", + "Mai", + "Iunie", + "Iulie", + "August", + "Septembrie", + "Octombrie", + "Noiembrie", + "Decembrie" + ] +} diff --git a/src/types/index.ts b/src/types/index.ts index 8013b90b..641648b3 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -19,6 +19,7 @@ export type LocaleOptions = | 'ca-ES' | 'cs-CZ' | 'de-DE' + | 'el-GR' | 'en-US' | 'es-ES' | 'et-EE' @@ -32,6 +33,7 @@ export type LocaleOptions = | 'nn-NO' | 'pl-PL' | 'pt-BR' + | 'ro-RO' | 'ru-RU' | 'sv-SE' | 'tr-TR' diff --git a/stories/data.ts b/stories/data.ts index be7ae5d7..13a0ed92 100644 --- a/stories/data.ts +++ b/stories/data.ts @@ -8,6 +8,7 @@ const locale = [ 'ca-ES', 'cs-CZ', 'de-DE', + 'el-GR', 'en-US', 'es-ES', 'et-EE', @@ -21,6 +22,7 @@ const locale = [ 'nn-NO', 'pl-PL', 'pt-BR', + 'ro-RO', 'ru-RU', 'sv-SE', 'tr-TR',