Skip to content

Commit 49c4a5c

Browse files
gencerarthurdenner
authored andcommitted
feat(locales): add Turkish locale (#122)
* add Turkish language `tr-TR` * Register `tr-TR` into types...
1 parent 514f63e commit 49c4a5c

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

src/locales/tr-TR.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"todayButton": "Bugün",
3+
"nextMonth": "Sonraki ay",
4+
"previousMonth": "Önceki ay",
5+
"nextYear": "Sonraki yıl",
6+
"previousYear": "Önceki yıl",
7+
"weekdays": [
8+
"Pazar",
9+
"Pazartesi",
10+
"Salı",
11+
"Çarşamba",
12+
"Perşembe",
13+
"Cuma",
14+
"Cumartesi"
15+
],
16+
"months": [
17+
"Ocak",
18+
"Şubat",
19+
"Mart",
20+
"Nisan",
21+
"Mayıs",
22+
"Haziran",
23+
"Temmuz",
24+
"Ağustos",
25+
"Eylül",
26+
"Ekim",
27+
"Kasım",
28+
"Aralık"
29+
]
30+
}

src/types/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ export type LocaleOptions =
2828
| 'ru-RU'
2929
| 'sv-SE'
3030
| 'zn-CN'
31-
| 'he-IL';
31+
| 'he-IL'
32+
| 'tr-TR';
3233

3334
export type PickedDayzedProps = Pick<
3435
DayzedProps,

0 commit comments

Comments
 (0)