Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openwrt/luci.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-04-22 18:29:00 +0400
committerJo-Philipp Wich <jow@openwrt.org>2012-04-22 18:29:00 +0400
commitc60254089ddac4aa5193b50d1671dec6eca7b482 (patch)
tree129aa522a5fb58b95a5fc7c782904b86ab0f4ca7 /build
parent4b235b57247f7646b2052be350bc7b879beb5e37 (diff)
build: escape backslashes in i18n strings
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 781ac6480e..899d90d22c 100755
--- 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;
}