From 139a518e992f9b5512bd494f795e8a930bb067da Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Mon, 23 May 2011 03:20:42 +0000 Subject: [PATCH] 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 --- Source/Core/DolphinWX/Src/VideoConfigDiag.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Core/DolphinWX/Src/VideoConfigDiag.cpp b/Source/Core/DolphinWX/Src/VideoConfigDiag.cpp index 12f5c085d3..9d697c0e2a 100644 --- a/Source/Core/DolphinWX/Src/VideoConfigDiag.cpp +++ b/Source/Core/DolphinWX/Src/VideoConfigDiag.cpp @@ -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);