EXT-8310 FIXED Incorrect currency format in the Buy L$ floater.
Changes in the Buy L$ floater: * Set system locale before formatting currency. * Made money format configurable (via strings.xml). * Placed the "L$" label to the right of the line editor in FR locale. Details: Actually, the proper way to fix this and similar number formatting bugs would be to set the system locale at startup, but: 1. That triggers assertions when parsing locale-agnostic XML files like avatar_skeleton.xml. 2. I'm wary of making such global changes so close to the 2.1 release. Therefore I just temporarily override current locale before formatting a number and restore the previous locale afterwards. Reviewed by Tofu at https://codereview.productengine.com/secondlife/r/751/ --HG-- branch : product-engine
Showing
- indra/newview/llcurrencyuimanager.cpp 8 additions, 1 deletionindra/newview/llcurrencyuimanager.cpp
- indra/newview/skins/default/xui/en/strings.xml 3 additions, 0 deletionsindra/newview/skins/default/xui/en/strings.xml
- indra/newview/skins/default/xui/fr/floater_buy_currency.xml 2 additions, 2 deletionsindra/newview/skins/default/xui/fr/floater_buy_currency.xml
- indra/newview/skins/default/xui/fr/strings.xml 1 addition, 0 deletionsindra/newview/skins/default/xui/fr/strings.xml
Loading
Please register or sign in to comment