Leantime/leantime · error
Found %d unused translations:
Error message
Found %d unused translations:
What it means
Error "Found %d unused translations:" thrown in Leantime/leantime.
Source
Thrown at app/Command/CheckTranslations.php:134
}
$this->usedTranslations[$key] = true;
break;
}
}
}
}
private function generateReport(): void
{
$unusedTranslations = array_diff_key($this->translations, $this->usedTranslations);
if (empty($unusedTranslations)) {
$this->info('No unused translations found.');
return;
}
$this->warn(sprintf('Found %d unused translations:', count($unusedTranslations)));
foreach ($unusedTranslations as $key => $value) {
$this->line("- $key");
}
if ($exportFile = $this->option('export')) {
file_put_contents(
$exportFile,
json_encode($unusedTranslations, JSON_PRETTY_PRINT)
);
$this->info("Results exported to: $exportFile");
}
}
}
View on GitHub (pinned to 9a9f49f100)
When it happens
Trigger: Thrown at app/Command/CheckTranslations.php:134 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of Leantime/leantime@9a9f49f100 (2026-08-21).
Data as JSON: /api/errors/3b10b1da908ee49b.
Report an issue: GitHub.