Skip to content

Commit

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

* Added the missing storybook option.

* Fixed incorrect ISO code ET => EE.

* Fix applied also in types.
  • Loading branch information
unbugged committed Aug 12, 2020
1 parent f4f2c11 commit 94ccf4c
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
30 changes: 30 additions & 0 deletions src/locales/et-EE.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"todayButton": "Täna",
"nextMonth": "Järgmine kuu",
"previousMonth": "Eelmine kuu",
"nextYear": "Järgmine aasta",
"previousYear": "Eelmine aasta",
"weekdays": [
"Pühapäev",
"Esmaspäev",
"Teisipäev",
"Kolmapäev",
"Neljapäev",
"Reede",
"Laupäev"
],
"months": [
"Jaanuar",
"Veebruar",
"Märts",
"Aprill",
"Mai",
"Juuni",
"Juuli",
"August",
"September",
"Oktoober",
"November",
"Detsember"
]
}
1 change: 1 addition & 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 =
| 'de-DE'
| 'en-US'
| 'es-ES'
| 'et-EE'
| 'fi-FL'
| 'fr-FR'
| 'he-IL'
Expand Down
1 change: 1 addition & 0 deletions stories/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const locale = <const>[
'de-DE',
'en-US',
'es-ES',
'et-EE',
'fi-FL',
'fr-FR',
'he-IL',
Expand Down

1 comment on commit 94ccf4c

@vercel
Copy link

@vercel vercel bot commented on 94ccf4c Aug 12, 2020

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.