mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
spelling fixes
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# Test for the Boost C++ libraries of a particular version (or newer)
|
||||
#
|
||||
# If no path to the installed boost library is given the macro searchs
|
||||
# If no path to the installed boost library is given the macro searches
|
||||
# under /usr, /usr/local, /opt and /opt/local and evaluates the
|
||||
# $BOOST_ROOT environment variable. Further documentation is available at
|
||||
# <http://randspringer.de/boost/index.html>.
|
||||
|
||||
@@ -216,7 +216,7 @@ set_options(dbi_conn conn, const PairVec& options)
|
||||
* Sets standard db options in a dbi_conn.
|
||||
*
|
||||
* @param conn dbi_conn connection
|
||||
* @param uri UriStrings containing the needed paramters.
|
||||
* @param uri UriStrings containing the needed parameters.
|
||||
* @return TRUE if successful, FALSE if error
|
||||
*/
|
||||
template <DbType Type> bool
|
||||
|
||||
@@ -86,7 +86,7 @@ public:
|
||||
*/
|
||||
void begin(QofInstance*) override;
|
||||
/**
|
||||
* Object editting is complete and the object should be saved.
|
||||
* Object editing is complete and the object should be saved.
|
||||
*
|
||||
* @param inst Object being edited
|
||||
*/
|
||||
@@ -118,7 +118,7 @@ public:
|
||||
* to qof and nullptr is returned.
|
||||
*
|
||||
* @param statement Statement
|
||||
* @return Results, or nullptr if an error has occured
|
||||
* @return Results, or nullptr if an error has occurred
|
||||
*/
|
||||
GncSqlResultPtr execute_select_statement(const GncSqlStatementPtr& stmt) const noexcept;
|
||||
int execute_nonselect_statement(const GncSqlStatementPtr& stmt) const noexcept;
|
||||
|
||||
@@ -449,7 +449,7 @@ inline bool operator!=(const GncSqlColumnInfo& l,
|
||||
* @param setter The function to set the property.
|
||||
* The void* is an obvious wart occasioned by the fact that we're using GLists
|
||||
* to hold objects. As the rewrite progresses we'll replace that with another
|
||||
* template paramter.
|
||||
* template parameter.
|
||||
*/
|
||||
template <typename T, typename P, typename F>
|
||||
void set_parameter(T object, P item, F& setter)
|
||||
|
||||
@@ -56,7 +56,7 @@ using GncSqlStatementPtr = std::unique_ptr<GncSqlStatement>;
|
||||
|
||||
/**
|
||||
* Encapsulate the connection to the database. This is an abstract class; the
|
||||
* implmentation is database-specific.
|
||||
* implementation is database-specific.
|
||||
*/
|
||||
class GncSqlConnection
|
||||
{
|
||||
|
||||
@@ -45,7 +45,7 @@ using EntryVec = std::vector<GncSqlColumnTableEntryPtr>;
|
||||
* commit a changed front-end object (note that database transaction semantics
|
||||
* are not yet implemented; edit/commit applies to the front-end object!) and
|
||||
* write all front-end objects of the type to the database. Additional functions
|
||||
* for creating and runing queries existed but were unused and untested. They've
|
||||
* for creating and running queries existed but were unused and untested. They've
|
||||
* been temporarily removed until the front end is ready to use them.
|
||||
*/
|
||||
class GncSqlObjectBackend
|
||||
|
||||
@@ -232,7 +232,7 @@ add_account_local (sixtp_gdv2* data, Account* act)
|
||||
xaccAccountScrubCommodity (act);
|
||||
xaccAccountScrubKvp (act);
|
||||
|
||||
/* Backwards compatability. If there's no parent, see if this
|
||||
/* Backwards compatibility. If there's no parent, see if this
|
||||
* account is of type ROOT. If not, find or create a ROOT
|
||||
* account and make that the parent. */
|
||||
type = xaccAccountGetType (act);
|
||||
@@ -1138,7 +1138,7 @@ write_pricedb (FILE* out, QofBook* book, sixtp_gdv2* gd)
|
||||
return FALSE;
|
||||
|
||||
/* We create our own output buffer so we can call xmlNodeDumpOutput to get
|
||||
the indendation correct. */
|
||||
the indentation correct. */
|
||||
outbuf = xmlOutputBufferCreateFile (out, NULL);
|
||||
if (outbuf == NULL)
|
||||
{
|
||||
|
||||
@@ -5143,7 +5143,7 @@ gnc_account_imap_delete_account (GncImportMatchMap *imap,
|
||||
struct account_token_count
|
||||
{
|
||||
char* account_guid;
|
||||
gint64 token_count; /**< occurances of a given token for this account_guid */
|
||||
gint64 token_count; /**< occurrences of a given token for this account_guid */
|
||||
};
|
||||
|
||||
/** total_count and the token_count for a given account let us calculate the
|
||||
|
||||
@@ -407,7 +407,7 @@ GNCPrice * gnc_pricedb_lookup_latest(GNCPriceDB *db,
|
||||
PriceList * gnc_pricedb_lookup_latest_any_currency(GNCPriceDB *db,
|
||||
const gnc_commodity *commodity);
|
||||
|
||||
/** @brief Report wether the pricedb contains prices for one commodity in
|
||||
/** @brief Report whether the pricedb contains prices for one commodity in
|
||||
* another.
|
||||
*
|
||||
* Does *not* check the reverse direction.
|
||||
|
||||
@@ -128,7 +128,7 @@ TEST_F(ImapPlainTest, FindAccount)
|
||||
|
||||
TEST_F(ImapPlainTest, AddAccount)
|
||||
{
|
||||
// prevent the embedded beginedit/commitedit from doing anything
|
||||
// prevent the embedded beginedit/committedit from doing anything
|
||||
qof_instance_increase_editlevel(QOF_INSTANCE(t_bank_account));
|
||||
qof_instance_mark_clean(QOF_INSTANCE(t_bank_account));
|
||||
gnc_account_imap_add_account(t_imap, "foo", "bar", t_expense_account1);
|
||||
@@ -165,7 +165,7 @@ TEST_F(ImapPlainTest, DeleteAccount)
|
||||
Path path2 {IMAP_FRAME, "foo"};
|
||||
Path path3 {IMAP_FRAME};
|
||||
|
||||
// prevent the embedded beginedit/commitedit from doing anything
|
||||
// prevent the embedded beginedit/committedit from doing anything
|
||||
qof_instance_increase_editlevel(QOF_INSTANCE(t_bank_account));
|
||||
qof_instance_mark_clean(QOF_INSTANCE(t_bank_account));
|
||||
gnc_account_imap_add_account(t_imap, "foo", "bar", t_expense_account1);
|
||||
@@ -272,7 +272,7 @@ TEST_F(ImapBayesTest, FindAccountBayes)
|
||||
|
||||
TEST_F(ImapBayesTest, AddAccountBayes)
|
||||
{
|
||||
// prevent the embedded beginedit/commitedit from doing anything
|
||||
// prevent the embedded beginedit/committedit from doing anything
|
||||
qof_instance_increase_editlevel(QOF_INSTANCE(t_bank_account));
|
||||
qof_instance_mark_clean(QOF_INSTANCE(t_bank_account));
|
||||
gnc_account_imap_add_account_bayes(t_imap, t_list1, t_expense_account1);
|
||||
@@ -318,7 +318,7 @@ TEST_F(ImapBayesTest, AddAccountBayes)
|
||||
|
||||
TEST_F(ImapBayesTest, ConvertAccountBayes)
|
||||
{
|
||||
// prevent the embedded beginedit/commitedit from doing anything
|
||||
// prevent the embedded beginedit/committedit from doing anything
|
||||
qof_instance_increase_editlevel(QOF_INSTANCE(t_bank_account));
|
||||
qof_instance_mark_clean(QOF_INSTANCE(t_bank_account));
|
||||
gnc_account_imap_add_account_bayes(t_imap, t_list1, t_expense_account1); //Food
|
||||
|
||||
@@ -555,7 +555,7 @@ gnc_plugin_page_account_tree_open (Account *account, GtkWindow *win)
|
||||
|
||||
g_hash_table_insert (priv->fd.filter_override, account, account);
|
||||
|
||||
// make sure we overide all the parent accounts to root
|
||||
// make sure we override all the parent accounts to root
|
||||
while (parent_account != root_account)
|
||||
{
|
||||
parent_account = gnc_account_get_parent (temp_account);
|
||||
|
||||
@@ -81,7 +81,7 @@ fill_model_with_match (GMatchInfo *match_info,
|
||||
/*******************************************************
|
||||
* csv_fixed_trans_import_read_file
|
||||
*
|
||||
* Parse the file for a correctly formated file
|
||||
* Parse the file for a correctly formatted file
|
||||
*******************************************************/
|
||||
csv_fixed_trans_import_result
|
||||
csv_fixed_trans_import_read_file (const gchar *filename, const gchar *parser_regexp,
|
||||
|
||||
@@ -45,7 +45,7 @@ typedef struct
|
||||
|
||||
const gchar *encoding; // File encoding
|
||||
|
||||
gboolean separator[SEP_NUM_OF_TYPES]; // The seperators
|
||||
gboolean separator[SEP_NUM_OF_TYPES]; // The separators
|
||||
|
||||
gboolean custom; // Custom entry set
|
||||
const gchar *custom_entry; // Custom Entry
|
||||
|
||||
@@ -69,7 +69,7 @@ struct QofBackendProvider
|
||||
|
||||
using QofBackendProvider_ptr = std::unique_ptr<QofBackendProvider>;
|
||||
|
||||
/** Let the sytem know about a new provider of backends. This function
|
||||
/** Let the system know about a new provider of backends. This function
|
||||
* is typically called by the provider library at library load time.
|
||||
* This function allows the backend library to tell the QOF infrastructure
|
||||
* that it can handle URL's of a certain type. Note that a single
|
||||
|
||||
@@ -140,7 +140,7 @@ enum // Values for m_flags
|
||||
int cmp (const GncInt128& b) const noexcept;
|
||||
|
||||
/**
|
||||
* Computes the Greatest Common Divisor between the object and paramter
|
||||
* Computes the Greatest Common Divisor between the object and parameter
|
||||
*
|
||||
* @return A GncInt128 having the GCD.
|
||||
*/
|
||||
@@ -203,7 +203,7 @@ enum // Values for m_flags
|
||||
*/
|
||||
bool isOverflow () const noexcept;
|
||||
/**
|
||||
* @return true if an illegal calculation has occured.
|
||||
* @return true if an illegal calculation has occurred.
|
||||
*/
|
||||
bool isNan () const noexcept;
|
||||
/**
|
||||
|
||||
@@ -607,7 +607,7 @@
|
||||
(begin
|
||||
(gnc:html-table-set-cell/tag!
|
||||
html-table 1 current-col "centered-label-cell"
|
||||
(_ "Diff")) ;; Translators: Abbrevation for "Difference"
|
||||
(_ "Diff")) ;; Translators: Abbreviation for "Difference"
|
||||
(set! current-col (+ current-col 1))
|
||||
)
|
||||
)
|
||||
@@ -622,7 +622,7 @@
|
||||
;; When period is found it's passed to adjuster that is responsible for final calculation of period.
|
||||
;;
|
||||
;; If budget in future then first period of bundget is returned, if it in past, then the last period is returned
|
||||
;; if adjuster produced period number that is less then first period or greater then last period, the same rules apply.
|
||||
;; if adjuster produced period number that is less then first period or greater than last period, the same rules apply.
|
||||
;;
|
||||
;; Parameters:
|
||||
;; budget - budget to use
|
||||
|
||||
Reference in New Issue
Block a user