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.mjs CHANGED
@@ -11621,7 +11621,8 @@ var i18n_default = new Command14().command("i18n").description(
11621
11621
  sourceData,
11622
11622
  processableData,
11623
11623
  targetLocale,
11624
- targetData
11624
+ // When --force is used, exclude previous translations from reference to ensure fresh translations
11625
+ targetData: flags.force ? {} : targetData
11625
11626
  },
11626
11627
  (progress, sourceChunk, processedChunk) => {
11627
11628
  bucketOra.text = `[${sourceLocale} -> ${targetLocale}] [${Object.keys(processableData).length} entries] (${progress}%) AI localization in progress...`;
@@ -13263,7 +13264,8 @@ function createWorkerTask(args) {
13263
13264
  sourceLocale: assignedTask.sourceLocale,
13264
13265
  targetLocale: assignedTask.targetLocale,
13265
13266
  sourceData,
13266
- targetData,
13267
+ // When --force is used, exclude previous translations from reference to ensure fresh translations
13268
+ targetData: args.ctx.flags.force ? {} : targetData,
13267
13269
  processableData,
13268
13270
  hints: relevantHints
13269
13271
  },
@@ -15187,7 +15189,7 @@ async function renderHero2() {
15187
15189
  // package.json
15188
15190
  var package_default = {
15189
15191
  name: "lingo.dev",
15190
- version: "0.122.1",
15192
+ version: "0.122.2",
15191
15193
  description: "Lingo.dev CLI",
15192
15194
  private: false,
15193
15195
  repository: {