Skip to content

Commit 6701e67

Browse files
committed
Added ES and IT translations missing in APP
1 parent 5f29b60 commit 6701e67

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

example/src/App.tsx

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,38 +28,42 @@ import {
2828
DatePickerModal,
2929
TimePickerModal,
3030
DatePickerInput,
31+
registerTranslation,
32+
TranslationsType,
3133
ar,
3234
de,
3335
en,
3436
enGB,
37+
es,
3538
fr,
3639
he,
3740
hi,
41+
it,
3842
ko,
3943
nl,
4044
pl,
4145
pt,
42-
registerTranslation,
4346
tr,
44-
TranslationsType,
4547
zh,
4648
zhTW,
4749
} from 'react-native-paper-dates'
4850
import { useCallback, useState } from 'react'
4951

5052
const locales: [string, TranslationsType][] = [
51-
['en', en],
52-
['nl', nl],
53-
['de', de],
54-
['pl', pl],
55-
['pt', pt],
5653
['ar', ar],
57-
['ko', ko],
54+
['de', de],
55+
['en', en],
56+
['en-GB', enGB],
57+
['es', es],
5858
['fr', fr],
5959
['he', he],
6060
['hi', hi],
61+
['it', it],
62+
['ko', ko],
63+
['nl', nl],
64+
['pl', pl],
65+
['pt', pt],
6166
['tr', tr],
62-
['en-GB', enGB],
6367
['zh', zh],
6468
['zh-TW', zhTW],
6569
]

0 commit comments

Comments
 (0)