diff options
-rw-r--r-- | find-lang.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/find-lang.pl b/find-lang.pl index 7c277dd..b1b3dec 100644 --- a/find-lang.pl +++ b/find-lang.pl @@ -84,7 +84,7 @@ foreach my $f (sort keys %finallist) { my ($lang, @otherlang) = keys %{ $finallist{$f}{'lang'} || {}}; my $l = sprintf("%s%s%s", $finallist{$f}{'dir'} ? '%dir ' : '', - @otherlang == 0 && $lang && !$finallist{$f}{'dir'} && $lang ne 'C' + @otherlang == 0 && $lang && $lang ne 'C' ? "%lang($lang) " : '', # skip if multiple lang, 'C' or dir $f |