diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-04-22 14:29:00 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-04-22 14:29:00 +0000 |
commit | c60254089ddac4aa5193b50d1671dec6eca7b482 (patch) | |
tree | 129aa522a5fb58b95a5fc7c782904b86ab0f4ca7 /build | |
parent | 4b235b57247f7646b2052be350bc7b879beb5e37 (diff) |
build: escape backslashes in i18n strings
Diffstat (limited to 'build')
-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 781ac6480..899d90d22 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; } |