diff options
author | Jakob Sack <mail@jakobsack.de> | 2013-07-16 22:25:19 +0200 |
---|---|---|
committer | Jakob Sack <mail@jakobsack.de> | 2013-07-16 22:25:19 +0200 |
commit | 69b175dbf9979af05a51a3b1d7e349c53a2a6d9d (patch) | |
tree | 3eec43549ed37c7570616c50c2c97dbe13400deb /l10n | |
parent | bb0c5bff5fc493dd24c2c9cbbf27986fd5098de1 (diff) | |
download | nextcloud-server-69b175dbf9979af05a51a3b1d7e349c53a2a6d9d.tar.gz nextcloud-server-69b175dbf9979af05a51a3b1d7e349c53a2a6d9d.zip |
Fix two bugs in l10n.pl
Diffstat (limited to 'l10n')
-rw-r--r-- | l10n/l10n.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/l10n/l10n.pl b/l10n/l10n.pl index 7694749dadf..9e5caa6badb 100644 --- a/l10n/l10n.pl +++ b/l10n/l10n.pl @@ -138,14 +138,14 @@ elsif( $task eq 'write' ){ # Do we use singular or plural? if( defined( $string->msgstr_n() )){ my @variants = (); - my $identifier = $string->msgid()."::".$string->msgid_plural() + my $identifier = $string->msgid()."::".$string->msgid_plural(); $identifier =~ s/"/_/g; foreach my $variant ( sort { $a <=> $b} keys( %{$string->msgstr_n()} )){ push( @variants, $string->msgstr_n()->{$variant} ); } - push( @strings, "\"$identifier\" => array(".join(@variants, ",").")"; + push( @strings, "\"$identifier\" => array(".join(@variants, ",").")"); } else{ next if $string->msgstr() eq '""'; |