Source string change request [version 2.3.5]

Christian Stimming stimming at tuhh.de
Fri Oct 16 16:37:31 EDT 2009


Dear Mark,

Am Freitag, 16. Oktober 2009 22:13 schrieb Mark Haanen:
> My name is Mark Haanen and I've recently been appointed as the Dutch
> translator for GnuCash on the TP.

welcome to the project! Thanks a lot for your precise feedback. Just in case 
you haven't noticed, in gnucash there is even a glossary (in po/glossary) and 
hopefully we've noted all other pitfalls on 
http://wiki.gnucash.org/wiki/Translation.

> During my efforts I've hit a snag that 
> I cannot solve in my translations, which is why I've taken the liberty
> of mailing you with the following source string change request:

Sure. Mailing to gnucash-devel is just fine, and you can additionally email 
directly to me as I'm still trying to work especially on i18n issues in 
gnucash.

> Would it be possible to differentiate between the instance of the _verb_
> "Deposit" in src/register/ledger-core/split-ledger.c:2184 (the verb) and
> the occurrances of the _noun_ "Deposit" in src/app-utils/prefs.scm (via
> intl-scm/guile-strings.c:6732) and
> src/import-export/csv/gnc-csv-model.c:37, for instance by adding a
> trailing space to the verb? This would help me tremendously with my
> efforts.

Err... Even though I completely understand the disambiguation issue with verb 
vs. noun, in this particular case I'm rather hesitant whether we should 
change anything.

In fact, I now ask myself whether the strings from src/app-utils/prefs.scm are 
actually used anywhere. The strings there can be retrieved only by the scheme 
function gnc:get-debit-string, but this function isn't used anywhere 
throughout the project. Did I miss anything? In this case I'd rather remove 
the file src/app-utils/prefs.scm and thus the strings from there.

The string in gnc-csv-model.c is probably used. The string from 
split-register.c (not split-ledger.c) is also used but probably not very 
often - only those who use the "Action" choice box in the transactions in the 
register window will actually see it, which is rather hidden. In any case the 
easiest disambiguation is in the definition in split-register.c because we 
can replace the _( ) function call by the Q_( ) function of gtk, so that 
instead of _("Deposit") we write e.g. Q_("Action|Deposit"). Would that sound 
good for you?

I'll be out of town until next weekend, which means it might take a few days 
until I commit this change to SVN, but the idea sounds good.

Regards,

Christian


More information about the gnucash-devel mailing list