summaryrefslogtreecommitdiffhomepage
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-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 a31952bbbc..3b61bc3843 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/ $//;