Skip to content

Commit 743acd6

Browse files
authored
Merge pull request hossein-zare#524 from Angelk90/dev-5.x
feat: add italian translation
2 parents 5302299 + 403d1c0 commit 743acd6

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

index.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ declare module 'react-native-dropdown-picker' {
6666
| 'TR'
6767
| 'RU'
6868
| 'ES'
69-
| 'ID';
69+
| 'ID'
70+
| 'IT';
7071

7172
export interface TranslationInterface {
7273
PLACEHOLDER: string;

src/constants/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ export const LANGUAGE = {
4747
TURKISH: 'TR',
4848
RUSSIAN: 'RU',
4949
SPANISH: 'ES',
50-
INDONESIAN: 'ID'
50+
INDONESIAN: 'ID',
51+
ITALIAN: 'IT'
5152
}
5253

5354
export const GET_DROPDOWN_DIRECTION = (direction) => {

src/translations/index.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,14 @@ export default {
4949
SEARCH_PLACEHOLDER: 'Ketik sesuatu...',
5050
SELECTED_ITEMS_COUNT_TEXT: '{count} item telah dipilih',
5151
NOTHING_TO_SHOW: 'Tidak ada yang bisa ditampilkan!'
52-
}
52+
},
53+
IT: {
54+
PLACEHOLDER: 'Seleziona un elemento',
55+
SEARCH_PLACEHOLDER: 'Digita qualcosa...',
56+
SELECTED_ITEMS_COUNT_TEXT: {
57+
1: 'Un elemento è stato selezionato',
58+
n: '{count} elementi sono stati selezionati'
59+
},
60+
NOTHING_TO_SHOW: 'Non c\'è nulla da mostrare!'
61+
},
5362
}

0 commit comments

Comments
 (0)