mirror of
https://github.com/php/web-doc.git
synced 2025-08-06 11:06:29 +00:00
big WS cleaning, this file was a mess,
reword and shorten the usage to fit in a normal term fix some logic
This commit is contained in:
@ -34,12 +34,12 @@ $self = array_shift($argv);
|
||||
|
||||
if ($argc < 3) {
|
||||
?>
|
||||
Check the revision of translated files against the actual english
|
||||
xml files, and create an sqlite database to generate statisctics
|
||||
|
||||
Usage:
|
||||
<?php echo $self;?> type lang1 [lang2 [lang3 [..]]]
|
||||
|
||||
Checks the revision of translated files against the actual english
|
||||
xml files, and create an sqlite database to generate statisctics
|
||||
|
||||
type should be a registered documentation type in
|
||||
<?php echo dirname($self);?>/common.php
|
||||
|
||||
@ -50,12 +50,6 @@ xml files, and create an sqlite database to generate statisctics
|
||||
the PHP Documentation Howto :
|
||||
http://php.net/manual/howto/translation-revtrack.html (9.4.2)
|
||||
|
||||
Original Authors: Thomas Sch<63>fbeck <tom at php dot net>
|
||||
Gabor Hojtsy <goba at php dot net>
|
||||
Mark Kronsbein <mk at php dot net>
|
||||
Jan Fabry <cheezy at php dot net>
|
||||
SQLite version Authors:
|
||||
Mehdi Achour <didou at php dot net>
|
||||
<?php
|
||||
exit(0);
|
||||
}
|
||||
@ -286,7 +280,7 @@ function do_revcheck($dir = '') {
|
||||
}
|
||||
}
|
||||
|
||||
// Puis les r<EFBFBD>pertoires.
|
||||
// Puis les r?pertoires.
|
||||
if( sizeof($entriesDir) > 0 ) {
|
||||
|
||||
usort($entriesDir, 'dir_sort');
|
||||
@ -383,7 +377,6 @@ if( is_file($tmp_db)) {
|
||||
|
||||
if (!@unlink($tmp_db)) {
|
||||
echo "Error : Can't remove temporary database\n";
|
||||
|
||||
exit(0);
|
||||
}
|
||||
}
|
||||
@ -431,5 +424,3 @@ $time = $time_end - $time_start;
|
||||
}
|
||||
|
||||
echo "/---- Time of generation : " .$time . "\n";
|
||||
|
||||
?>
|
||||
|
Reference in New Issue
Block a user