summaryrefslogtreecommitdiffstats
path: root/l10n
diff options
context:
space:
mode:
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" );