lingo.dev 0.92.10 → 0.92.12

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
@@ -2963,8 +2963,10 @@ function variableContentLoader() {
2963
2963
  const result = _16.mapValues(input2, (payload) => payload.value);
2964
2964
  return result;
2965
2965
  },
2966
- push: async (locale, data, originalInput) => {
2967
- const result = _16.cloneDeep(originalInput || {});
2966
+ push: async (locale, data, originalInput, defaultLocale, pullInput) => {
2967
+ const result = _16.cloneDeep(
2968
+ pullInput || {}
2969
+ );
2968
2970
  for (const [key, originalValueObj] of Object.entries(result)) {
2969
2971
  result[key] = {
2970
2972
  ...originalValueObj,
@@ -4042,8 +4044,8 @@ function createBasicTranslator(model, systemPrompt) {
4042
4044
  {
4043
4045
  role: "user",
4044
4046
  content: JSON.stringify({
4045
- sourceLocale: "en",
4046
- targetLocale: "es",
4047
+ sourceLocale: input2.sourceLocale,
4048
+ targetLocale: input2.targetLocale,
4047
4049
  data: input2.processableData
4048
4050
  })
4049
4051
  }
@@ -6375,7 +6377,7 @@ async function renderHero() {
6375
6377
  // package.json
6376
6378
  var package_default = {
6377
6379
  name: "lingo.dev",
6378
- version: "0.92.10",
6380
+ version: "0.92.12",
6379
6381
  description: "Lingo.dev CLI",
6380
6382
  private: false,
6381
6383
  publishConfig: {