[GNC-dev] Solved : how to extend the selection of predefined actions on a split

Paul Dest paul.dest at web.de
Mon Apr 30 04:07:47 EDT 2018

My problem is solved. Due to a hint in the gnucash-de mailing list I
have identified the needed files and made the changes successfully.

But still wondering how the *.po files are created. They have very
regular format and each entry is commented with references to the lines
in c-files. That does not seem to be coded by the hand; all the *.po
files would be needed to be rewritten if a line would be inserted in one
of the c files referenced (what is actually the case with my personal
changes). Here is an example from de.po to illustrate what I am talking
#: gnucash/gnome-utils/gnc-tree-model-split-reg.c:2856
#: gnucash/register/ledger-core/split-register.c:2486
msgid "Withdraw"
msgstr "Belastung"

Thanks in advance,

Am 29.04.2018 um 18:44 schrieb Paul Dest:
> Hi,
> I want to add own entries (e.g. "Paul") to the selection of predefined
> actions ("Increase", "Decrease", "Sell", "Buy" etc.) on a transaction split.
> (Rationale: I want to use the action as an additional select criterium
> for reports. Like the classes feature in Quicken; I mean not categories
> but classes - I'm aware that the Quicken's categories correspond to
> accounts in the double-accounting system.)
> After reviewing all configuration files, it seems to me that the
> predefined actions cannot be added to GnuCash after a build. Is that
> correct?
> If yes, then I have to make appropriate changes in code and rebuild
> GnuCash. A rebuld after additions in .po-files only seems not to have
> the desired effect.
> Could you please give an advice which files need to be edited for this
> change?
> Thanks in advance,
> Paul
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel

More information about the gnucash-devel mailing list