r21767 - gnucash/trunk/src/gnome-utils - Add a "features" table to the KVP frame, and pop up an error message

Derek Atkins derek at ihtfp.com
Tue Dec 20 17:08:12 EST 2011


Hi,

On Tue, December 20, 2011 4:54 pm, Christian Stimming wrote:
> Dear Derek,
>
> thanks for implementing the feature table! Obviously it's a first shot at
> this
> feature, and we still need to see how the code will look like when the
> first
> known features are compared against.
>
> Am Dienstag, 20. Dezember 2011, 16:12:22 schrieb Derek Atkins:
>> The feature description is printed to the user: it should be stored in
>> the slots table in English but it should be defined as a translatable
>> string.
>
> Here I don't fully agree: The feature description cannot be a translatable
> string. The description is what the old version should show to the user.
> Now,
> the old version by definition doesn't know about the new feature. Hence,
> it
> will also by definition not contain any translations of the description
> string
> of the new feature. It is therefore pointless to care about translations
> of
> these strings, unless you want to add all known translations into the KVP
> slot
> as well, and the old version can pick up the translated form directly from
> the
> KVP slot. IMHO this is too much effort here. Instead, we should just stick
> to
> the english text because a translation doesn't really work.

Duh, you are of course completely correct here.  I was trying to be
proactive but you are right that there isn't anything we can do when the
older version does not understand the feature.  Because if it DID
understand the feature then it wouldn't need to translate it.  It's an
easy enough fix to change the string if you want me to make that change?

The alternative is to store the translated string in the data file, on the
assumption that you're sharing your data file with others in your own
locale.  But I guess English works fine for this rarity of cases.

> Regards,
>
> Christian

-derek
-- 
       Derek Atkins                 617-623-3745
       derek at ihtfp.com             www.ihtfp.com
       Computer and Internet Security Consultant



More information about the gnucash-devel mailing list