From: Jo-Philipp Wich Date: Sun, 22 Apr 2012 14:29:00 +0000 (+0000) Subject: build: escape backslashes in i18n strings X-Git-Tag: 0.11.0~708 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c60254089ddac4aa5193b50d1671dec6eca7b482;p=oweals%2Fluci.git build: escape backslashes in i18n strings --- 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; }