projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ad686d
)
build: fix corner case when extracting i18n tokens from templates
author
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 1 Nov 2009 01:05:28 +0000
(
01:05
+0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 1 Nov 2009 01:05:28 +0000
(
01:05
+0000)
build/i18n-scan.pl
patch
|
blob
|
history
diff --git
a/build/i18n-scan.pl
b/build/i18n-scan.pl
index a31952bbbc840468104b48bf1d14dce043ea4718..3b61bc3843f2c027b1eed69e4ad9e9a81afd58ce 100755
(executable)
--- 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/ $//;