mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Spelling corrections in comments
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21180 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -312,7 +312,7 @@ gnc_ui_account_get_balance_full (xaccGetBalanceInCurrencyFn fn,
|
||||
}
|
||||
|
||||
/*
|
||||
* 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 @@ gnc_ui_account_get_balance (const Account *account, gboolean recurse)
|
||||
}
|
||||
|
||||
/*
|
||||
* 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 @@ gnc_ui_account_get_balance_in_currency (const Account *account,
|
||||
}
|
||||
|
||||
/*
|
||||
* 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 @@ string_after_colon (const char *msgstr)
|
||||
* 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_valid_flags (void)
|
||||
* 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 @@ PrintAmountInternal(char *buf, gnc_numeric val, const GNCPrintAmountInfo *info)
|
||||
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 @@ static gchar *big_numbers[] =
|
||||
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. */
|
||||
|
||||
@@ -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 @@ gnc_numeric xaccAccountGetBalanceChangeForPeriod (
|
||||
* 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 @@ gnc_numeric xaccAccountGetBalanceChangeForPeriod (
|
||||
*/
|
||||
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 @@ Account * gnc_account_get_parent (const Account *account);
|
||||
* 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 @@ void gnc_account_foreach_child (const Account *account,
|
||||
/** 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 @@ void gnc_account_foreach_descendant (const Account *account,
|
||||
/** 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 @@ gpointer gnc_account_foreach_descendant_until (const Account *account,
|
||||
|
||||
/** 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 @@ void gnc_account_join_children (Account *to_parent, Account *from_parent);
|
||||
|
||||
/** 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 @@ Account *gnc_account_lookup_by_code (const Account *parent,
|
||||
*/
|
||||
/**
|
||||
* 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 @@ LotList* xaccAccountGetLotList (const Account *account);
|
||||
/** 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 @@ int gnc_account_tree_staged_transaction_traversal(const Account *account,
|
||||
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 @@ int gnc_account_tree_staged_transaction_traversal(const Account *account,
|
||||
* 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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user