Commit Graph
100 Commits
Author SHA1 Message Date
Geert Janssens 585de5d134 GncQuotes - break actual interaction with Finance::Quote out into a separate function query_fq
That allows for later reuse and easier testing.
2022-10-02 11:50:26 -07:00
Geert Janssens 70ab8a8a46 GncQuotes - drop parameterized constructor
The book parameter is only needed while fetching quotes.
In case the user passes one or more commodities to process
the book can be readily derived from the commodity/commodities.
In the other case (fetch all quotes) the user now is
required to pass a book to the call.
2022-10-02 11:50:26 -07:00
Geert Janssens 4c2863966b GncQuotes - rename fetch_all to be an overload of fetch
And add a third overload to fetch only a single quote
2022-10-02 11:50:26 -07:00
Geert Janssens 7765e13704 Bindings - move log wrappers into the swig interface files
They are only used for guile (and possibly python, so there's
no need to carry them around in core-utils.
2022-10-02 11:50:26 -07:00
Geert Janssens e5c6f6026b Remove support code that was only used by price-quotes.scm 2022-10-02 11:50:26 -07:00
Geert Janssens e97fc3e408 Drop price-quotes.scm, gnc-fq-helper.in and gnc-fq-check.in - no longer used 2022-10-02 11:50:26 -07:00
Geert Janssens bf357315fd finance-quote-wrapper - implement check and fetch in one file via command line switches
This obsoletes gnc-fq-check as the same function can now be
performed with 'finance-quote-wrapper -v'
2022-10-02 11:50:26 -07:00
Geert Janssens 8c08fedaa1 Use GncQuotes in price db window 2022-10-02 11:50:26 -07:00
Geert Janssens 8896d61c7a Build dialog-price-edit-db as C++ 2022-10-02 11:50:26 -07:00
Geert Janssens fbf9aecd25 Use GncQuotes in transfer dialog 2022-10-02 11:50:26 -07:00
Geert Janssens 1a0be99bc6 Build dialog-transfer as C++
Preparation to use GncQuotes instead of price-quotes.scm
2022-10-02 11:50:26 -07:00
Geert Janssens a00bce168c GncQuotes - cache default currency 2022-10-02 11:50:26 -07:00
Geert Janssens fcbe6cf10c Add code to parse json data returned by our F::Q wrapper
This code will convert the json data into GncPrice objects and add them
to the pricedb, effectively doing what price-quotes.scm does.

A few notable remarks:
- still requires plenty of cleaning up. This is the first proof of concept
- like the original scm based code, this parser completely ignores  timezone
  information. As it wasn't used before and nobody complained, it may not
  be that important. Or it can be implemented later.
- price-quotes.scm would first check if a price already existed in the pricedb
  and try to update that one instead of adding one (only if the old price's
  type is inferior). However that is redundant as gnc_pricedb_add_price does
  the same check. So I have omitted this extra check from GncQuotes.
- currency quotes can be inverted. I have slightly changed the way to handle
  this. The perl wrapper code will simply set an "inverted" flag in that case,
  but will otherwise not swap currency and commodity as it used to be the case.
  On parsing, the inversion flag will cause the GncNumeric that's parsed from
  the price to be inverted. As it's still a GncNumeric that shouldn't result
  in any loss of precision, while keeping prices in the db always in the default
  currency.
2022-10-02 11:50:26 -07:00
Geert Janssens 5c13da0e59 Move fetching quotes info to gnc-commands
It needs gnc-prefs which I don't want to add by default to gnucash-cli.
2022-10-02 11:50:25 -07:00
Geert Janssens 6ecc1ef73f GncQuotes - switch to Pimpl idiom
That allows the private implementation to pass a number of variables
based on various boost libraries. It's better to not have them in
the public interface to keep compilation times down.
2022-10-02 11:50:25 -07:00
Geert Janssens 65ae46426b GncQuotes - add parameterized construction
For all but the basic check a book is required. Might
as well be able to pass it directly and store a reference
to it. That will simplify member function declarations.
2022-10-02 11:50:25 -07:00
Geert Janssens 3685e5de73 Factor out the async call to perl
This will allow us to reuse it for several F::Q commands, like
check, fetch,...
2022-10-02 11:50:25 -07:00
Geert Janssens 6ce91d7f49 Drop the single quotes instance code for now
I have been reading on singleton implementations and there appears
to be a lot of pushback against those.
We can revisit this if it turns out performance degrades
significantly by running the F::Q check multiple times.
2022-10-02 11:50:25 -07:00
Geert Janssens 616a672d52 Rewrite boost::process call to properly capture both stdout and stderr
The previous version of the code could only capture one
but not both at the same time.
2022-10-02 11:50:25 -07:00
Geert Janssens a6771754d5 GncQuotes - start implementation of fetch/fetch_all 2022-10-02 11:50:25 -07:00
Geert Janssens f3fdc5de12 Rewrite gnc-fq-helper as finance-quote-wrapper
This rewritten version takes JSON input and spits out JSON.
Additionally inverted currency quotes will only be flagged.
The old code also swapped currencies in the result.
GncQuotes will be written towards these new implementation
choices.
2022-10-02 11:50:25 -07:00
Geert Janssens 1d94887a0b Rewrite gnc_commodity_table_get_quotable_commodities as gnc_quotes_get_quotable_commodities
It only makes sense in that context.
2022-10-02 11:50:25 -07:00
Geert Janssens 466db526b2 Move source files for GncQuotes to app-utils
It will depend on functions in that library. This can probably be
fixed by cleaning up app-utils, but that's not the topic of
this feature.
2022-10-02 11:50:25 -07:00
Geert Janssens 8c4bd86c7b Fix memory leak as suggested by Christopher Lam 2022-10-02 11:50:25 -07:00
Geert Janssens 9d62755b4a Make GncQuotes::check() a private function, returning nothing
At the same time do an explicit reinstantiation of quotes_cached at first use
to work around what seems to be a race condition between static instantiation
and binreloc.
2022-10-02 11:50:25 -07:00
Geert Janssens 32df095d4f Catch potential boost::process exceptions
Could happen if the perl executable isn't found and perhaps also
if there's a stream exception.
2022-10-02 11:50:25 -07:00
Geert Janssens d79306f7db Protect boost process output read loop from deadlock
As per the boost::process tutorials
2022-10-02 11:50:25 -07:00
Geert Janssens f658ff409f Tweak line endings in output streams
Flush only at the very end.
2022-10-02 11:50:25 -07:00
Geert Janssens 8b772384cd Various performance fixes based on feedback
- const correctnes
- avoid unnecessary copying
- avoid need to reverse GList
2022-10-02 11:50:25 -07:00
Geert Janssens 2f7ed7f25d Initial version of libgnc-quotes
This library intends to wrap Finance::Quote the way price-quotes.scm currently does.
In this first commit the library replaces price-quotes.scm's library to install
quote sources. In addition it exposes a new command line parameter  in gnucash-cli
to show which version of Finance::Quote is installed on the system (if any) and
which quotes sources that verions exposes.
2022-10-02 11:50:25 -07:00
Geert Janssens ad96999800 Use "help:" instead of "ghelp:" to display our documentation on linux
This comes with a few nice side effects:
* "help:" no longer needs the workaround to link directly to an anchor.
" "help:" requires the document's book id to be "index". We used to have
"index" for guide and "help" for manual. The forced alignment also
allows us to simplify the way MacOS invokes guide an manual.
2022-09-06 16:27:35 -07:00
Geert Janssens 7d1b9474bb Use "help:" instead of "ghelp:" to display our documentation on linux
This comes with a few nice side effects:
* "help:" no longer needs the workaround to link directly to an anchor.
" "help:" requires the document's book id to be "index". We used to have
"index" for guide and "help" for manual. The forced alignment also
allows us to simplify the way MacOS invokes guide an manual.
2022-08-12 17:08:00 +02:00
Geert Janssens 3df7bdf31e Remove icon experiment that accidentally slipped through. 2022-04-03 20:58:40 +02:00
Geert Janssens 04bafdebf0 Redo icon handling in cmake
Using globs for file copying prevents cmake from discovering newly added icons.
Writing rules that explicitly use lists of icons will fix this as a new icon
in the sources will have to be added to the list and will force reparsing by
cmake. We have to maintain the lists anyway for our dist target so there's
actually no extra work involved for the devs.
2022-04-03 19:22:56 +02:00
Geert Janssens 25181a6c01 Fix function documentation
As pointed out by Kevin Buckley
2022-03-01 10:37:06 +01:00
Geert Janssens 6ebd29d4a4 Merge branch 'dutch_invoice_number_translation' into maint 2022-01-17 21:22:57 +01:00
Geert Janssens d95a15fb43 Fix build with cmake older than 3.18
3.18 introduced 'cmake -E cat', but we still have to support
versions starting from 3.14.
2021-12-17 09:36:26 +01:00
Geert Janssens bdb06479e8 GSettings - fix GObject warning when old prefs-version is unset
This will happen when current master (future 5.0) has been run
at least once.
2021-10-27 10:35:11 +02:00
Geert Janssens 09b3ce2382 Revert "Add structure to map migrated preferences to old ones"
This reverts commit c6103a5c17.
2021-10-16 19:02:17 +02:00
Geert Janssens 806d0b3157 Revert "GSettings - make most of the api private"
This reverts commit 26b2d7ca78.
2021-10-16 19:02:10 +02:00
Geert Janssens 1d4673ed2a Revert "GSettings - rework internal helper functions to use more C++"
This reverts commit 24fa289952.
2021-10-16 19:02:04 +02:00
Geert Janssens d4e4062c93 Remove redundant function declaration
gnc_load_scm_configuration is declared and defined in gnucash-core-app.
2021-10-16 10:49:05 +02:00
Geert Janssens 24fa289952 GSettings - rework internal helper functions to use more C++ 2021-10-16 10:49:05 +02:00
Geert Janssens 26b2d7ca78 GSettings - make most of the api private
All preference calls should happen via the gnc_prefs_... apis.
The gnc_gsettings_... apis are an internal implementation of this.
2021-10-16 10:49:04 +02:00
Geert Janssens c6103a5c17 Add structure to map migrated preferences to old ones
This can be used to keep both in sync in the period between
initial migration and eventual obsolence.
Note only non-obsoleted, migrated preferences are tracked.
We don't want to resync preferences that have been
obsoleted (reset). That would nullify the whole idea
of making them obsolete for future removal.

This commit only adds the mapping, synching will follow in a future
commit.
2021-10-16 10:49:04 +02:00
Geert Janssens d9f918f40c Obsolete preferences that were deprecated/migrated in the 4.x cycle 2021-10-01 17:41:48 +02:00
Geert Janssens c77aac2b16 Fully remove preferences that were obsoleted in the 4.x cycle 2021-10-01 15:02:46 +02:00
Geert Janssens e64bcfe620 Merge branch 'maint' 2021-10-01 14:51:04 +02:00
Geert Janssens 9a465fc359 GSettings - add 'deprecate' and 'obsolete' conversions for user preferences
'deprecate' is technically a noop. It serves to remind maintainers
the 'deprecated' preference is to be obsoleted in the next major
release.
'obsolete' goes one step further in that it will cause gnucash to reset
the preference, effectively clearing the value stored in the preferences
backend. This is the final phase of a preference. Following this it
will be completely removed from the GSettings schema in the next
major release.

Notes
* 'deprecate' and 'migrate' are related. Both are a reminder the
preference is to be obsoleted in the next major release. 'deprecate'
does only that though while 'migrate' will also trigger a copy of
the old value to a new location in the databse.

* This commit readds a couple of preferences that had been removed
in the past to be able to properly obsolete them (and to test
the obsoleting code)
2021-10-01 14:46:55 +02:00
Geert Janssens 64576f7d27 GSettings - widen scope from 'migration' to 'transformation'
This commit mostly changes descriptions and variable names to
use the more generic terms 'transformations' or 'conversions'.
'migration' is only one possible transform, future commits will
add others.
There are no functional changes in this commit other than
a logic inversion in parse_one_release_node. It now checks
for nodes named 'migrate' rather than for nodes not named
'migrate' (the code is adapted accordingly to match this
logic change).
2021-10-01 13:59:55 +02:00
Geert Janssens dee4f5e511 Rethink how gsettings migration file is constructed
The order in which cmake processes subdirectories in gnucash
matters because that also defines the order in which install
rules will be executed.
We have an install rule to compile the install gschema files.
That rule has to be run after all gschema files are installed.
Considering how our code is organized that means directory
gnucash/gschema should be processed after gnucash/import-export.
That requirement was incompatible with how migratable-prefs.xml
was generated (it required the exact opposite processing order).
This conflict causes gnucash to crash on startup because not
all gschema files are compiled as they should.
The changes in this commit should fix this.
2021-09-28 11:57:56 +02:00
Geert Janssens b7001b52cf GSettings hotfix - resolve crash due to bad schema reference 2021-09-27 09:20:16 +02:00
Geert Janssens 2a7566cc40 Win32 - drop conditional code never reached
We had hardcoded HAVE_HTMLHELPW to always be true so the fallback
code that's only reached when it is false was never reached.
Time to drop this dead code.
2021-09-26 22:58:08 +02:00
Geert Janssens 8ea52ae212 GSettings - run data model transations while setting up
This makes sure all schema changes are in effect before
the first consumer can query them. For example this will
prevent a one-time re-occurrence of the tip of the day dialog
the first time the new migrations are run.
2021-09-22 15:44:30 +02:00
Geert Janssens e1039b2dba GSettings Upgrade - add missing aqb and ofx deprecated schema keys
They are unused by GnuCash except for migrating their
values to the newer equivalents. For simplicity they
are added to the main deprecated schema file. They
will be fully removed in a future major release.
2021-09-22 15:31:17 +02:00
Geert Janssens f1802b6fdf GSettings Upgrade - add code to migrate settings
The rules for migration are read from an xml file. This file was
prepared in a previous commit. Future settings 'data model' changes can
reuse this code by simply adding migration rules in the xml file.

This replaces the hardcoded rules that were currently in place to
migrate a few settings from 2.6 and older to 3.0. These rules are no
longer meaningful as we require users to migrate from one major release
series to the immediate next one. So by the time the new migration rules
in this commit are applied by users they should already have run gnucash
3.x at least once. That run should have taken care of the pre-3.0
migration actions.
2021-09-21 17:10:56 +02:00
Geert Janssens b3daeecb85 GSettings Upgrade - Compose a list of settings that can be migrated at runtime
This list consists of old and new values for gsettings paths and keys
and will allow gnucash to migrate values from each old path and key
to the corresponding new path and key.
2021-09-21 17:10:56 +02:00
Geert Janssens f21c7b6e90 GSettings - define old prefix and check settings for the presence of both prefixes while normalizing 2021-09-21 17:10:56 +02:00
Geert Janssens a203c5b2d5 GSettings - drop logic to relocate our settings
This was ported from GConf, but GSettings doesn't work that way.
Settings locations are defined at compile time and can't be
relocated at run time (unless you make all of the settings
explicitly relocatable. That however is not how GSettings is meant to be
used.)
2021-09-21 17:10:56 +02:00
Geert Janssens d1113a4534 GSettings - build as cpp 2021-09-21 17:10:56 +02:00
Geert Janssens 02fbf217f6 GSettings Upgrade - change schema prefix from org.gnucash to org.gnucash.GnuCash
The latter is the prefix format prescribed by gsettings itself. The former never
was an issue until flatpak decided to not accept the shorter prefix when
requesting a settings migration from host system to flatpak sandbox.

In order to allow for migration, keep the old schema around in
org.gnucash.GnuCash.deprecated.gschema.in

While we're at it, make the new prefix an internal implementation detail.
There's no need for it to be visible to the rest of the gnucash code.
2021-09-21 17:10:55 +02:00
Geert Janssens 6674b1bb6b Cleanup - minimal glib=2.56.1 - drop all conditionals on older versions 2021-09-21 17:10:55 +02:00
Geert Janssens ae559089d3 Prep early splash screen messages for translation 2021-09-07 12:02:46 +02:00
Geert Janssens 047673a493 Small refactoring of scm config loading.
- Remove and cleanup duplicate code
- C++-ify
- Run code in gnucash-cli commands related to reports.
  Users may want to load modified report code via
  config-user.scm which they want to access while
  executing cli commands
2021-09-02 16:35:20 +02:00
Geert Janssens 0061e21c4f Expose test error logs directly in the action logs 2021-07-08 18:33:52 +02:00
Geert Janssens 60f50e34c7 Tax - fully express source file dependencies in build scripts 2021-06-30 15:19:34 +02:00
Geert Janssens dbed047ac7 Translation update by Geert Janssens <geert@kobaltwit.be> using Weblate
po/nl.po: 100.0% (5362 of 5362 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Co-authored-by: Geert Janssens <geert@kobaltwit.be>
2021-06-26 12:32:25 +02:00
Geert Janssens 86f53f474a Translation update by Geert Janssens <geert@kobaltwit.be> using Weblate
po/nl.po: 99.1% (5315 of 5362 strings; 46 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Co-authored-by: Geert Janssens <geert@kobaltwit.be>
2021-06-26 00:32:37 +02:00
Geert Janssens 5d1e4ceef9 i18n - fix several source string issues brought up by translators on weblate 2021-03-28 20:51:19 +02:00
Geert Janssens a4cab54afc i18n - Reuse strings for less translation work 2021-03-28 20:51:19 +02:00
Geert Janssens 0b6b88b771 i18n - several minor tweaks to cope with translation issues in weblate 2021-03-28 20:51:18 +02:00
Geert Janssens 5a10279f22 i18n - Extract common parts of the long intro text to reduce translation effort 2021-03-28 20:49:59 +02:00
Geert Janssens 3fb60c7d3c Translation update by Geert Janssens <geert@kobaltwit.be> using Weblate
po/glossary/nl.po: 100.0% (208 of 208 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/nl/

Translation update  by Geert Janssens <geert@kobaltwit.be> using Weblate

po/nl.po: 100.0% (5484 of 5484 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Co-authored-by: Geert Janssens <geert@kobaltwit.be>
2021-03-27 12:29:40 +01:00
Geert Janssens 23912f4e3a i18n, nl - drop stray weblate comment 2021-03-27 10:50:28 +01:00
Geert Janssens c3a90efa34 i18n, nl - drop obsolete translations 2021-03-27 10:48:52 +01:00
Geert Janssens 7a20784406 i18n - fix fuzzy strings which weblate has trouble exporting
Missed two
2021-03-27 10:48:01 +01:00
Geert Janssens 031c9fa63b i18n - fix fuzzy strings which weblate has trouble exporting 2021-03-27 10:42:23 +01:00
Geert Janssens 2e9252290c Revert "Translation update by Anonymous <noreply@weblate.org> using Weblate"
This reverts commit 7eba25d33b.
2021-03-27 10:22:16 +01:00
Geert Janssens 94715b30a9 Translation update by Geert Janssens <geert@kobaltwit.be> using Weblate
po/nl.po: 100.0% (5484 of 5484 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Translation update  by Geert Janssens <geert@kobaltwit.be> using Weblate

po/nl.po: 100.0% (5484 of 5484 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Co-authored-by: Geert Janssens <geert@kobaltwit.be>
2021-03-27 09:58:22 +01:00
Geert Janssens 9aa259fc77 Translation update by Geert Janssens <geert@kobaltwit.be> using Weblate
po/nl.po: 100.0% (5484 of 5484 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Translation update  by Geert Janssens <geert@kobaltwit.be> using Weblate

po/nl.po: 98.2% (5386 of 5484 strings; 98 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Translation update  by Geert Janssens <geert@kobaltwit.be> using Weblate

po/nl.po: 96.3% (5286 of 5484 strings; 198 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Co-authored-by: Geert Janssens <geert@kobaltwit.be>
2021-03-25 21:36:43 +01:00
Geert Janssens 0c15dc175c Fix building based on unix makefiles
There are a few subtle differences between unix makefiles and ninja
that sometimes go uncaught as the core devs usually use ninja.
This commit fixes two:
- don't depend directly on files in other source/binary directories.
  Use a custom target to depend on instead
- recursively create target directories, as make doesn't automatically
2021-03-23 16:33:56 +01:00
Geert Janssens 09ff2e5483 Eliminate redundant mo files
They were generated fist in builddir/po to then be copied
to builddir/share/locale/...
The intermediate in builddir/po is redundant.
2021-03-23 15:41:08 +01:00
Geert Janssens e9dfd0d9ea Still more fixes for Arch ci failure 2021-03-22 21:30:41 +01:00
Geert Janssens cb04365013 More fixes for Arch ci failure 2021-03-22 21:14:34 +01:00
Geert Janssens 1dd426e314 Potentially fix CI test on Arch related to glib and c++ 2021-03-22 12:37:24 +01:00
Geert Janssens 2eadfb9b41 Fix review comments for locale restructuring 2021-03-22 12:17:38 +01:00
Geert Janssens 6537135e70 Restructure early locale initialization
- Move Macos specific bits to its own source file. As this is objective-c use .mm extension
- Use common function signature for Macos and Windows init function and include via common header file
2021-03-22 12:10:55 +01:00
Geert Janssens 2f8efe8e6c Translation update by Geert Janssens <geert@kobaltwit.be> using Weblate
po/glossary/nl.po: 100.0% (208 of 208 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/nl/

Translation update  by Geert Janssens <geert@kobaltwit.be> using Weblate

po/nl.po: 96.3% (5285 of 5484 strings; 199 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Translation update  by Geert Janssens <geert@kobaltwit.be> using Weblate

po/glossary/nl.po: 100.0% (208 of 208 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/nl/

Translation update  by Geert Janssens <geert@kobaltwit.be> using Weblate

po/nl.po: 94.9% (5207 of 5484 strings; 275 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Translation update  by Geert Janssens <geert@kobaltwit.be> using Weblate

po/nl.po: 94.8% (5202 of 5484 strings; 280 fuzzy)
40 failing checks (0.7%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Translation update  by Geert Janssens <geert@kobaltwit.be> using Weblate

po/glossary/nl.po: 100.0% (208 of 208 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/nl/

Translation update  by Geert Janssens <geert@kobaltwit.be> using Weblate

po/nl.po: 94.2% (5170 of 5484 strings; 312 fuzzy)
77 failing checks (1.4%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Translation update  by Geert Janssens <geert@kobaltwit.be> using Weblate

po/nl.po: 94.2% (5169 of 5484 strings; 313 fuzzy)
80 failing checks (1.4%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Translation update  by Geert Janssens <geert@kobaltwit.be> using Weblate

po/nl.po: 94.1% (5164 of 5484 strings; 318 fuzzy)
86 failing checks (1.5%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Translation update  by Geert Janssens <geert@kobaltwit.be> using Weblate

po/nl.po: 93.0% (5103 of 5484 strings; 318 fuzzy)
86 failing checks (1.5%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Co-authored-by: Geert Janssens <geert@kobaltwit.be>
2021-03-20 23:04:14 +01:00
Geert Janssens ee3b223978 Translation update by Geert Janssens <geert@kobaltwit.be> using Weblate
po/nl.po: 92.7% (5086 of 5484 strings; 318 fuzzy)
86 failing checks (1.5%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Translation update  by Geert Janssens <geert@kobaltwit.be> using Weblate

po/nl.po: 92.7% (5086 of 5484 strings; 318 fuzzy)
86 failing checks (1.5%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Translation update  by Geert Janssens <geert@kobaltwit.be> using Weblate

po/glossary/nl.po: 100.0% (208 of 208 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/nl/

Translation update  by Geert Janssens <geert@kobaltwit.be> using Weblate

po/nl.po: 92.5% (5075 of 5484 strings; 329 fuzzy)
99 failing checks (1.8%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Co-authored-by: Geert Janssens <geert@kobaltwit.be>
2021-03-20 07:18:30 +01:00
Geert Janssens c1fb9a4322 Translation update by Geert Janssens <geert@kobaltwit.be> using Weblate
po/nl.po: 92.7% (5086 of 5484 strings; 318 fuzzy)
86 failing checks (1.5%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Translation update  by Geert Janssens <geert@kobaltwit.be> using Weblate

po/nl.po: 92.7% (5086 of 5484 strings; 318 fuzzy)
86 failing checks (1.5%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Translation update  by Geert Janssens <geert@kobaltwit.be> using Weblate

po/glossary/nl.po: 100.0% (208 of 208 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/nl/

Translation update  by Geert Janssens <geert@kobaltwit.be> using Weblate

po/nl.po: 92.5% (5075 of 5484 strings; 329 fuzzy)
99 failing checks (1.8%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Co-authored-by: Geert Janssens <geert@kobaltwit.be>
2021-03-20 06:18:21 +01:00
Geert Janssens 862df74007 Drop obsolete option 2021-03-19 15:56:34 +01:00
Geert Janssens f91b35b444 Bug 783283 - Multi-Currency payments use wrong date
Also properly handles the user clicking the cancel button on the transfer dialog
It will now just return to the payment window, waiting for further user input.
2021-03-17 16:58:02 +01:00
Geert Janssens 5bf3bfc6b6 Bug 797691 - Tip of the day is not rebuilt when the source file changes
Changes to tip_of_the_day.list.c will now properly trigger a rebuild.

Plus a few minor assorted fixes and changes to generating the man pages
- only generate the final files in share/gnucash, not in the build directory
- gnucash-cli.1 was not installed, gnucash.1 twice
2021-03-17 16:24:22 +01:00
Geert Janssens fbabcd58e0 Remove dead code 2021-03-17 16:24:22 +01:00
Geert Janssens b9208eccbf Remove duplicate declaration
The function is also declared and defined in gnc-locale-utils
2021-03-17 16:24:22 +01:00
Geert Janssens e973a1b60d Drop default locale currency special case for euro
The condition mentioned in the comment no longer applies.
All European locales on Windows (MingW64) properly present EUR
as currency these days
2021-03-17 16:24:22 +01:00
Geert Janssens d7e348a1fe Add whitespace in Objective C code to de-confuse the KDevelop code parser 2021-03-17 16:24:22 +01:00
Geert Janssens 8d61642095 Bug 798038 - Incorrect spelling in german account templates 'common' and 'full' 2020-12-20 16:00:58 +01:00
Geert Janssens e9a117b21b Bug 798008 - Option '--log' cannot be specified more than once
Wrapping the std::vector to hold the log flags is unneeded and actually harmful.
Just work on the vector directly. If user doesn't specify any '--log' options
the vector will just be empty.
2020-11-13 10:58:14 +01:00
Geert Janssens 05c96f6642 Make gnc-html's link libraries private 2020-10-10 16:09:39 +02:00