[AppDB] Assorted spelling and typo fixes

Francois Gouget fgouget at free.fr
Wed Jan 26 06:04:27 CST 2005


Changelog:

  * CODING_STANDARD
    admin/adminAppQueue.php
    admin/adminCommentView.php
    admin/editAppFamily.php
    help/appdb_faq.help
    help/generic.help
    help/privacy.help
    help/ratings.help
    include/config.php.sample
    include/incl.php
    include/user.php

    Assorted spelling and typo fixes.


-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
           tcA thgirypoC muinelliM latigiD eht detaloiv tsuj evah uoY
-------------- next part --------------
Index: CODING_STANDARD
===================================================================
RCS file: /var/cvs/appdb/CODING_STANDARD,v
retrieving revision 1.4
diff -u -p -r1.4 CODING_STANDARD
--- CODING_STANDARD	10 Jan 2005 22:13:47 -0000	1.4
+++ CODING_STANDARD	23 Jan 2005 11:08:33 -0000
@@ -72,8 +72,8 @@ if(!isset($appId))
  3) it makes it easier to understand where your vars are comming from (forms, session, etc.)
 
 - variables naming
-variables that don't come from outside your script (i.e. that arent fetched from superglobals) should be named this way 
-(a.k.a hungariant notation):
+variables that don't come from outside your script (i.e. that aren't fetched from superglobals) should be named this way 
+(a.k.a hungarian notation):
 prefix + var_name
 
 Where prefix is one of:
Index: admin/adminAppQueue.php
===================================================================
RCS file: /var/cvs/appdb/admin/adminAppQueue.php,v
retrieving revision 1.15
diff -u -p -r1.15 adminAppQueue.php
--- admin/adminAppQueue.php	19 Jan 2005 04:58:12 -0000	1.15
+++ admin/adminAppQueue.php	22 Jan 2005 23:55:14 -0000
@@ -58,8 +58,8 @@ if ($_REQUEST['sub'])
             echo "an email will be sent to the author of the submission.<p>\n";
 
             echo "      <b>App Version</b> This type of application will be nested under the selected application parent.\n";
-            echo "<p>Click delete to remove the selected item from the queue. An email will automatically be sent to the\n";
-            echo "submitter to let them know the item was deleted.</p>\n\n";        
+            echo "<p>Click delete to remove the selected item from the queue an email will automatically be sent to the\n";
+            echo "submitter to let him know the item was deleted.</p>\n\n";        
             echo "</td></tr></table></div>\n\n";    
 
             echo '<input type=hidden name=type value="ver">',"\n"; 
Index: admin/adminCommentView.php
===================================================================
RCS file: /var/cvs/appdb/admin/adminCommentView.php,v
retrieving revision 1.4
diff -u -p -r1.4 adminCommentView.php
--- admin/adminCommentView.php	12 Jan 2005 16:22:55 -0000	1.4
+++ admin/adminCommentView.php	14 Jan 2005 15:29:55 -0000
@@ -70,7 +70,7 @@ display_range($currentPage, $pageRange, 
 echo "<br />";
 echo "<br />";
 
-/* display the option to choose how many comments per-page to disable */
+/* display the option to choose how many comments per-page to display */
 echo "<form method=\"get\" name=\"message\" action=\"".$_SERVER['PHP_SELF']."\">";
 echo "<b>Number of comments per page:</b>";
 echo "<select name='commentsPerPage'>";
Index: admin/editAppFamily.php
===================================================================
RCS file: /var/cvs/appdb/admin/editAppFamily.php,v
retrieving revision 1.17
diff -u -p -r1.17 editAppFamily.php
--- admin/editAppFamily.php	22 Jan 2005 01:38:14 -0000	1.17
+++ admin/editAppFamily.php	23 Jan 2005 00:04:00 -0000
@@ -136,7 +136,7 @@ if(isset($_REQUEST['submit']))
             }
         }
         
