We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 541bdf7 commit 70d7990Copy full SHA for 70d7990
tools/cldr-apps/js/src/esm/cldrLocales.mjs
@@ -120,7 +120,7 @@ function notifyUnusableLocale(map, loc) {
120
// Exclude String objects and other objects and types, to avoid confusion.
121
explanation = cldrText.get("locale_id_not_string_primitive");
122
} else if (LOCALE_REGEX.test(loc)) {
123
- explanation = cldrText.sub("locale_id_unrecognized", loc);
+ explanation = cldrText.sub("locale_id_unrecognized", [loc]);
124
} else {
125
// Avoid including the bogus locale ID in the notification if it contains non-ASCII
126
// characters or reserved punctuation marks, since it may be URL-encoded or
0 commit comments