summaryrefslogtreecommitdiffstats
path: root/l10n
diff options
context:
space:
mode:
authorJakob Sack <kde@jakobsack.de>2011-06-20 22:08:44 +0200
committerJakob Sack <kde@jakobsack.de>2011-06-20 22:08:44 +0200
commitef3386c5f8774a8959b93332f7fc388824a93385 (patch)
tree5772294801bf9b6f4f046fe011aa561f1dd45cf6 /l10n
parentdaa194cede61efe0df017a24c58acabd413e0042 (diff)
downloadnextcloud-server-ef3386c5f8774a8959b93332f7fc388824a93385.tar.gz
nextcloud-server-ef3386c5f8774a8959b93332f7fc388824a93385.zip
All translations should be in the new system
Diffstat (limited to 'l10n')
-rw-r--r--l10n/l10n.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/l10n/l10n.pl b/l10n/l10n.pl
index f798e4e60e3..a5fab01a2fd 100644
--- a/l10n/l10n.pl
+++ b/l10n/l10n.pl
@@ -88,6 +88,7 @@ elsif( $task eq 'write' ){
next if $hash->{$key}->msgstr() eq '""';
push( @strings, $hash->{$key}->msgid()." => ".$hash->{$key}->msgstr());
}
+ next if $#strings == -1; # Skip empty files
# Write PHP file
open( OUT, ">$language.php" );