@lingui/cli 3.13.3 → 3.14.0
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/api/catalog.js +1 -1
- package/package.json +3 -3
package/api/catalog.js
CHANGED
|
@@ -396,7 +396,7 @@ var Catalog = /*#__PURE__*/function () {
|
|
|
396
396
|
getMultipleFallbacks(locale) || // Get translation in fallbackLocales.default (if any)
|
|
397
397
|
fallbackLocales && fallbackLocales.default && getTranslation(fallbackLocales.default) || // Get message default
|
|
398
398
|
catalogs[locale][key].defaults || // If sourceLocale is either target locale of fallback one, use key
|
|
399
|
-
sourceLocale && sourceLocale === locale && key || sourceLocale && fallbackLocales.default && sourceLocale === fallbackLocales.default && key || // Otherwise no translation is available
|
|
399
|
+
sourceLocale && sourceLocale === locale && key || sourceLocale && fallbackLocales && fallbackLocales.default && sourceLocale === fallbackLocales.default && key || // Otherwise no translation is available
|
|
400
400
|
undefined
|
|
401
401
|
);
|
|
402
402
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lingui/cli",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.14.0",
|
|
4
4
|
"description": "CLI for working wit message catalogs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"@babel/plugin-syntax-jsx": "^7.10.4",
|
|
40
40
|
"@babel/runtime": "^7.11.2",
|
|
41
41
|
"@babel/types": "^7.11.5",
|
|
42
|
-
"@lingui/babel-plugin-extract-messages": "^3.
|
|
43
|
-
"@lingui/conf": "^3.
|
|
42
|
+
"@lingui/babel-plugin-extract-messages": "^3.14.0",
|
|
43
|
+
"@lingui/conf": "^3.14.0",
|
|
44
44
|
"babel-plugin-macros": "^3.0.1",
|
|
45
45
|
"bcp-47": "^1.0.7",
|
|
46
46
|
"chalk": "^4.1.0",
|