tom Mon Oct 7 16:40:28 2002 EDT
Modified files:
/phpdoc/scripts revcheck.php
Log:
fix prob with filestatus if credits-tag is after rev-tag
Index: phpdoc/scripts/revcheck.php
diff -u phpdoc/scripts/revcheck.php:1.29 phpdoc/scripts/revcheck.php:1.30
--- phpdoc/scripts/revcheck.php:1.29 Thu May 9 13:31:35 2002
+++ phpdoc/scripts/revcheck.php Mon Oct 7 16:40:28 2002
@@ -127,7 +127,7 @@
// Check for the translations "revision tag"
preg_match ("/<!--\s*EN-Revision:\s*\d+\.(\d+)\s*Maintainer:\s*("
- . $val . ")\s*Status:\s*(.+)\s*-->/",
+ . $val . ")\s*Status:\s*(.+)\s*-->/U",
$line,
$match
);
@@ -136,7 +136,7 @@
// for n/a revision comment (comment where revision is not known)
if (count($match) == 0) {
preg_match ("'<!--\s*EN-Revision:\s*(n/a)\s*Maintainer:\s*("
- . $val . ")\s*Status:\s*(.+)\s*-->'",
+ . $val . ")\s*Status:\s*(.+)\s*-->'U",
$line,
$match
);
@@ -205,7 +205,7 @@
// Compute new index for missing file (name without language dir)
$index = substr($trans_file, strlen($DOCDIR) + strlen($LANG) + 1);
- // Compute new valie for missing file (size and EN revision)
+ // Compute new value for missing file (size and EN revision)
$value = array(
round(filesize($en_file)/1024, 1),
"1." . get_tag($en_file)
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php