summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorGlenn Rice <glennricster@gmail.com>2011-05-23 03:20:42 +0000
committerGlenn Rice <glennricster@gmail.com>2011-05-23 03:20:42 +0000
commit139a518e992f9b5512bd494f795e8a930bb067da (patch)
treea45203bf320eaf967c08c0aae6efd474c7513c12 /Source/Core
parentf86dcf9727edcd58477627bde444b8a84fd5b7b7 (diff)
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
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinWX/Src/VideoConfigDiag.cpp6
1 files 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);