Fix unescaping when importing transifex/java-properties format translations

This commit is contained in:
Vivek Dasmohapatra 2013-04-23 19:47:39 +01:00 committed by Vincent Sanders
parent a0fde060e8
commit 9c6e4c7eb5

View File

@ -193,7 +193,7 @@ sub parser ()
{
package msgfmt::java;
sub unescape { $_[0] =~ s/\\([\\':])/$1/g; $_[0] }
sub unescape { $_[0] =~ s/\\([^abfnrtv])/$1/g; $_[0] }
sub parse
{
my $cache = shift();