Fix typos in libgnucash/

Found via `codespell -q 3 -L ans,ba,parm,parms,numer`
This commit is contained in:
luz paz
2021-02-05 14:52:33 -05:00
committed by Frank H. Ellenberger
parent fa1be8f375
commit 16b4976381
70 changed files with 151 additions and 151 deletions

View File

@@ -651,7 +651,7 @@ GncDbiBackend<Type>::session_begin (QofSession* session, const char* new_uri,
uri.m_portnum = PGSQL_DEFAULT_PORT;
/* Postgres's SQL interface coerces identifiers to lower case, but the
* C interface is case-sensitive. This results in a mixed-case dbname
* being created (with a lower case name) but then dbi can't conect to
* being created (with a lower case name) but then dbi can't connect to
* it. To work around this, coerce the name to lowercase first. */
auto lcname = g_utf8_strdown (uri.dbname(), -1);
uri.m_dbname = std::string{lcname};

View File

@@ -40,7 +40,7 @@ void gnc_module_init_backend_dbi (void);
void gnc_module_finalize_backend_dbi (void);
#ifndef GNC_NO_LOADABLE_MODULES
/** This is the standarized initialization function of a qof_backend
/** This is the standardized initialization function of a qof_backend
* GModule, but compiling this can be disabled by defining
* GNC_NO_LOADABLE_MODULES. */
G_MODULE_EXPORT void qof_backend_module_init (void);

View File

@@ -22,7 +22,7 @@
/*
* FILE:
* esacpe.c
* escape.c
*
* FUNCTION:
* Escapes the ' and \ characters in a string

View File

@@ -322,7 +322,7 @@ deprecated_account_security_handler (xmlNodePtr node, gpointer act_pdata)
PWARN ("Account %s: Obsolete xml tag 'act:security' will not be preserved.",
xaccAccountGetName (pdata->account));
/* If the account has both a commodity and a security elemet, and
/* If the account has both a commodity and a security element, and
the commodity is a currecny, then the commodity is probably
wrong. In that case we want to replace it with the
security. jralls 2010-11-02 */

View File

@@ -60,7 +60,7 @@ typedef enum
void gnc_module_init_backend_xml (void);
#ifndef GNC_NO_LOADABLE_MODULES
/** This is the standarized initialization function of a qof_backend
/** This is the standardized initialization function of a qof_backend
* GModule, but compiling this can be disabled by defining
* GNC_NO_LOADABLE_MODULES. This one simply calls
* gnc_module_init_backend_file(). */

View File

@@ -132,7 +132,7 @@ book_slots_handler (xmlNodePtr node, gpointer book_pdata)
QofBook* book = static_cast<decltype (book)> (book_pdata);
gboolean success;
/* the below works only because the get is gaurenteed to return
/* the below works only because the get is guaranteed to return
* a frame, even if its empty */
success = dom_tree_create_instance_slots (node, QOF_INSTANCE (book));

View File

@@ -1619,7 +1619,7 @@ gnc_book_write_to_xml_file_v2 (
/*
* Have to pass in the backend as this routine needs the temporary
* backend for file export, not the real backend which could be
* postgress or anything else.
* postgresql or anything else.
*/
gboolean
gnc_book_write_accounts_to_xml_file_v2 (QofBackend* qof_be, QofBook* book,

View File

@@ -1283,7 +1283,7 @@
</date-entered>
<split>
<guid>96d4d8f635a24068e09c73e6fb953539</guid>
<memo>Begining balance</memo>
<memo>Beginning balance</memo>
<reconcile-state>n</reconcile-state>
<value>1035/1</value>
<quantity>103534000/100000</quantity>

View File

@@ -1260,7 +1260,7 @@
<trn:splits>
<trn:split>
<split:id type="guid">96d4d8f635a24068e09c73e6fb953539</split:id>
<split:memo>Begining balance</split:memo>
<split:memo>Beginning balance</split:memo>
<split:reconciled-state>n</split:reconciled-state>
<split:value>103534000/100000</split:value>
<split:quantity>103534000/100000</split:quantity>