-        // Process changed URL's
+        // Process changed URLs
         
         for($i = 0; $i < $_REQUEST['rows']; $i++)
         {
Index: help/appdb_faq.help
===================================================================
RCS file: /var/cvs/appdb/help/appdb_faq.help,v
retrieving revision 1.4
diff -u -p -r1.4 appdb_faq.help
--- help/appdb_faq.help	26 Mar 2004 20:36:54 -0000	1.4
+++ help/appdb_faq.help	26 Jan 2005 11:45:45 -0000
@@ -51,7 +61,7 @@ reviewed and categorized by a maintainer
 
 <p><b>Q: How can I submit HowTo's and Screenshots?</b></p>
 <blockquote>
-<p><b>A:</b> We love to hear from our users. Send those helpful HowTo's and
+<p><b>A:</b> We love to hear from our users. Send those helpful HowTos and
 Screenshots right on over to <a href="mailto:appdb at winehq.org">appdb at winehq.org</a>.
 We'll be happy to post them, and give you proper credit for your great contribution.</p>
 </blockquote>
Index: help/generic.help
===================================================================
RCS file: /var/cvs/appdb/help/generic.help,v
retrieving revision 1.6
diff -u -p -r1.6 generic.help
--- help/generic.help	10 Jan 2005 22:15:44 -0000	1.6
+++ help/generic.help	26 Jan 2005 11:48:08 -0000
@@ -59,7 +59,7 @@ or <a href="http://pan.rebelbase.com/">P
 
 <li><a href="http://www.freenode.net">Freenode.net</a> hosts a chat room for
 Wine. You can access the chat room using an IRC program such as
-<a href="http://www.xchat.org/">X-Chat</a>. Use the settings listed below.</li><p>
+<a href="http://www.xchat.org/">Xchat</a>. Use the settings listed below.</li><p>
 
 <blockquote>
     <b>Server:</b> irc.freenode.net<br>
Index: help/privacy.help
===================================================================
RCS file: /var/cvs/appdb/help/privacy.help,v
retrieving revision 1.3
diff -u -p -r1.3 privacy.help
--- help/privacy.help	26 Mar 2004 20:36:54 -0000	1.3
+++ help/privacy.help	26 Jan 2005 11:49:53 -0000
@@ -3,7 +3,7 @@
 <h3>Application DB Privacy Policy</h3>
 
 <p>
-<b>WineHQ is decidated to the privacy of its users.</b><br>
+<b>WineHQ is dedicated to the privacy of its users.</b><br>
 <ul>
 	Whatever specific information you give to us will be used only to enable user
 	specific features of the Application Database. We will give your information
Index: help/ratings.help
===================================================================
RCS file: /var/cvs/appdb/help/ratings.help,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 ratings.help
--- help/ratings.help	15 Mar 2004 16:22:01 -0000	1.1.1.1
+++ help/ratings.help	25 Jan 2005 23:23:12 -0000
@@ -28,7 +28,7 @@ pessimistic.
         <li> <b>0</b> -- Unrated.
         <li> <b>1</b> -- Totally nonfunctional. Crashes on load.
         <li> <b>2</b> -- Partial functionality. Good enough for a carefully scripted demo.
-        <li> <b>3</b> -- Sufficient functionality for noncritical work. Occasional crashes okay,
+        <li> <b>3</b> -- Sufficient functionality for non critical work. Occasional crashes okay,
                          as are weird setup problems, required patches, or missing major functionality.
 			 Alpha quality.
         <li> <b>4</b> -- Substantially correct. Good enough for general use, with possible 
Index: include/config.php.sample
===================================================================
RCS file: /var/cvs/appdb/include/config.php.sample,v
retrieving revision 1.8
diff -u -p -r1.8 config.php.sample
--- include/config.php.sample	12 Jan 2005 16:22:55 -0000	1.8
+++ include/config.php.sample	14 Jan 2005 15:32:00 -0000
@@ -14,7 +14,7 @@ define("APPDB_SCREENSHOT_MAXWIDTH","800"
 define("APPDB_SCREENSHOT_MAXHEIGHT","600"); // height of the screenshot's thumbnails
 define("APPDB_ROOT", "http://appdb.winehq.org/");  // path to AppDB
 define("STANDARD_NOTIFY_FOOTER","------- You are receiving this mail because: -------\n".
-"You are an maintainer of this application or an AppDB administrator\n".
+"You are a maintainer of this application or an AppDB administrator\n".
 "to change your preferences go to: ".APPDB_ROOT."preferences.php\n");
 define("APPDB_OWNER","WineHQ"); // with what product/company is this AppDB related ?
 define("APPDB_OWNER_URL","http://www.winehq.org/"); // website of this product/company
Index: include/incl.php
===================================================================
RCS file: /var/cvs/appdb/include/incl.php,v
retrieving revision 1.18
diff -u -p -r1.18 incl.php
--- include/incl.php	15 Jan 2005 06:02:01 -0000	1.18
+++ include/incl.php	22 Jan 2005 23:56:44 -0000
@@ -164,7 +164,7 @@ function redirect($url)
 }
 
 /**
- * redirect back to referer, or else to the main page
+ * redirect back to referrer, or else to the main page
  */
 function redirectref($url = null)
 {
@@ -190,7 +190,7 @@ function addmsg($text, $color = "black")
     $sQuery = "INSERT INTO sessionMessages VALUES (null, null, '".session_id()."', '$text')";
     if (!mysql_query($sQuery,$hAppdbLink))
     {
-        echo "An error has occured in addmsg(): ".mysql_error($hAppdbLink);
+        echo "An error has occurred in addmsg(): ".mysql_error($hAppdbLink);
         echo $text;
     }
 }
Index: include/user.php
===================================================================
RCS file: /var/cvs/appdb/include/user.php,v
retrieving revision 1.29
diff -u -p -r1.29 user.php
--- include/user.php	17 Jan 2005 04:30:39 -0000	1.29
+++ include/user.php	22 Jan 2005 23:55:47 -0000
@@ -79,7 +79,7 @@ class User {
                               "email = '$sEmail' AND ".
                               "password = password('$sPassword')");
         if(!$result)
-            return "A database error occured";
+            return "A database error occurred";
 
         if(mysql_num_rows($result) == 0)
             return "Invalid e-mail or password";
@@ -171,7 +171,7 @@ class User {
             $sEmail = $this->email;
         $result = query_appdb("DELETE FROM user_list WHERE email = '".$sEmail."'");
         if(!$result)
-            return "A database error occured";
+            return "A database error occurred";
         return 0;
     }
 
@@ -222,7 +222,7 @@ class User {
 
 
     /**
-     * check if this user is an maintainer of a given appId/versionId
+     * check if this user is a maintainer of a given appId/versionId
      */
     function is_maintainer($appId, $versionId)
     {
@@ -245,7 +245,7 @@ class User {
 
 
     /*
-     * check if this user is an maintainer of a given appId/versionId
+     * check if this user is a maintainer of a given appId/versionId
      */
     function is_super_maintainer($appId)
     {


More information about the wine-patches mailing list