From ec169e6e2469a2bad1b16ebf364dc8aa58bbdf1a Mon Sep 17 00:00:00 2001 From: Richard Cohen Date: Wed, 15 Feb 2023 16:21:12 +0000 Subject: [PATCH] Fix some non-translatable typos --- bindings/guile/gnc-optiondb.i | 4 ++-- libgnucash/engine/gnc-option-impl.hpp | 4 ++-- libgnucash/engine/gnc-optiondb-impl.hpp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bindings/guile/gnc-optiondb.i b/bindings/guile/gnc-optiondb.i index 77edfaff93..ac29b91326 100644 --- a/bindings/guile/gnc-optiondb.i +++ b/bindings/guile/gnc-optiondb.i @@ -1736,7 +1736,7 @@ gnc_register_multichoice_callback_option(GncOptionDBPtr& db, } catch (const std::invalid_argument& err) { - std::cerr <<"Account Sel Limited Option, value failed validation, option not creted.\n"; + std::cerr <<"Account Sel Limited Option, value failed validation, option not created.\n"; return nullptr; } } @@ -1778,7 +1778,7 @@ gnc_register_multichoice_callback_option(GncOptionDBPtr& db, } catch (const std::invalid_argument& err) { - std::cerr <<"Date Option, value failed validation, option not creted.\n"; + std::cerr <<"Date Option, value failed validation, option not created.\n"; return nullptr; } } diff --git a/libgnucash/engine/gnc-option-impl.hpp b/libgnucash/engine/gnc-option-impl.hpp index 2fa0fa7c55..a473c994a4 100644 --- a/libgnucash/engine/gnc-option-impl.hpp +++ b/libgnucash/engine/gnc-option-impl.hpp @@ -59,7 +59,7 @@ size_t constexpr sort_tag_size_max{10}; #endif /** @struct OptionClassifier - * This class is the parent of all option implmentations. It contains the + * This class is the parent of all option implementations. It contains the * elements that the optiondb uses to retrieve option values and that the * options dialog determines on which tab to place the option, in what order, * and what string to display as a tooltip. @@ -150,7 +150,7 @@ private: }; /** class GncOptionCommodityValue - * Commodities are stored with their namespace and mnemonic instead of their gncGIUD + * Commodities are stored with their namespace and mnemonic instead of their gncGUID * so that they can be correctly retrieved even if they're deleted and recreated. * Additionally if GncOptionCommodityValue is created with GncOptionUIType::CURRENCY * it will throw std::invalid_argument if one attempts to set a value that isn't a diff --git a/libgnucash/engine/gnc-optiondb-impl.hpp b/libgnucash/engine/gnc-optiondb-impl.hpp index f6dbc169bb..6febc36f08 100644 --- a/libgnucash/engine/gnc-optiondb-impl.hpp +++ b/libgnucash/engine/gnc-optiondb-impl.hpp @@ -52,7 +52,7 @@ using GncOptionVec = std::vector; /** class GncOptionSection - * The upper-level classification implmentation. Contains the options for a + * The upper-level classification implementation. Contains the options for a * section; sections are displayed as separate tabs on the option dialog. */ class GncOptionSection