From 2bb03b07cbf823275fa5b8964effeb2b50c3c7f4 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Mon, 5 Jan 2026 23:14:05 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- test/backend-test/check-translations.test.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/backend-test/check-translations.test.js b/test/backend-test/check-translations.test.js index 23d3247a3..11cd3f986 100644 --- a/test/backend-test/check-translations.test.js +++ b/test/backend-test/check-translations.test.js @@ -3,6 +3,9 @@ const assert = require("node:assert"); const fs = require("fs"); const path = require("path"); +/** + * @param dir + */ function* walk(dir) { const files = fs.readdirSync(dir, { withFileTypes: true }); for (const file of files) { @@ -67,7 +70,7 @@ describe("Check Translations", () => { report += `\n = note: please register the translation key '${key}' in en.json so that our awesome team of translators can translate them`; report += "\n = tip: if you want to contribute translations, please visit our https://weblate.kuma.pet\n"; }); - report += `\n===============================`; + report += "\n==============================="; const fileCount = new Set(missingKeys.map(item => item.filePath)).size; report += `\nFound a total of ${missingKeys.length} missing keys in ${fileCount} files.`; assert.fail(report);