Skip to content
Snippets Groups Projects
Commit 332eb399 authored by Thomas Müller's avatar Thomas Müller
Browse files

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

replace $ by \$
parents 5add56b6 9107cd2b
No related branches found
No related tags found
No related merge requests found
...@@ -169,6 +169,10 @@ elsif( $task eq 'write' ){ ...@@ -169,6 +169,10 @@ elsif( $task eq 'write' ){
} }
next if $#strings == -1; # Skip empty files next if $#strings == -1; # Skip empty files
for (@strings) {
s/\$/\\\$/g;
}
# Write PHP file # Write PHP file
open( OUT, ">$language.php" ); open( OUT, ">$language.php" );
print OUT "<?php\n\$TRANSLATIONS = array(\n"; print OUT "<?php\n\$TRANSLATIONS = array(\n";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment