generaltranslation 2.0.68 → 2.0.69
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.
- 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;
|