OT: Thanks!

Chani chanika at gmail.com
Sun Oct 18 01:51:04 CEST 2009


> Thanks for the other info, it will help with my design.  Basically there
>  will be a .desktop file for each currency code, holding at least the
>  following fields:
> 
>   CurrencyCode=NZD
>   CurrencyName=New Zealand dollar
>   CurrencyUnitSymbol=$
>   CurrencyUnitSymbolDisambig=NZ$
>   CurrencyUnitSingular=dollar
>   CurrencyUnitPlural=dollars
>   CurrencySubunitSymbol=c
>   CurrencySubunitsPerUnit=100
>   CurrencySubunitsInUse=Y
>   CurrencySubunitSingular=cent
>   CurrencySubunitPlural=cents
>   (plus default formatting and conversion rules)

um, what about currencies with >1 subunit? :) china's got kuai/yuan, mao/jiao 
and fen/(I forget). (yes, they have two names for each unit, too!)
1 kuai = 10 mao, 1 mao = 10 fen.
then again, dealing with fen was so rare IME that maybe it can be ignored, but 
I don't know if there are other currencies where it can't be ignored so 
easily.

-- 
This message brought to you by eevil bananas and the number 3.
www.chani3.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20091017/3186ebd9/attachment.sig 


More information about the Plasma-devel mailing list