r21180 - gnucash/trunk/src - Spelling corrections in comments

Geert Janssens gjanssens at code.gnucash.org
Sat Aug 13 11:33:17 EDT 2011


Author: gjanssens
Date: 2011-08-13 11:33:17 -0400 (Sat, 13 Aug 2011)
New Revision: 21180
Trac: http://svn.gnucash.org/trac/changeset/21180

Modified:
   gnucash/trunk/src/app-utils/gnc-ui-util.c
   gnucash/trunk/src/engine/Account.h
Log:
Spelling corrections in comments

Modified: gnucash/trunk/src/app-utils/gnc-ui-util.c
===================================================================
--- gnucash/trunk/src/app-utils/gnc-ui-util.c	2011-08-13 15:33:07 UTC (rev 21179)
+++ gnucash/trunk/src/app-utils/gnc-ui-util.c	2011-08-13 15:33:17 UTC (rev 21180)
@@ -312,7 +312,7 @@
 }
 
 /*
- * This routine retrives the total balance in an account, possibly
+ * This routine retrieves the total balance in an account, possibly
  * including all sub-accounts under the specified account.
  */
 gnc_numeric
@@ -323,7 +323,7 @@
 }
 
 /*
- * This routine retrives the total balance in an account converted to
+ * This routine retrieves the total balance in an account converted to
  * a given currency, possibly including all sub-accounts under the
  * specified account.
  */
@@ -337,7 +337,7 @@
 }
 
 /*
- * This routine retrives the reconciled balance in an account,
+ * This routine retrieves the reconciled balance in an account,
  * possibly including all sub-accounts under the specified account.
  */
 gnc_numeric
@@ -741,7 +741,7 @@
  * gnc_get_reconcile_str                                            *
  *   return the i18n'd string for the given reconciled flag         *
  *                                                                  *
- * Args: reconciled_flag - the flag to stringize                    *
+ * Args: reconciled_flag - the flag to convert into a string        *
  * Returns: the i18n'd reconciled string                            *
 \********************************************************************/
 const char *
@@ -789,7 +789,7 @@
  * gnc_get_reconcile_flag_order                                     *
  *   return a string containing the reconciled-flag change order    *
  *                                                                  *
- * Args: reconciled_flag - the flag to stringize                    *
+ * Args: reconciled_flag - the flag to convert into a string        *
  * Returns: the i18n'd reconciled string                            *
 \********************************************************************/
 const char *
@@ -1343,7 +1343,7 @@
         return 0;
     }
 
-    /* Print the absolute value, but remember negativity */
+    /* Print the absolute value, but remember sign */
     value_is_negative = gnc_numeric_negative_p (val);
     val = gnc_numeric_abs (val);
 
@@ -1747,10 +1747,10 @@
        thousands. */
     "Million",
     /* Translators: This is the word for the number 10^9, one thousand
-       millions. WATCH OUT: In British english and many other languages
+       millions. WATCH OUT: In British English and many other languages
        this word is used for 10^12 which is one million millions! In
        contrast to this, here in GnuCash this is used in the American
-       english meaning of 10^9.  */
+       English meaning of 10^9.  */
     "Billion",
     /* Translators: This is the word for the number 10^12, one million
        millions. */

Modified: gnucash/trunk/src/engine/Account.h
===================================================================
--- gnucash/trunk/src/engine/Account.h	2011-08-13 15:33:07 UTC (rev 21179)
+++ gnucash/trunk/src/engine/Account.h	2011-08-13 15:33:17 UTC (rev 21180)
@@ -28,7 +28,7 @@
     list of Splits, the Account structure also gives the Account a name, a
     code number, description and notes fields, a key-value frame, a pointer
     to the commodity that is used for all splits in this account. The
-    commodity can be the name of anything traded and tradable: a stock
+    commodity can be the name of anything traded and tradeable: a stock
     (e.g. "IBM", "McDonald's"), a currency (e.g. "USD", "GBP"), or
     anything added to the commodity table.
 
@@ -617,10 +617,10 @@
  * any account, both its parent and its children can be easily found.
  * To make the management of sets of accounts easier, an account does not
  * directly point at its children, but rather at an 'Account Group' that
- * stores the children.  At the top of the tree heirarchy lies a single
+ * stores the children.  At the top of the tree hierarchy lies a single
  * root node, the root account group.
  *
