gnucash maint: Bug 798657 - Import Summary language is wrong

John Ralls jralls at code.gnucash.org
Fri Dec 16 18:34:30 EST 2022


Updated	 via  https://github.com/Gnucash/gnucash/commit/091d4aff (commit)
	from  https://github.com/Gnucash/gnucash/commit/dd48a025 (commit)



commit 091d4aff2205cfd99c63800ff56a86b858557c52
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri Dec 16 15:25:59 2022 -0800

    Bug 798657 - Import Summary language is wrong
    
    Root cause is using boost::locale::translate because it ignores
    the LANGUAGES environment variable and doesn't support different
    values for LC_MESSAGES, LC_DATE, LC_MONETARY, and LC_NUMERIC.
    That makes it impossible to configure a user environment that
    presents translated strings in a different locale from the one
    applied to formatting dates and numbers.
    
    To correct this replace all use of boost::locale::translate
    with GNU gettext.



Summary of changes:
 gnucash/gnucash-cli.cpp                            | 12 +++++-----
 gnucash/gnucash-commands.cpp                       |  2 +-
 gnucash/gnucash-core-app.cpp                       | 27 +++++++++++-----------
 gnucash/gnucash.cpp                                | 18 +++++++--------
 .../csv-imp/assistant-csv-trans-import.cpp         |  2 +-
 .../import-export/csv-imp/gnc-imp-props-price.cpp  |  8 +++----
 gnucash/import-export/csv-imp/gnc-imp-props-tx.cpp | 24 +++++++++----------
 libgnucash/core-utils/gnc-filepath-utils.cpp       | 26 ++++++++++-----------
 8 files changed, 60 insertions(+), 59 deletions(-)



More information about the gnucash-patches mailing list