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:
4b235b5
)
build: escape backslashes in i18n strings
author
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 22 Apr 2012 14:29:00 +0000
(14:29 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 22 Apr 2012 14:29:00 +0000
(14:29 +0000)
build/i18n-scan.pl
patch
|
blob
|
history
diff --git
a/build/i18n-scan.pl
b/build/i18n-scan.pl
index 781ac6480e630554768abe8a0a7ee11a826e07d8..899d90d22c282ada2e203cc249a75a52aa51aa83 100755
(executable)
--- a/
build/i18n-scan.pl
+++ b/
build/i18n-scan.pl
@@
-28,6
+28,7
@@
sub dec_tpl_str
$s =~ s/[\s\n]+/ /g;
$s =~ s/^ //;
$s =~ s/ $//;
+ $s =~ s/\\/\\\\/g;
return $s;
}