* clear comments and missing translation keys off existing translation files

* make merge_new_language_vars.pl report, in comments it adds to language files, only its filename, not path
This commit is contained in:
mnaumann
2011-10-22 03:06:31 +00:00
parent e64bd1bf6e
commit 284f4d0277

View File

@@ -21,6 +21,11 @@ if ( $#ARGV != 1 ) {
our %main;
our @main_line;
our $self = $0;
$self =~ s;^.*/([^/]*)$;$1;g;
# print "self: $self\n";
# die;
our $dir = $ARGV[0];
our $main_lang = $ARGV[1];
mkdir $dir;
@@ -114,7 +119,7 @@ LNGS: foreach my $file ( @files ) {
}
# new var not in lng-file, include it from main-lng
else {
print OUT "; Next line needs translation, include by $0 on $now\n";
print OUT "; Next line needs translation, include by $self on $now\n";
print OUT $main_line[ $row ];
}
}