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:
parent
9ce3f62e04
commit
fe2d4deec1
4
po2js.pl
4
po2js.pl
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user