react-native-country-select 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -33,4 +33,5 @@ export interface ICountrySelectProps extends ModalProps {
33
33
  popularCountriesTitle?: string;
34
34
  allCountriesTitle?: string;
35
35
  showsVerticalScrollIndicator?: boolean;
36
+ countryNotFoundMessage?: string;
36
37
  }
@@ -16,6 +16,8 @@ interface IBaseModalStyle {
16
16
  countryInfo?: StyleProp<ViewStyle>;
17
17
  callingCode?: StyleProp<TextStyle>;
18
18
  countryName?: StyleProp<TextStyle>;
19
+ countryNotFoundContainer?: StyleProp<ViewStyle>;
20
+ countryNotFoundMessage?: StyleProp<TextStyle>;
19
21
  }
20
22
 
21
23
  interface IPopupStyle extends IBaseModalStyle {
@@ -3,7 +3,8 @@ import {ICountrySelectLanguages} from '../interface';
3
3
  type TranslationKey =
4
4
  | 'searchPlaceholder'
5
5
  | 'popularCountriesTitle'
6
- | 'allCountriesTitle';
6
+ | 'allCountriesTitle'
7
+ | 'searchNotFoundMessage';
7
8
  type TranslationMap = Record<
8
9
  TranslationKey,
9
10
  Record<ICountrySelectLanguages, string>
@@ -115,4 +116,39 @@ export const translations: TranslationMap = {
115
116
  'zho-Hans': '所有国家',
116
117
  'zho-Hant': '所有國家',
117
118
  },
119
+ searchNotFoundMessage: {
120
+ ara: 'لا توجد دول مطابقة',
121
+ bel: 'Краіны не знойдзены',
122
+ bre: "N'en eo bet",
123
+ bul: 'Няма намерени държави',
124
+ ces: 'Nebyly nalezeny žádné země',
125
+ deu: 'Keine Länder gefunden',
126
+ ell: 'Δεν βρέθηκαν χώρες',
127
+ eng: 'No countries found',
128
+ est: 'Riikuid ei leitud',
129
+ fin: 'Maita ei löytynyt',
130
+ fra: 'Aucun pays trouvé',
131
+ heb: 'לא נמצאו מדינות',
132
+ hrv: 'Nema pronađenih zemalja',
133
+ hun: 'Nem található ország',
134
+ ita: 'Nessun paese trovato',
135
+ jpn: '国が見つかりません',
136
+ kor: '국가를 찾을 수 없습니다',
137
+ nld: 'Geen landen gevonden',
138
+ per: 'هیچ کشوری یافت نشد',
139
+ pol: 'Nie znaleziono krajów',
140
+ por: 'Nenhum país encontrado',
141
+ ron: 'Nu s-au găsit țări',
142
+ rus: 'Страны не найдены',
143
+ slk: 'Nenašli sa žiadne krajiny',
144
+ spa: 'No se encontró ningún país',
145
+ srp: 'Нису пронађене државе',
146
+ swe: 'Inga länder hittades',
147
+ tur: 'Hiçbir ülke bulunamadı',
148
+ ukr: 'Країни не знайдено',
149
+ urd: 'کوئی ملک نہیں ملا',
150
+ zho: '没有找到国家',
151
+ 'zho-Hans': '没有找到国家',
152
+ 'zho-Hant': '找不到國家',
153
+ },
118
154
  } as const;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-country-select",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "🌍 A lightweight and customizable country picker for React Native with modern UI, flags, search engine, and i18n support. Includes TypeScript types, offline support and no dependencies.",
5
5
  "main": "lib/index.tsx",
6
6
  "types": "lib/index.d.ts",