Home | History | Annotate | Download | only in cintltst

Lines Matching refs:locale

74                        UResourceBundle *currentBundle, const char *locale) {
88 log_err("Can't open a resource for lnocale %s. Error: %s\n", locale, u_errorName(errorCode));
96 log_err("Can't open a resource with key \"%s\" in \"%s\" from %s for locale \"%s\"\n",
100 locale);
105 log_err("key \"%s\" in \"%s\" has a different type from root for locale \"%s\"\n"
106 "\troot=%d, locale=%d\n",
109 locale,
125 log_err("Arrays are different size with key \"%s\" in \"%s\" from root for locale \"%s\"\n",
128 locale);
138 log_err("Value out of range with key \"%s\" at index %d in \"%s\" for locale \"%s\"\n",
142 locale);
147 && !(strcmp(locale, "es_US") == 0 && strcmp(subBundleKey, "DateTimeElements") == 0))
149 log_err("Integer vectors are the same with key \"%s\" in \"%s\" from root for locale \"%s\"\n",
152 locale);
163 TestKeyInRootRecursive(subRootBundle, rootName, subBundle, locale);
178 log_err("Different size array with key \"%s\" in \"%s\" from root for locale \"%s\"\n"
179 "\troot array size=%d, locale array size=%d\n",
182 locale,
188 log_err("Different size array with key \"%s\" in \"%s\" for locale \"%s\" the expected size is 3 got size=%d\n",
191 locale,
211 log_err("Got a NULL string with key \"%s\" in \"%s\" at index %d for root or locale \"%s\"\n",
215 locale);
219 log_err("Got something other than a string or array of size %d for key \"%s\" in \"%s\" at index %d for root or locale \"%s\"\n",
224 locale);
231 log_err("Got something other than a string or array for key \"%s\" in \"%s\" at index %d for root or locale \"%s\"\n",
235 locale);
239 log_err("Got a NULL string with key \"%s\" in \"%s\" at index %d for root or locale \"%s\"\n",
243 locale);
248 log_err("key \"%s\" at index %d in \"%s\" starts with a space in locale \"%s\"\n",
252 locale);
255 log_err("key \"%s\" at index %d in \"%s\" ends with a space in locale \"%s\"\n",
259 locale);
282 log_err("key \"%s\" at index %d has time pattern chars in date for locale \"%s\"\n",
285 locale);
298 log_err("key \"%s\" at index %d has date pattern chars in time for locale \"%s\"\n",
301 locale);
311 log_err("key \"%s\" at index %d has a non-zero based number for locale \"%s\"\n",
314 locale);
318 log_err("Arrays are the same with key \"%s\" in \"%s\" from root for locale \"%s\"\n",
321 locale);
331 log_err("Can't open a string with key \"%s\" in \"%s\" for locale \"%s\"\n",
334 locale);
336 log_err("key \"%s\" in \"%s\" starts with a space in locale \"%s\"\n",
339 locale);
342 locale \"%s\"\n",
345 locale);
360 log_err("key \"%s\" has the wrong number of characters in locale \"%s\"\n",
362 locale);
369 log_err("key \"%s\" has illegal character '%c' in locale \"%s\"\n",
372 locale);
377 log_err("key \"%s\" has duplicate character '%c' in locale \"%s\"\n",
380 locale);
389 else if (strcmp(locale, "root") != 0 && errorCode == U_ZERO_ERROR) {
398 if (strcmp(locale, "de_CH") != 0 && strcmp(subBundleKey, "Countries") != 0 &&
400 log_err("Found duplicate data with key \"%s\" in \"%s\" in locale \"%s\"\n",
403 locale);
407 /* Can be fixed if fallback through de locale was done. */
408 log_verbose("Skipping key %s in %s\n", subBundleKey, locale);
417 TestKeyInRootRecursive(subRootBundle, rootName, subBundle, locale);
420 log_verbose("Skipping key %s in %s\n", subBundleKey, locale);
427 log_verbose("Skipping key \"%s\" in \"%s\" for locale \"%s\"\n",
430 locale);
435 log_err("Type %d for key \"%s\" in \"%s\" is unknown for locale \"%s\"\n",
439 locale);
533 log_err("ERROR: Locale %-5s not installed, and it should be, err %s\n",
545 log_err("No version information is available for locale %s, and it should be!\n",
549 log_verbose("WARNING: The locale %s is experimental! It shouldn't be listed as an installed locale.\n",
559 log_err("Locale resolves to different locale. Is %s an alias of %s?\n",
782 const char *locale){
803 if (strcmp(locale, "uk") == 0 || strcmp(locale, "uk_UA") == 0) {
842 log_err("ExemplarCharacters and LocaleScript containment test failed for locale %s. \n", locale);
858 log_err("ExemplarCharacters and LocaleScript containment test failed for locale %s. \n", locale);
903 log_err("ERROR: Locale %-5s not installed, and it should be!\n",
1042 log_err("ulocdata_getPaperSize failed for locale %s with error: %s \n", currLoc, u_errorName(errorCode));
1045 log_err("ulocdata_getPaperSize did not return expected data for locale %s \n", currLoc);
1052 log_err("ulocdata_getMeasurementSystem failed for locale %s with error: %s \n", currLoc, u_errorName(errorCode));
1056 log_err("ulocdata_getMeasurementSystem did not return expected data for locale %s \n", currLoc);
1059 log_err("ulocdata_getMeasurementSystem did not return expected data for locale %s \n", currLoc);
1106 const char* locale = uenum_next(avail, NULL, &ec);
1108 log_verbose("%s\n", locale);
1111 ULocaleData *uld = ulocdata_open(locale,&ec);
1119 log_err("ExemplarSet contains unassigned characters for locale : %s\n", locale);
1121 codeLen = uscript_getCode(locale, code, 8, &ec);
1131 log_err("USCRIPT_INVALID_CODE returned for locale: %s\n", locale);
1166 log_err("ExemplarSet containment failed for locale : %s\n", locale);