mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-22 08:57:17 -06:00
Fix some typos in comments
This commit is contained in:
parent
9b95419608
commit
3957272ef0
@ -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
|
||||
*/
|
||||
|
@ -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)
|
||||
|
@ -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