Skip to content

Commit

Permalink
feat(locales): add Turkish locale (#122)
Browse files Browse the repository at this point in the history
* add Turkish language `tr-TR`

* Register `tr-TR` into types...
  • Loading branch information
gencer authored and arthurdenner committed Nov 28, 2019
1 parent 514f63e commit 49c4a5c
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
30 changes: 30 additions & 0 deletions src/locales/tr-TR.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"todayButton": "Bugün",
"nextMonth": "Sonraki ay",
"previousMonth": "Önceki ay",
"nextYear": "Sonraki yıl",
"previousYear": "Önceki yıl",
"weekdays": [
"Pazar",
"Pazartesi",
"Salı",
"Çarşamba",
"Perşembe",
"Cuma",
"Cumartesi"
],
"months": [
"Ocak",
"Şubat",
"Mart",
"Nisan",
"Mayıs",
"Haziran",
"Temmuz",
"Ağustos",
"Eylül",
"Ekim",
"Kasım",
"Aralık"
]
}
3 changes: 2 additions & 1 deletion src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ export type LocaleOptions =
| 'ru-RU'
| 'sv-SE'
| 'zn-CN'
| 'he-IL';
| 'he-IL'
| 'tr-TR';

export type PickedDayzedProps = Pick<
DayzedProps,
Expand Down

0 comments on commit 49c4a5c

Please sign in to comment.