r22519 - gnucash/trunk/src - Small spelling and comment improvements accumulated while working on other stuff

Geert Janssens gjanssens at code.gnucash.org
Sat Nov 3 07:58:35 EDT 2012


Author: gjanssens
Date: 2012-11-03 07:58:35 -0400 (Sat, 03 Nov 2012)
New Revision: 22519
Trac: http://svn.gnucash.org/trac/changeset/22519

Modified:
   gnucash/trunk/src/bin/gnucash-bin.c
   gnucash/trunk/src/gnome/dialog-print-check.c
   gnucash/trunk/src/gnome/dialog-sx-editor.c
   gnucash/trunk/src/gnome/reconcile-view.c
   gnucash/trunk/src/libqof/qof/qofbook.c
Log:
Small spelling and comment improvements accumulated while working on other stuff

Modified: gnucash/trunk/src/bin/gnucash-bin.c
===================================================================
--- gnucash/trunk/src/bin/gnucash-bin.c	2012-11-03 09:22:11 UTC (rev 22518)
+++ gnucash/trunk/src/bin/gnucash-bin.c	2012-11-03 11:58:35 UTC (rev 22519)
@@ -403,7 +403,7 @@
 		  this_lang = [elements componentsJoinedByString: @"_"];
 	    }
 	    new_languages = [new_languages arrayByAddingObject: this_lang];
-/* If it's an english language, add the "C" locale after it so that
+/* If it's an English language, add the "C" locale after it so that
  * any messages can default to it */
 	    if ( [[elements objectAtIndex: 0] isEqualToString: @"en"])
 		new_languages = [new_languages arrayByAddingObject: @"C"];

Modified: gnucash/trunk/src/gnome/dialog-print-check.c
===================================================================
--- gnucash/trunk/src/gnome/dialog-print-check.c	2012-11-03 09:22:11 UTC (rev 22518)
+++ gnucash/trunk/src/gnome/dialog-print-check.c	2012-11-03 11:58:35 UTC (rev 22519)
@@ -1914,7 +1914,7 @@
  * directory.
  *
  * NOTE: The gtk_image_new_from_file() function never fails.  If it can't
- * find the specified file, it returs the "broken image" icon.  This function
+ * find the specified file, it returns the "broken image" icon.  This function
  * takes advantage of that.
 */
 static GtkWidget *

Modified: gnucash/trunk/src/gnome/dialog-sx-editor.c
===================================================================
--- gnucash/trunk/src/gnome/dialog-sx-editor.c	2012-11-03 09:22:11 UTC (rev 22518)
+++ gnucash/trunk/src/gnome/dialog-sx-editor.c	2012-11-03 11:58:35 UTC (rev 22519)
@@ -917,14 +917,14 @@
                                gnc_date_edit_get_date(
                                    sxed->endDateEntry ) );
             xaccSchedXactionSetEndDate( sxed->sx, &gdate );
-            /* set the num occurances data */
+            /* set the num occurrences data */
             xaccSchedXactionSetNumOccur( sxed->sx, 0 );
         }
         else if ( gtk_toggle_button_get_active(sxed->optEndCount) )
         {
             gint num;
 
-            /* get the occurances data */
+            /* get the occurrences data */
             num  =
                 gtk_spin_button_get_value_as_int ( GTK_SPIN_BUTTON(sxed->endCountSpin) );
             xaccSchedXactionSetNumOccur( sxed->sx, num );

Modified: gnucash/trunk/src/gnome/reconcile-view.c
===================================================================
--- gnucash/trunk/src/gnome/reconcile-view.c	2012-11-03 09:22:11 UTC (rev 22518)
+++ gnucash/trunk/src/gnome/reconcile-view.c	2012-11-03 11:58:35 UTC (rev 22519)
@@ -332,7 +332,7 @@
 
     /*
      * Need to get all splits in this transaction and identify any that are
-     * in the same heirarchy as the account being reconciled (not necessarily
+     * in the same hierarchy as the account being reconciled (not necessarily
      * the account this split is from.)
      *
      * For each of these splits toggle them all to the same state.
@@ -350,7 +350,7 @@
         other_account = xaccSplitGetAccount (other_split);
         if (other_split == split)
             continue;
-        /* Check this 'other' account in in the same heirarchy */
+        /* Check this 'other' account in in the same hierarchy */
         if (!g_list_find (child_accounts, other_account))
             continue;
         /* Search our sibling view for this split first.  We search the

Modified: gnucash/trunk/src/libqof/qof/qofbook.c
===================================================================
--- gnucash/trunk/src/libqof/qof/qofbook.c	2012-11-03 09:22:11 UTC (rev 22518)
+++ gnucash/trunk/src/libqof/qof/qofbook.c	2012-11-03 11:58:35 UTC (rev 22519)
@@ -414,7 +414,7 @@
     /* Get the current counter value from the KVP in the book. */
     counter = qof_book_get_counter(book, counter_name);
 
-    /* Check if an error occured */
+    /* Check if an error occurred */
     if (counter < 0)
         return NULL;
 



More information about the gnucash-changes mailing list