|
|
|
@ -136,6 +136,7 @@ sub read_texts
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
close F;
|
|
|
|
|
my (%txt_list, %txt_miss, %txt_unknown, %txt_multi);
|
|
|
|
|
for (@txts) {
|
|
|
|
|
$txt_list{$_}++;
|
|
|
|
|
$txt_multi{$_} = 1 if $txt_list{$_} > 1;
|
|
|
|
@ -147,7 +148,7 @@ sub read_texts
|
|
|
|
|
$txt_miss{$_} = 1 unless exists $txt_list{$_};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(defined(%txt_miss) || defined(%txt_unknown) || defined(%txt_multi)) {
|
|
|
|
|
if(%txt_miss || %txt_unknown || %txt_multi) {
|
|
|
|
|
print STDERR "$lang:\n";
|
|
|
|
|
for (sort keys %txt_miss) {
|
|
|
|
|
print STDERR " missing: $_\n"
|
|
|
|
|