From e3ac0fd78d7fe7660954348675094d02d5f42aa0 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 1 Nov 2009 01:05:28 +0000 Subject: build: fix corner case when extracting i18n tokens from templates --- build/i18n-scan.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'build') 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/ $//; -- cgit v1.2.3