Ignore:
Timestamp:
04/09/10 20:17:50 (10 years ago)
Author:
plg
Message:

merge back r5740, I should have commited only the galleries directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/missing_keys.pl

    r5740 r5741  
    1515load_registered_keys($type); 
    1616 
    17 foreach my $key (sort keys %used_keys) { 
    18     # print "{".$key."}", ' is used', "\n"; 
     17# foreach my $key (sort keys %used_keys) { 
     18#     # print "{".$key."}", ' is used', "\n"; 
    1919 
    20     if (not defined $registered_keys{$key}) { 
    21         # print "{".$key."}", ' is missing', "\n"; 
    22         print '$lang[\''.$key.'\'] = \''.$key.'\';', "\n"; 
    23     } 
    24 } 
     20#     if (not defined $registered_keys{$key}) { 
     21#         # print "{".$key."}", ' is missing', "\n"; 
     22#         print '$lang[\''.$key.'\'] = \''.$key.'\';', "\n"; 
     23#     } 
     24# } 
    2525 
    2626my %ignore_keys = ( 
     
    7575 
    7676 
    77 # foreach my $key (sort keys %registered_keys) { 
    78 #     if (not defined $used_keys{$key} and not defined $ignore_keys{$key}) { 
    79 #         print "{".$key."}", ' is not used anywhere', "\n"; 
    80 #     } 
    81 # } 
     77foreach my $key (sort keys %registered_keys) { 
     78    if (not defined $used_keys{$key} and not defined $ignore_keys{$key}) { 
     79        print "{".$key."}", ' is not used anywhere', "\n"; 
     80    } 
     81} 
    8282 
    8383sub used_keys { 
Note: See TracChangeset for help on using the changeset viewer.