diff options
-rw-r--r-- | l10n/l10n.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/l10n/l10n.pl b/l10n/l10n.pl index 1b25722aa4e..10df5f8f803 100644 --- a/l10n/l10n.pl +++ b/l10n/l10n.pl @@ -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"; |