Skip to content

Commit 578dc27

Browse files
authored
feat(locales): add Greek [el-GR] and Romanian [ro-RO] (#650)
1 parent c026caa commit 578dc27

File tree

4 files changed

+64
-0
lines changed

4 files changed

+64
-0
lines changed

src/locales/el-GR.json

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"todayButton": "Σήμερα",
3+
"nextMonth": "Επόμενος μήνας",
4+
"previousMonth": "Προηγούμενος μήνας",
5+
"nextYear": "Επόμενος χρόνος",
6+
"previousYear": "Προηγούμενος χρόνος",
7+
"weekdays": [
8+
"Κυριακή",
9+
"Δευτέρα",
10+
"Τρίτη",
11+
"Τετάρτη",
12+
"Πέμπτη",
13+
"Παρασκευή",
14+
"Σάββατο"
15+
],
16+
"months": [
17+
"Ιανουάριος",
18+
"Φεβρουάριος",
19+
"Μάρτιος",
20+
"Απρίλιος",
21+
"Μάιος",
22+
"Ιούνιος",
23+
"Ιούλιος",
24+
"Αύγουστος",
25+
"Σεπτέμβριος",
26+
"Οκτώβριος",
27+
"Νοέμβριος",
28+
"Δεκέμβριος"
29+
]
30+
}

src/locales/ro-RO.json

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"todayButton": "Astăzi",
3+
"nextMonth": "Luna următoare",
4+
"previousMonth": "Luna anterioară",
5+
"nextYear": "Anul următor",
6+
"previousYear": "Anul anterior",
7+
"zilele săptămânii": [
8+
"Duminică",
9+
"Luni",
10+
"Marți",
11+
"Miercuri",
12+
"Joi",
13+
"Vineri",
14+
"Sâmbătă"
15+
],
16+
"luni": [
17+
"Ianuarie",
18+
"Februarie",
19+
"Martie",
20+
"Aprilie",
21+
"Mai",
22+
"Iunie",
23+
"Iulie",
24+
"August",
25+
"Septembrie",
26+
"Octombrie",
27+
"Noiembrie",
28+
"Decembrie"
29+
]
30+
}

src/types/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export type LocaleOptions =
1919
| 'ca-ES'
2020
| 'cs-CZ'
2121
| 'de-DE'
22+
| 'el-GR'
2223
| 'en-US'
2324
| 'es-ES'
2425
| 'et-EE'
@@ -32,6 +33,7 @@ export type LocaleOptions =
3233
| 'nn-NO'
3334
| 'pl-PL'
3435
| 'pt-BR'
36+
| 'ro-RO'
3537
| 'ru-RU'
3638
| 'sv-SE'
3739
| 'tr-TR'

stories/data.ts

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const locale = <const>[
88
'ca-ES',
99
'cs-CZ',
1010
'de-DE',
11+
'el-GR',
1112
'en-US',
1213
'es-ES',
1314
'et-EE',
@@ -21,6 +22,7 @@ const locale = <const>[
2122
'nn-NO',
2223
'pl-PL',
2324
'pt-BR',
25+
'ro-RO',
2426
'ru-RU',
2527
'sv-SE',
2628
'tr-TR',

0 commit comments

Comments
 (0)