lingo.dev 0.122.1 → 0.122.2
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/build/cli.cjs +5 -3
- package/build/cli.cjs.map +1 -1
- package/build/cli.mjs +5 -3
- package/build/cli.mjs.map +1 -1
- package/package.json +3 -3
package/build/cli.cjs
CHANGED
|
@@ -11625,7 +11625,8 @@ var i18n_default = new (0, _interactivecommander.Command)().command("i18n").desc
|
|
|
11625
11625
|
sourceData,
|
|
11626
11626
|
processableData,
|
|
11627
11627
|
targetLocale,
|
|
11628
|
-
|
|
11628
|
+
// When --force is used, exclude previous translations from reference to ensure fresh translations
|
|
11629
|
+
targetData: flags.force ? {} : targetData
|
|
11629
11630
|
},
|
|
11630
11631
|
(progress, sourceChunk, processedChunk) => {
|
|
11631
11632
|
bucketOra.text = `[${sourceLocale} -> ${targetLocale}] [${Object.keys(processableData).length} entries] (${progress}%) AI localization in progress...`;
|
|
@@ -13267,7 +13268,8 @@ function createWorkerTask(args) {
|
|
|
13267
13268
|
sourceLocale: assignedTask.sourceLocale,
|
|
13268
13269
|
targetLocale: assignedTask.targetLocale,
|
|
13269
13270
|
sourceData,
|
|
13270
|
-
|
|
13271
|
+
// When --force is used, exclude previous translations from reference to ensure fresh translations
|
|
13272
|
+
targetData: args.ctx.flags.force ? {} : targetData,
|
|
13271
13273
|
processableData,
|
|
13272
13274
|
hints: relevantHints
|
|
13273
13275
|
},
|
|
@@ -15191,7 +15193,7 @@ async function renderHero2() {
|
|
|
15191
15193
|
// package.json
|
|
15192
15194
|
var package_default = {
|
|
15193
15195
|
name: "lingo.dev",
|
|
15194
|
-
version: "0.122.
|
|
15196
|
+
version: "0.122.2",
|
|
15195
15197
|
description: "Lingo.dev CLI",
|
|
15196
15198
|
private: false,
|
|
15197
15199
|
repository: {
|