generaltranslation 2.0.68 → 2.0.69
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/codes/codes.js +1 -1
- package/package.json +1 -1
package/dist/codes/codes.js
CHANGED
@@ -16,7 +16,7 @@ var libraryDefaultLanguage_1 = __importDefault(require("../settings/libraryDefau
|
|
16
16
|
var _isValidLanguageCode = function (code) {
|
17
17
|
try {
|
18
18
|
var displayNames = new Intl.DisplayNames([libraryDefaultLanguage_1.default], { type: 'language' });
|
19
|
-
return displayNames.of(code) !== code;
|
19
|
+
return displayNames.of(code) !== code.toLowerCase();
|
20
20
|
}
|
21
21
|
catch (_a) {
|
22
22
|
return false;
|