From a8f5fe51824487af16bf580be9262b6fbe68a64a Mon Sep 17 00:00:00 2001 From: Thomas Heck Date: Thu, 28 Feb 2013 12:04:19 +0100 Subject: [PATCH] =?utf8?q?Ausgabe=20der=20JS-=C3=9Cbersetzung=20=C3=BCbera?= =?utf8?q?rbeitet?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- scripts/locales.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/locales.pl b/scripts/locales.pl index 00dc7fe31..5807f4b26 100755 --- a/scripts/locales.pl +++ b/scripts/locales.pl @@ -140,13 +140,13 @@ generate_file( ); open(my $js_file, '>:encoding(utf8)', $locales_dir .'/js.js') || die; -print $js_file '{'."\n"; +print $js_file '{'; my $first_entry = 1; for my $key (sort(keys(%jslocale))) { - print $js_file (!$first_entry ? ',' : '') . _double_quote($key) .':'. _double_quote($self->{texts}{$key}) ."\n"; + print $js_file ((!$first_entry ? ',' : '') ."\n". _double_quote($key) .':'. _double_quote($self->{texts}{$key})); $first_entry = 0; } -print $js_file '}'."\n"; +print $js_file ("\n".'}'."\n"); close($js_file); foreach my $text (keys %$missing) { -- 2.20.1