diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-11-01 01:05:28 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-11-01 01:05:28 +0000 |
commit | e3ac0fd78d7fe7660954348675094d02d5f42aa0 (patch) | |
tree | 123a468c11f1de6200c1625dd269775cba1ab4c2 /build/i18n-scan.pl | |
parent | 4ad686d73208a760ed8d2beaad03198e455d7623 (diff) |
build: fix corner case when extracting i18n tokens from templates
Diffstat (limited to 'build/i18n-scan.pl')
-rwxr-xr-x | build/i18n-scan.pl | 1 |
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/ $//; |