mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-26 02:40:43 -06:00
Merge Richard Cohen's 'fix-typos' into stable.
This commit is contained in:
commit
32e1d664c8
@ -2129,7 +2129,7 @@ gnc_register_multichoice_callback_option(GncOptionDBPtr& db,
|
||||
});
|
||||
}
|
||||
|
||||
/** Tailred for gnc:generate-restore-forms.
|
||||
/** Tailored for gnc:generate-restore-forms.
|
||||
* @param section_op A function to be called on each section name
|
||||
* @param option_op a function to be called on each option
|
||||
*/
|
||||
|
@ -77,7 +77,7 @@
|
||||
<act:parent type="new">e5e6414e2da9abb0d11a675a1244e380</act:parent>
|
||||
</gnc:account>
|
||||
<gnc:account version="2.0.0">
|
||||
<act:name>Commisssions</act:name>
|
||||
<act:name>Commissions</act:name>
|
||||
<act:id type="new">4dbd931cbbd8483c717a98897f00a65b</act:id>
|
||||
<act:type>INCOME</act:type>
|
||||
<act:commodity>
|
||||
|
@ -622,7 +622,7 @@ gnc_prefs_move_grid_entry (GtkWidget *child,
|
||||
|
||||
|
||||
/** At dialog creation time, this function will be called once per
|
||||
* adds-in. It performs the work of adding the page into the main
|
||||
* add-in. It performs the work of adding the page into the main
|
||||
* dialog. It handles both the case of a full page being added to
|
||||
* the dialog, and a partial page being added.
|
||||
*
|
||||
|
@ -298,7 +298,7 @@ gnc_window_adjust_for_screen(GtkWindow * window)
|
||||
}
|
||||
|
||||
/********************************************************************\
|
||||
* Sets the alignament of a Label Widget, GTK3 version specific. *
|
||||
* Sets the alignment of a Label Widget, GTK3 version specific. *
|
||||
* *
|
||||
* Args: widget - the label widget to set alignment on *
|
||||
* xalign - x alignment *
|
||||
@ -431,7 +431,7 @@ gnc_gdate_in_valid_range (GDate *test_date, gboolean warn)
|
||||
|
||||
if (warn && !ret)
|
||||
{
|
||||
// Transators: Use your locale date format here!
|
||||
// Translators: Use your locale date format here!
|
||||
gchar *dialog_msg = _("The entered date is out of the range "
|
||||
"01/01/1400 - 31/12/9999, resetting to this year");
|
||||
gchar *dialog_title = _("Date out of range");
|
||||
|
@ -69,7 +69,7 @@ void gnc_save_window_size (const char *section, GtkWindow *window);
|
||||
void gnc_window_adjust_for_screen (GtkWindow * window);
|
||||
|
||||
/********************************************************************\
|
||||
* Sets the alignament of a Label Widget, GTK3 version specific. *
|
||||
* Sets the alignment of a Label Widget, GTK3 version specific. *
|
||||
* *
|
||||
* Args: widget - the label widget to set alignment on *
|
||||
* xalign - x alignment *
|
||||
|
@ -175,7 +175,7 @@ gnc_update_splash_screen (const gchar *string, double percentage)
|
||||
round(gtk_progress_bar_get_fraction(GTK_PROGRESS_BAR(progress_bar)) * 100.0);
|
||||
if (percentage >= 0 && percentage <= 100.0 &&
|
||||
round(percentage) == curr_fraction)
|
||||
return; // No change so don't wast time running the main loop
|
||||
return; // No change so don't waste time running the main loop
|
||||
|
||||
if (percentage <= 0)
|
||||
{
|
||||
|
@ -158,7 +158,7 @@ scm_run_gnucash (void *data, [[maybe_unused]] int argc, [[maybe_unused]] char **
|
||||
Gnucash::gnc_load_scm_config();
|
||||
|
||||
/* Setting-up the report menu must come after the module
|
||||
loading but before the gui initializat*ion. */
|
||||
loading but before the gui initialization. */
|
||||
gnc_plugin_report_system_new();
|
||||
|
||||
/* TODO: After some more guile-extraction, this should happen even
|
||||
|
@ -164,7 +164,7 @@
|
||||
(N_ "Height of plot, 10 - 100 in percent, above in pixels.")
|
||||
height)))
|
||||
|
||||
;; A multicoice option for the marker of a scatter plot.
|
||||
;; A multichoice option for the marker of a scatter plot.
|
||||
(define (gnc:options-add-marker-choice!
|
||||
options pagename optname sort-tag default)
|
||||
(gnc-register-multichoice-option (gnc:optiondb options)
|
||||
|
@ -134,7 +134,7 @@ static void address_cb(gpointer data, gpointer user_data)
|
||||
|
||||
/** Creates a new query that searches for all GncAddress items in the
|
||||
* current book. */
|
||||
static QofQuery *new_query_for_addresss(QofBook *book)
|
||||
static QofQuery *new_query_for_address(QofBook *book)
|
||||
{
|
||||
QofQuery *query = qof_query_create_for (GNC_ID_ADDRESS);
|
||||
g_assert(book);
|
||||
@ -148,7 +148,7 @@ static QofQuery *new_query_for_addresss(QofBook *book)
|
||||
static AddressQF* build_shared_quickfill (QofBook *book, const char * key)
|
||||
{
|
||||
AddressQF *result;
|
||||
QofQuery *query = new_query_for_addresss(book);
|
||||
QofQuery *query = new_query_for_address(book);
|
||||
GList *entries = qof_query_run(query);
|
||||
|
||||
/* g_warning("Found %d GncAddress items", g_list_length (entries)); */
|
||||
|
@ -337,7 +337,7 @@ GncSqlBackend::load (QofBook* book, QofBackendLoadType loadType)
|
||||
});
|
||||
m_postload_commodities.clear();
|
||||
|
||||
/* Mark the sessoion as clean -- though it should never be marked
|
||||
/* Mark the session as clean -- though it should never be marked
|
||||
* dirty with this backend
|
||||
*/
|
||||
qof_book_mark_session_saved (book);
|
||||
|
@ -66,7 +66,7 @@ typedef enum
|
||||
typedef struct AccountPrivate
|
||||
{
|
||||
/* The accountName is an arbitrary string assigned by the user.
|
||||
* It is intended to a short, 5 to 30 character long string that
|
||||
* It is intended to be a short, 5 to 30 character long string that
|
||||
* is displayed by the GUI as the account mnemonic.
|
||||
*/
|
||||
const char *accountName;
|
||||
|
@ -1,5 +1,5 @@
|
||||
/********************************************************************\
|
||||
* qofsesssion.cpp -- session access (connection to backend) *
|
||||
* qofsession.cpp -- session access (connection to backend) *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License as *
|
||||
|
Loading…
Reference in New Issue
Block a user