Skip to content

Commit

Permalink
feat(locales): add Greek [el-GR] and Romanian [ro-RO] (#650)
Browse files Browse the repository at this point in the history
  • Loading branch information
kmoutzou authored Oct 11, 2021
1 parent c026caa commit 578dc27
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 0 deletions.
30 changes: 30 additions & 0 deletions src/locales/el-GR.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"todayButton": "Σήμερα",
"nextMonth": "Επόμενος μήνας",
"previousMonth": "Προηγούμενος μήνας",
"nextYear": "Επόμενος χρόνος",
"previousYear": "Προηγούμενος χρόνος",
"weekdays": [
"Κυριακή",
"Δευτέρα",
"Τρίτη",
"Τετάρτη",
"Πέμπτη",
"Παρασκευή",
"Σάββατο"
],
"months": [
"Ιανουάριος",
"Φεβρουάριος",
"Μάρτιος",
"Απρίλιος",
"Μάιος",
"Ιούνιος",
"Ιούλιος",
"Αύγουστος",
"Σεπτέμβριος",
"Οκτώβριος",
"Νοέμβριος",
"Δεκέμβριος"
]
}
30 changes: 30 additions & 0 deletions src/locales/ro-RO.json
Original file line number Diff line number Diff line change
@@ -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"
]
}
2 changes: 2 additions & 0 deletions src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export type LocaleOptions =
| 'ca-ES'
| 'cs-CZ'
| 'de-DE'
| 'el-GR'
| 'en-US'
| 'es-ES'
| 'et-EE'
Expand All @@ -32,6 +33,7 @@ export type LocaleOptions =
| 'nn-NO'
| 'pl-PL'
| 'pt-BR'
| 'ro-RO'
| 'ru-RU'
| 'sv-SE'
| 'tr-TR'
Expand Down
2 changes: 2 additions & 0 deletions stories/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const locale = <const>[
'ca-ES',
'cs-CZ',
'de-DE',
'el-GR',
'en-US',
'es-ES',
'et-EE',
Expand All @@ -21,6 +22,7 @@ const locale = <const>[
'nn-NO',
'pl-PL',
'pt-BR',
'ro-RO',
'ru-RU',
'sv-SE',
'tr-TR',
Expand Down

1 comment on commit 578dc27

@vercel
Copy link

@vercel vercel bot commented on 578dc27 Oct 11, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.