Skip to content

Commit a58a8a6

Browse files
JurajFEjuraj.langa
and
juraj.langa
authored
feat(locales): add Slovak locale (#692)
* Add Slovak locale * Add new locale into storybook data.ts Co-authored-by: juraj.langa <[email protected]>
1 parent fe11e94 commit a58a8a6

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

src/locales/sk-Sk.json

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"todayButton": "Dnes",
3+
"nextMonth": "Budúci mesiac",
4+
"previousMonth": "Minulý mesiac",
5+
"nextYear": "Budúci rok",
6+
"previousYear": "Minulý rok",
7+
"weekdays": [
8+
"Nedeľa",
9+
"Pondelok",
10+
"Utorok",
11+
"Streda",
12+
"Štvrtok",
13+
"Piatok",
14+
"Sobota"
15+
],
16+
"months": [
17+
"Január",
18+
"Február",
19+
"Marec",
20+
"Apríl",
21+
"Máj",
22+
"Jún",
23+
"Júl",
24+
"August",
25+
"September",
26+
"Október",
27+
"November",
28+
"December"
29+
]
30+
}

src/types/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export type LocaleOptions =
3535
| 'pt-BR'
3636
| 'ro-RO'
3737
| 'ru-RU'
38+
| 'sk-SK'
3839
| 'sv-SE'
3940
| 'tr-TR'
4041
| 'zh-CN';

stories/data.ts

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ const locale = <const>[
2424
'pt-BR',
2525
'ro-RO',
2626
'ru-RU',
27+
'sk-SK',
2728
'sv-SE',
2829
'tr-TR',
2930
'zh-CN',

0 commit comments

Comments
 (0)