Enable translation of the about dialog.
This commit is contained in:
parent
67c65831bc
commit
f1c6357750
|
@ -18,12 +18,12 @@ AboutDolphin::AboutDolphin(wxWindow *parent, wxWindowID id,
|
|||
wxStaticBitmap* const sbDolphinLogo = new wxStaticBitmap(this, wxID_ANY,
|
||||
wxBitmap(iDolphinLogo));
|
||||
|
||||
std::string Text = "Dolphin " SCM_DESC_STR "\n"
|
||||
const wxString Text = wxString::Format(_("Dolphin %s\n"
|
||||
"Copyright (c) 2003-2013+ Dolphin Team\n"
|
||||
"\n"
|
||||
"Branch: " SCM_BRANCH_STR "\n"
|
||||
"Revision: " SCM_REV_STR "\n"
|
||||
"Compiled: " __DATE__ " @ " __TIME__ "\n"
|
||||
"Branch: %s\n"
|
||||
"Revision: %s\n"
|
||||
"Compiled: %s @ %s\n"
|
||||
"\n"
|
||||
"Dolphin is a Gamecube/Wii emulator, which was\n"
|
||||
"originally written by F|RES and ector.\n"
|
||||
|
@ -48,9 +48,10 @@ AboutDolphin::AboutDolphin(wxWindow *parent, wxWindowID id,
|
|||
"Gamecube and Wii are trademarks of Nintendo.\n"
|
||||
"The emulator is for educational purposes only\n"
|
||||
"and should not be used to play games you do\n"
|
||||
"not legally own.";
|
||||
wxStaticText* const Message = new wxStaticText(this, wxID_ANY,
|
||||
StrToWxStr(Text));
|
||||
"not legally own."),
|
||||
SCM_DESC_STR, SCM_BRANCH_STR, SCM_REV_STR, __DATE__, __TIME__);
|
||||
|
||||
wxStaticText* const Message = new wxStaticText(this, wxID_ANY, Text);
|
||||
Message->Wrap(GetSize().GetWidth());
|
||||
|
||||
wxBoxSizer* const sInfo = new wxBoxSizer(wxVERTICAL);
|
||||
|
|
Loading…
Reference in New Issue