[GNC] Danish templates do not correctly mark accounts as placeholders

Philip Munksgaard philip at munksgaard.me
Wed Jan 13 01:49:46 EST 2021


Hello Frank (and Adrien),

Thank you for the pointers. Yes, I do believe I could create a PR for this. Is Github the right place? I don't seem to be able to create issues on Github, which is what threw me off in the first place and lead me to this mailing list.

Best regards,
Philip

On Tue, 12 Jan 2021, at 23:40, Frank H. Ellenberger wrote:
> Hello Philip,
> 
> Am 12.01.21 um 22:41 schrieb Philip Munksgaard:
> > Hi,
> > 
> > I'm not sure if this is the correct place for this,
> 
> it is always a good idea to ask here at first.
> 
> > but I noticed that the accounts in the Danish templates like [0] do not correctly mark some of the accounts, like "Indtægter", "Aktiver" and so on, as placeholder accounts. This is in contrast to the English templates [1], where accounts like "Income" and "Assets" (which correspond to the Danish ones above) are clearly marked as placeholders. I believe this is an oversight, and it causes weird behavior for newbies like me, like not being able to double-click the account in question to expand it in the account view.
> 
> Thank you for heads up!
> 
> There is an introducing section about localizing account templates in
> https://wiki.gnucash.org/wiki/Translation#How_to_translate_the_files_containing_the_new_account_hierarchies.
> 
> https://wiki.gnucash.org/wiki/Account_Hierarchy_Template then describes
> several ways to create or modify them.
> 
> In theory that accounts are missing the section
>   <act:slots>
>     <slot>
>       <slot:key>placeholder</slot:key>
>       <slot:value type="string">true</slot:value>
>     </slot>
>   </act:slots>
> If there is already a <act:slots> section, only the <slot> section
> neeeds to be inserted.
> 
> Do you think you can create a pull request with the improved file?
> 
> Regards
> Frank
> 
> > Thank you for your work on GnuCash. I am excited to start tracking my own expenses in detail, and GnuCash seems like the perfect tool for the job.
> > 
> > Best regards,
> > Philip
> > 
> > 0: https://github.com/Gnucash/gnucash/blob/5de4fe5dff5e10e15cf3e8d7e67f31f39e5f7be1/data/accounts/da/acctchrt_common.gnucash-xea
> > 1: https://github.com/Gnucash/gnucash/blob/5de4fe5dff5e10e15cf3e8d7e67f31f39e5f7be1/data/accounts/en_GB/acctchrt_common.gnucash-xea
> 
>


More information about the gnucash-user mailing list