Merge pull request #8831 from owncloud/dollar-sign-escape-l10n

replace $ by \$
This commit is contained in:
Thomas Müller 2014-06-03 09:47:29 +02:00
commit 332eb39920

View file

@ -169,6 +169,10 @@ elsif( $task eq 'write' ){
}
next if $#strings == -1; # Skip empty files
for (@strings) {
s/\$/\\\$/g;
}
# Write PHP file
open( OUT, ">$language.php" );
print OUT "<?php\n\$TRANSLATIONS = array(\n";