Skip to content

Commit

Permalink
feat(locales): add Slovak locale (#692)
Browse files Browse the repository at this point in the history
* Add Slovak locale

* Add new locale into storybook data.ts

Co-authored-by: juraj.langa <[email protected]>
  • Loading branch information
JurajFE and juraj.langa authored Jan 14, 2022
1 parent fe11e94 commit a58a8a6
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
30 changes: 30 additions & 0 deletions src/locales/sk-Sk.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"todayButton": "Dnes",
"nextMonth": "Budúci mesiac",
"previousMonth": "Minulý mesiac",
"nextYear": "Budúci rok",
"previousYear": "Minulý rok",
"weekdays": [
"Nedeľa",
"Pondelok",
"Utorok",
"Streda",
"Štvrtok",
"Piatok",
"Sobota"
],
"months": [
"Január",
"Február",
"Marec",
"Apríl",
"Máj",
"Jún",
"Júl",
"August",
"September",
"Október",
"November",
"December"
]
}
1 change: 1 addition & 0 deletions src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export type LocaleOptions =
| 'pt-BR'
| 'ro-RO'
| 'ru-RU'
| 'sk-SK'
| 'sv-SE'
| 'tr-TR'
| 'zh-CN';
Expand Down
1 change: 1 addition & 0 deletions stories/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const locale = <const>[
'pt-BR',
'ro-RO',
'ru-RU',
'sk-SK',
'sv-SE',
'tr-TR',
'zh-CN',
Expand Down

1 comment on commit a58a8a6

@vercel
Copy link

@vercel vercel bot commented on a58a8a6 Jan 14, 2022

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.