- * The account tree heirarchy is unique, in that a given account can
+ * The account tree hierarchy is unique, in that a given account can
  * have only one parent account.
  @{
 */
@@ -644,7 +644,7 @@
  */
 void gnc_account_append_child (Account *new_parent, Account *child);
 
-/** This function will remove the speified child account from the
+/** This function will remove the specified child account from the
  *  specified parent account. It will NOT free the associated memory
  *  or otherwise alter the account: the account can now be reparented
  *  to a new location.  Note, however, that it will mark the old
@@ -678,7 +678,7 @@
  *  belongs.  NULL if the account is not part of any account tree. */
 Account * gnc_account_get_root (Account *account);
 
-/** This routine indicates whether the spcified account is the root
+/** This routine indicates whether the specified account is the root
  *  node of an account tree.
  *
  *  @param account A pointer to any account.
@@ -824,7 +824,7 @@
 /** This method will traverse the immediate children of this accounts,
  *  calling 'func' on each account.  Traversal will stop when func
  *  returns a non-null value, and the routine will return with that
- *  value.  Therefore, this function will return null iff func returns
+ *  value.  Therefore, this function will return null if func returns
  *  null for every account.  For a simpler function that always
  *  traverses all children nodes, use the gnc_account_foreach_child()
  *  function.
@@ -859,7 +859,7 @@
 /** This method will traverse all children of this accounts and their
  *  descendants, calling 'func' on each account.  Traversal will stop
  *  when func returns a non-null value, and the routine will return
- *  with that value.  Therefore, this function will return null iff
+ *  with that value.  Therefore, this function will return null if
  *  func returns null for every account.  For a simpler function that
  *  always traverses all children nodes, use the
  *  gnc_account_foreach_descendant() function.
@@ -883,7 +883,7 @@
 
 /** The gnc_account_join_children() subroutine will move (reparent)
  *  all child accounts from the from_parent account to the to_parent
- *  account, preserving the account heirarchy.  It will also take care
+ *  account, preserving the account hierarchy.  It will also take care
  *  that the moved accounts will have the to_parent's book parent
  *  as well.
  */
@@ -891,7 +891,7 @@
 
 /** The gnc_account_copy_children() subroutine will copy all child
  *  accounts from the "src" account to the "dest" account, preserving
- *  the account heirarchy.  It will also take care that the moved
+ *  the account hierarchy.  It will also take care that the moved
  *  accounts will have the "dest" account's book parent as well.  This
  *  routine will *NOT* copy any splits/transactions.  It will copy the
  *  KVP trees in each account.
@@ -960,21 +960,21 @@
 */
 /**
  * Conversion routines for the account types to/from strings
- * that are used in persistant storage, communications.  These
+ * that are used in persistent storage, communications.  These
  * strings should *not* be translated to the local language.
- * Typical converstion is ACCT_TYPE_INCOME -> "INCOME". */
+ * Typical conversion is ACCT_TYPE_INCOME -> "INCOME". */
 const char * xaccAccountTypeEnumAsString (GNCAccountType type);
 /**
  * Conversion routines for the account types to/from strings
- * that are used in persistant storage, communications.  These
+ * that are used in persistent storage, communications.  These
  * strings should *not* be translated to the local language.
- * Typical converstion is "INCOME" -> ACCT_TYPE_INCOME. */
+ * Typical conversion is "INCOME" -> ACCT_TYPE_INCOME. */
 gboolean xaccAccountStringToType (const char* str, GNCAccountType *type);
 /**
  * Conversion routines for the account types to/from strings
- * that are used in persistant storage, communications.  These
+ * that are used in persistent storage, communications.  These
  * strings should *not* be translated to the local language.
- * Typical converstion is "INCOME" -> ACCT_TYPE_INCOME. */
+ * Typical conversion is "INCOME" -> ACCT_TYPE_INCOME. */
 GNCAccountType xaccAccountStringToEnum (const char* str);
 
 /** The xaccAccountGetTypeStr() routine returns a string suitable for
@@ -1097,7 +1097,7 @@
 /** The xaccAccountForEachLot() method will apply the function 'proc'
  *    to each lot in the account.  If 'proc' returns a non-NULL value,
  *    further application will be stopped, and the resulting value
- *    will be returned.  There is no guarenteed order over which
+ *    will be returned.  There is no guaranteed order over which
  *    the Lots will be traversed.
  */
 gpointer xaccAccountForEachLot(
@@ -1375,7 +1375,7 @@
         void *data);
 
 /** Traverse all of the transactions in the given account group.
- * Continue processing IFF @a proc returns 0. This function
+ * Continue processing IF @a proc returns 0. This function
  * will descend recursively to traverse transactions in the
  * children of the accounts in the group.
  *
@@ -1383,7 +1383,7 @@
  * pointed to by at least one split in any account in the hierarchy
  * topped by the root Account @a acc.
  *
- * The result of this function will be 0 IFF every relevant
+ * The result of this function will be 0 IF every relevant
  * transaction was traversed exactly once; otherwise, the return
  * value is the last non-zero value returned by the callback.
  *



More information about the gnucash-changes mailing list