@nextcloud/l10n
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -5,2 +5,8 @@ # Changelog | ||
## 1.4.1 - 2020-09-07 | ||
### Changed | ||
- Dependency updates | ||
### Fixed | ||
- Language detection of languages that have a `_` in their code (#172) | ||
## 1.4.0 - 2020-08-31 | ||
@@ -7,0 +13,0 @@ ### Added |
@@ -45,3 +45,3 @@ "use strict"; | ||
value: function detectLocale() { | ||
return this.setLanguage((0, _.getLanguage)()); | ||
return this.setLanguage((0, _.getLanguage)().replace('-', '_')); | ||
} | ||
@@ -48,0 +48,0 @@ }, { |
@@ -17,3 +17,3 @@ import GetText from "node-gettext" | ||
detectLocale(): GettextBuilder { | ||
return this.setLanguage(getLanguage()) | ||
return this.setLanguage(getLanguage().replace('-', '_')) | ||
} | ||
@@ -20,0 +20,0 @@ |
{ | ||
"name": "@nextcloud/l10n", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
458852
6873