summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xbuild/i18n-scan.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/i18n-scan.pl b/build/i18n-scan.pl
index a31952bbb..3b61bc384 100755
--- a/build/i18n-scan.pl
+++ b/build/i18n-scan.pl
@@ -24,6 +24,7 @@ sub dec_lua_str
sub dec_tpl_str
{
my $s = shift;
+ $s =~ s/-$//;
$s =~ s/[\s\n]+/ /g;
$s =~ s/^ //;
$s =~ s/ $//;