build: escape backslashes in i18n strings

This commit is contained in:
Jo-Philipp Wich 2012-04-22 14:29:00 +00:00
parent 4b235b5724
commit c60254089d
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ sub dec_tpl_str
$s =~ s/[\s\n]+/ /g;
$s =~ s/^ //;
$s =~ s/ $//;
$s =~ s/\\/\\\\/g;
return $s;
}