Minor corrections in comments

This commit is contained in:
Geert Janssens
2023-01-31 10:50:54 +01:00
parent ea95580b42
commit 51706f289c
3 changed files with 3 additions and 5 deletions

View File

@@ -1732,8 +1732,6 @@ void CsvImpTransAssist::preview_validate_settings ()
/* Populates the account match view with all potential
* account names found in the parse data.
*
* @param info The data being previewed
*/
void CsvImpTransAssist::acct_match_set_accounts ()
{
@@ -1963,7 +1961,7 @@ CsvImpTransAssist::assist_account_match_page_prepare ()
// Load the account strings into the store
acct_match_set_accounts ();
// Match the account strings to the mappings
// Match the account strings to account maps from previous imports
auto store = gtk_tree_view_get_model (GTK_TREE_VIEW(account_match_view));
gnc_csv_account_map_load_mappings (store);

View File

@@ -113,7 +113,7 @@ GncNumeric parse_amount (const std::string &str, int currency_format)
if (str.empty())
return GncNumeric{};
/* Strings otherwise containing not digits will be considered invalid */
/* Strings otherwise containing no digits will be considered invalid */
if(!boost::regex_search(str, boost::regex("[0-9]")))
throw std::invalid_argument (_("Value doesn't appear to contain a valid number."));

View File

@@ -914,7 +914,7 @@ typedef enum
*/
/** The gnc_account_lookup_by_name() subroutine fetches the account by
* name from the descendants of the specified account. The immediate
* children are searched first. If there is no match,, then a
* children are searched first. If there is no match, then a
* recursive search of all descendants is performed looking for a
* match.
*