techtonik Sun Oct 31 16:20:20 2004 EDT
Modified files:
/phpdoc/scripts dbtags.php
Log:
some grammar fixes
http://cvs.php.net/diff.php/phpdoc/scripts/dbtags.php?r1=1.3&r2=1.4&ty=u
Index: phpdoc/scripts/dbtags.php
diff -u phpdoc/scripts/dbtags.php:1.3 phpdoc/scripts/dbtags.php:1.4
--- phpdoc/scripts/dbtags.php:1.3 Wed Aug 25 04:36:32 2004
+++ phpdoc/scripts/dbtags.php Sun Oct 31 16:20:16 2004
@@ -17,7 +17,7 @@
| Authors: Gabor Hojtsy <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
- $Id: dbtags.php,v 1.3 2004/08/25 08:36:32 didou Exp $
+ $Id: dbtags.php,v 1.4 2004/10/31 21:20:16 techtonik Exp $
*/
if ($argc > 2 || in_array($argv[1], array('--help', '-help', '-h', '-?'))) {
@@ -70,10 +70,10 @@
/* Here starts the functions part */
/*********************************************************************/
-// Checks a diretory of phpdoc XML files
+// Checks a directory of phpdoc XML files
function check_dir($dir, &$used_tags)
{
- // Collect files and diretcories in these arrays
+ // Collect files and directories in these arrays
$directories = array();
$files = array();
@@ -125,7 +125,7 @@
// No entities found
if (count($tags_found[1]) == 0) { return; }
- // New occurances found, so increase the number
+ // New occurences found, so increase the number
foreach ($tags_found[1] as $tag_name) {
$used_tags[$tag_name]++;
}
@@ -136,7 +136,7 @@
/* Here starts the program */
/*********************************************************************/
-// Chechking all languages
+// Checking all languages
foreach ($langcodes as $langcode) {
// Check for directory validity
@@ -158,7 +158,7 @@
echo "Generating tag_usage.txt ...\n";
$fp = fopen("tag_usage.txt", "w");
-fwrite($fp, "TAG USAGE STATISCTICS
+fwrite($fp, "TAG USAGE STATISTICS
=========================================================
In this file you can find tag usage stats compiled