lingo.dev 0.77.0 → 0.77.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 CHANGED
@@ -289,6 +289,8 @@ function findLocaleFiles(bucket) {
289
289
  return findLocaleFilesWithExtension(".md");
290
290
  case "php":
291
291
  return findLocaleFilesWithExtension(".php");
292
+ case "po":
293
+ return findLocaleFilesWithExtension(".po");
292
294
  case "xcode-xcstrings":
293
295
  return findLocaleFilesForFilename("Localizable.xcstrings");
294
296
  case "xcode-strings":
@@ -3223,7 +3225,7 @@ async function retryWithExponentialBackoff(operation, maxAttempts, baseDelay = 1
3223
3225
  throw new Error("Unreachable code");
3224
3226
  }
3225
3227
  function createLocalizationEngineConnection(params) {
3226
- const replexicaEngine = new (0, __sdk.ReplexicaEngine)({
3228
+ const replexicaEngine = new (0, __sdk.LingoDotDevEngine)({
3227
3229
  apiKey: params.apiKey,
3228
3230
  apiUrl: params.apiUrl
3229
3231
  });
@@ -3234,7 +3236,11 @@ function createLocalizationEngineConnection(params) {
3234
3236
  args.processableData,
3235
3237
  {
3236
3238
  sourceLocale: args.sourceLocale,
3237
- targetLocale: args.targetLocale
3239
+ targetLocale: args.targetLocale,
3240
+ reference: {
3241
+ [args.sourceLocale]: args.sourceData,
3242
+ [args.targetLocale]: args.targetData
3243
+ }
3238
3244
  },
3239
3245
  onProgress
3240
3246
  ),
@@ -3573,7 +3579,7 @@ var mcp_default = new (0, _interactivecommander.Command)().command("mcp").descri
3573
3579
  // package.json
3574
3580
  var package_default = {
3575
3581
  name: "lingo.dev",
3576
- version: "0.77.0",
3582
+ version: "0.77.2",
3577
3583
  description: "Lingo.dev CLI",
3578
3584
  private: false,
3579
3585
  publishConfig: {