Files
gnucash/libgnucash/app-utils
Geert Janssens d8a304c2c9 Housekeeping - reduce the number of PACKAGE and VERSION related cmake variables
This starts by setting the gnucash version number in the 'project' call.
This will result in a number of variables set by cmake. The remainder
of this commit is to reuse the auto-generated
PROJECT_NAME, PROJECT_VERSION, PROJECT_VERSION_MAJOR
PROJECT_VERSION_MINOR, PROJECT_VERSION_PATCH and PROJECT_VERSION_TWEAK
instead of all the various instances of PACKAGE, GNUCASH_MAJOR_VERSION
and so on.

One parameter is worth mentioning - GETTEXT_PACKAGE
GnuCash is not using this directly (any more) but it has to be set before
including gi18n-lib.h.
2020-01-17 18:15:27 +01:00
..
2019-08-23 19:51:13 +08:00
2017-08-10 18:45:00 +02:00
2017-12-20 14:55:40 +01:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2018-07-27 14:23:15 +03:00
2019-02-20 21:09:22 +08:00
2018-01-08 13:01:29 +11:00
2019-07-28 12:16:58 +08:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00

After loading this module, you must also call

  (gnc:setup-gettext)
  (setlocale LC_ALL "")

at some point to finish initializing the app.  This is not done
automatically from gncmod-app-utils.c via app-utils.scm because you
may need to handle setlocale yourself (or you may already have other
code that does).