From 892760b3f913da44e07b0c77d3feebe8af389872 Mon Sep 17 00:00:00 2001 From: Eli Kogan-Wang Date: Thu, 20 Mar 2025 16:43:09 +0100 Subject: [PATCH] Fix for loop declaration in xgettext-html.js to use 'let' for location variable --- po/xgettext-html.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/po/xgettext-html.js b/po/xgettext-html.js index 39b86de3..3fcaacd4 100755 --- a/po/xgettext-html.js +++ b/po/xgettext-html.js @@ -106,7 +106,7 @@ let output = ""; for (let str in strings) { output += "#:"; - for (location in strings[str]) { + for (let location in strings[str]) { output += " " + location; } output += "\n";