Skip to content

Commit a3dccef

Browse files
authored
Merge pull request #30 from yukosgiti/master
Add Turkish support
2 parents 3cae5cc + 370bb0e commit a3dccef

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

src/components/timeline/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Timeline.defaultProps = {
3535

3636
Timeline.propTypes = {
3737
theme: shape({}),
38-
lang: oneOf(['es', 'en', 'de']),
38+
lang: oneOf(['es', 'en', 'de', 'tr']),
3939
dateFormat: oneOf(['L', 'l', 'll']),
4040
children: oneOfType([arrayOf(node), node]).isRequired,
4141
};

src/config/index.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,20 @@ export const monthArray = {
5555
'Nov.',
5656
'Dez.',
5757
],
58+
tr: [
59+
'Ocak',
60+
'Şubat',
61+
'Mart',
62+
'Nisan',
63+
'Mayıs',
64+
'Haziran',
65+
'Temmuz',
66+
'Ağustos',
67+
'Eylül',
68+
'Ekim',
69+
'Kasım',
70+
'Aralık'
71+
]
5872
};
5973

6074
export const mapText = {
@@ -70,4 +84,9 @@ export const mapText = {
7084
from: 'Von',
7185
to: 'Bis',
7286
},
87+
tr: {
88+
from: 'Başlangıç',
89+
to: 'Bitiş'
90+
91+
}
7392
};

0 commit comments

Comments
 (0)