monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] Re: Interesting bug in French locale :-)


From: Benoît Dejean
Subject: [Monotone-devel] Re: Interesting bug in French locale :-)
Date: Mon, 12 Sep 2005 20:38:33 +0200

hi,
        (the harddrive of my ibook just crashed)

here's a possible fix for this bug : i've added ticker::id to store the
unique identifier of each ticker. using N_() then _() would be another
solution, but i think it would be harmful to do so. That's why i stored
id and name seperately. ticker::id gets initialized with a
locale-independant string. As i've added ticker::id, i've turned the
tickers set from map<string, ticker*> to set<ticker*> which make more
sense. Notice that ticker::id and tickers as a set are only used for
sanity checks.

I was also able to spot new candidate for i18n as i changed ticker
constructor.

fine ?

Attachment: tickers.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]