@tolgee/cli 2.10.0 → 2.10.1
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/commands/push.js +6 -1
- package/package.json +1 -1
package/dist/commands/push.js
CHANGED
@@ -144,7 +144,12 @@ const pushHandler = (config) => function () {
|
|
144
144
|
format: format,
|
145
145
|
languageTag: f.language,
|
146
146
|
namespace: (_a = f.namespace) !== null && _a !== void 0 ? _a : '',
|
147
|
-
|
147
|
+
// there can be multiple languages inside the file
|
148
|
+
// that is detected on the backend
|
149
|
+
// and we only say which we want to import by `languageTagsToImport`
|
150
|
+
// however we don't want to use this property,
|
151
|
+
// when it's explicitly defined what language is in the file
|
152
|
+
languageTagsToImport: !f.language ? opts.languages : undefined,
|
148
153
|
};
|
149
154
|
}),
|
150
155
|
removeOtherKeys: opts.removeOtherKeys,
|