Revision f16a89c9
Von Sven Schöling vor mehr als 10 Jahren hinzugefügt
scripts/locales.pl | ||
---|---|---|
my $opt_v = 0;
|
||
my $opt_n = 0;
|
||
my $opt_c = 0;
|
||
my $opt_f = 0;
|
||
my $debug = 0;
|
||
|
||
parse_args();
|
||
... | ... | |
}
|
||
}
|
||
|
||
if ($opt_f) {
|
||
for my $string (@new_missing) {
|
||
print "new string '$string' in files:\n";
|
||
for my $file (keys %cached) {
|
||
print " $file", $/ if $cached{$file}{all}{$string};
|
||
}
|
||
}
|
||
}
|
||
|
||
generate_file(
|
||
file => "$locales_dir/missing",
|
||
header => $MISSING_HEADER,
|
||
... | ... | |
'check-files' => \$ignore_for_compatiblity,
|
||
'no-check-files' => \$opt_no_c,
|
||
'verbose' => \$opt_v,
|
||
'filenames' => \$opt_f,
|
||
'help' => \$help,
|
||
'man' => \$man,
|
||
'debug' => \$debug,
|
||
... | ... | |
Options:
|
||
-n, --no-custom-files Do not process files whose name contains "_"
|
||
-c, --check-files Run extended checks on HTML files
|
||
-f, --filenames Show the filenames where new strings where found
|
||
-v, --verbose Be more verbose
|
||
-h, --help Show this help
|
||
|
Auch abrufbar als: Unified diff
locales.pl: Optional die Quelldatei von neuen Strings anzeigen
falls mal wieder ein String auftaucht, und man ihn einfach nicht findet