5
0
mirror of git://git.proxmox.com/git/proxmox-i18n.git synced 2024-12-22 21:33:51 +03:00

po2js.pl - skip untranslated entries

This commit is contained in:
Dietmar Maurer 2017-10-02 12:16:56 +02:00
parent 9ce3f62e04
commit fe2d4deec1

View File

@ -39,7 +39,7 @@ sub fnv31a {
return $hval & 0x7fffffff;
}
my $catalog;
my $catalog = {};
foreach my $filename (@ARGV) {
my $href = Locale::PO->load_file_ashash($filename) ||
@ -68,7 +68,7 @@ foreach my $filename (@ARGV) {
next if !length($msgid); # skip header
#next if !length($msgstr); # skip untranslated entries
next if !length($msgstr); # skip untranslated entries
my $digest = fnv31a($msgid);