lingo.dev 0.99.3 → 0.99.4

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
@@ -7235,11 +7235,11 @@ var status_default = new (0, _interactivecommander.Command)().command("status").
7235
7235
  );
7236
7236
  }
7237
7237
  if (!fileExists) {
7238
- fileStats[filePath].languageStats[targetLocale].missing = sourceKeys.length;
7239
- fileStats[filePath].languageStats[targetLocale].words = sourceWordCount;
7240
- languageStats[targetLocale].missing += sourceKeys.length;
7241
- languageStats[targetLocale].words += sourceWordCount;
7242
- totalWordCount.set(targetLocale, (totalWordCount.get(targetLocale) || 0) + sourceWordCount);
7238
+ fileStats[filePath].languageStats[_targetLocale].missing = sourceKeys.length;
7239
+ fileStats[filePath].languageStats[_targetLocale].words = sourceWordCount;
7240
+ languageStats[_targetLocale].missing += sourceKeys.length;
7241
+ languageStats[_targetLocale].words += sourceWordCount;
7242
+ totalWordCount.set(_targetLocale, (totalWordCount.get(_targetLocale) || 0) + sourceWordCount);
7243
7243
  bucketOra.succeed(
7244
7244
  `[${sourceLocale} -> ${targetLocale}] ${_chalk2.default.red(`0% complete`)} (0/${sourceKeys.length} keys) - file not found`
7245
7245
  );
@@ -7264,15 +7264,15 @@ var status_default = new (0, _interactivecommander.Command)().command("status").
7264
7264
  wordsToTranslate += words;
7265
7265
  }
7266
7266
  }
7267
- fileStats[filePath].languageStats[targetLocale].missing = missingKeys.length;
7268
- fileStats[filePath].languageStats[targetLocale].updated = updatedKeys.length;
7269
- fileStats[filePath].languageStats[targetLocale].complete = completeKeys.length;
7270
- fileStats[filePath].languageStats[targetLocale].words = wordsToTranslate;
7271
- languageStats[targetLocale].missing += missingKeys.length;
7272
- languageStats[targetLocale].updated += updatedKeys.length;
7273
- languageStats[targetLocale].complete += completeKeys.length;
7274
- languageStats[targetLocale].words += wordsToTranslate;
7275
- totalWordCount.set(targetLocale, (totalWordCount.get(targetLocale) || 0) + wordsToTranslate);
7267
+ fileStats[filePath].languageStats[_targetLocale].missing = missingKeys.length;
7268
+ fileStats[filePath].languageStats[_targetLocale].updated = updatedKeys.length;
7269
+ fileStats[filePath].languageStats[_targetLocale].complete = completeKeys.length;
7270
+ fileStats[filePath].languageStats[_targetLocale].words = wordsToTranslate;
7271
+ languageStats[_targetLocale].missing += missingKeys.length;
7272
+ languageStats[_targetLocale].updated += updatedKeys.length;
7273
+ languageStats[_targetLocale].complete += completeKeys.length;
7274
+ languageStats[_targetLocale].words += wordsToTranslate;
7275
+ totalWordCount.set(_targetLocale, (totalWordCount.get(_targetLocale) || 0) + wordsToTranslate);
7276
7276
  const totalKeysInFile = sourceKeys.length;
7277
7277
  const completionPercent = (completeKeys.length / totalKeysInFile * 100).toFixed(1);
7278
7278
  if (missingKeys.length === 0 && updatedKeys.length === 0) {
@@ -7585,7 +7585,7 @@ async function renderHero2() {
7585
7585
  // package.json
7586
7586
  var package_default = {
7587
7587
  name: "lingo.dev",
7588
- version: "0.99.3",
7588
+ version: "0.99.4",
7589
7589
  description: "Lingo.dev CLI",
7590
7590
  private: false,
7591
7591
  publishConfig: {