Internationalization under Windows

Discussion forum for Celestia developers; topics may only be started by members of the developers group, but anyone can post replies.
Sui Ota
Posts: 75
Joined: 05.10.2005
With us: 19 years 1 month
Location: Saitama, Japan

Post #41by Sui Ota » 31.08.2006, 20:36

Much thanks, Christophe!


And another bug appeard:

in winmain.cpp

Code: Select all

 2993     virtual void update(const string& filename)
 2994     {
 2995         splash->setMessage(string(_("Loading: ")) + filename);
 2996     }

"Loading: " is garbled again.
-Suι

Avatar
Joe
Posts: 162
Joined: 29.02.2004
With us: 20 years 8 months
Location: United Kingdom

Post #42by Joe » 09.09.2006, 12:17

Sui Ota wrote:And another bug appeard:

in winmain.cpp
Code:
2993 virtual void update(const string& filename)
2994 {
2995 splash->setMessage(string(_("Loading: ")) + filename);
2996 }


"Loading: " is garbled again.


This will fix :?:

Code: Select all

splash->setMessage(string(UTF8ToCurrentCP(_("Loading: ")))  + filename);
Joe
8O


Return to “Ideas & News”