build: escape backslashes in i18n strings
This commit is contained in:
parent
4b235b5724
commit
c60254089d
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ sub dec_tpl_str
|
|||
$s =~ s/[\s\n]+/ /g;
|
||||
$s =~ s/^ //;
|
||||
$s =~ s/ $//;
|
||||
$s =~ s/\\/\\\\/g;
|
||||
return $s;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue