Fix a minor translation issue in the video config dialog.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7554 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice 2011-05-23 03:20:42 +00:00
parent f86dcf9727
commit 139a518e99

View File

@ -491,7 +491,7 @@ void VideoConfigDiag::Evt_EnterControl(wxMouseEvent& ev)
}
// TODO: Don't hardcode the size of the description area via line breaks
#define DEFAULT_DESC_TEXT "Move the mouse pointer over an option to display a detailed description.\n\n\n\n\n\n\n"
#define DEFAULT_DESC_TEXT _("Move the mouse pointer over an option to display a detailed description.\n\n\n\n\n\n\n")
void VideoConfigDiag::Evt_LeaveControl(wxMouseEvent& ev)
{
// look up description text control and reset its label
@ -500,7 +500,7 @@ void VideoConfigDiag::Evt_LeaveControl(wxMouseEvent& ev)
wxStaticText* descr_text = desc_texts[ctrl->GetParent()];
if (!descr_text) return;
descr_text->SetLabel(_(DEFAULT_DESC_TEXT));
descr_text->SetLabel(DEFAULT_DESC_TEXT);
descr_text->Wrap(descr_text->GetContainingSizer()->GetSize().x - 20);
ev.Skip();
}
@ -515,7 +515,7 @@ void VideoConfigDiag::CreateDescriptionArea(wxPanel* const page, wxBoxSizer* con
page->SetSizerAndFit(sizer);
// Create description text
wxStaticText* const desc_text = new wxStaticText(page, wxID_ANY, _(DEFAULT_DESC_TEXT));
wxStaticText* const desc_text = new wxStaticText(page, wxID_ANY, DEFAULT_DESC_TEXT);
desc_text->Wrap(desc_sizer->GetSize().x - 20);
desc_sizer->Add(desc_text, 1, wxEXPAND | wxLEFT | wxRIGHT | wxBOTTOM, 5);