From 9107cd2bded1126376203108eae2fcd788b4c4e2 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Tue, 3 Jun 2014 08:13:50 +0200 Subject: [PATCH] replace $ by \$ --- l10n/l10n.pl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/l10n/l10n.pl b/l10n/l10n.pl index 1b25722aa4..10df5f8f80 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 "