On Tue, 18 Apr 2000, Herbert Thoma wrote:
> There is an other problem: the status bar. If in your example
>
> > export LC_ALL=; export LANG=C
> >
> > Displays in gnucash:
> >
> > account name currency balance
> > ---------------------------------------
> > usbank USD $1000
> > swissbank CHF $2000
>
> usbank and swissbank are normal bank accounts (not currency accounts)
> the assets value in the status bar gets $3000, which is nonsense, too.
Actually it doesn't matter what they are - currency accounts, banks or
whatever. The balance is -allways- showing the symbol taken from the
locale and doesn't have anything to do with the semantics of the
account.
> Yes. In my opinion the currency symbol should not be based on locale, but
> on the account's curenncy field. this would require an additional
> parameter to the ...PrintAmount() functions.
Are you aware of any trick that's able to extract the currency symbol from
the locales, knowing the name of the currency?
USD -> .?. -> locales -> $
CHF -> .?. -> locales -> Fr.
*t
----------------------------------------------------------------------------
Tomas Pospisek - Freelance: Linuxing, Networking
http://spin.ch/~tpo/freelance
----------------------------------------------------------------------------
--
Gnucash Developer's List
To unsubscribe send empty email to: [EMAIL PROTECTED]