From 0429905d55e482dcda649fa0997ac190d0b424d9 Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Wed, 27 Apr 2011 01:10:58 +0000 Subject: [PATCH] Add Catalan language thanks to (and at the urgent request of) Jordi Coma. Also fix a few translation strings in the code. Reminder: Never mark the empty string for translation. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7485 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DolphinWX/Src/ConfigMain.cpp | 2 ++ Source/Core/DolphinWX/Src/FifoPlayerDlg.cpp | 2 +- Source/Core/DolphinWX/Src/Frame.cpp | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Source/Core/DolphinWX/Src/ConfigMain.cpp b/Source/Core/DolphinWX/Src/ConfigMain.cpp index 5943df3059..31af886908 100644 --- a/Source/Core/DolphinWX/Src/ConfigMain.cpp +++ b/Source/Core/DolphinWX/Src/ConfigMain.cpp @@ -52,6 +52,7 @@ static const wxLanguage langIds[] = { wxLANGUAGE_DEFAULT, wxLANGUAGE_ARABIC, + wxLANGUAGE_CATALAN, wxLANGUAGE_CHINESE_SIMPLIFIED, wxLANGUAGE_CHINESE_TRADITIONAL, wxLANGUAGE_CZECH, @@ -324,6 +325,7 @@ void CConfigMain::InitializeGUILists() // keep these in sync with the langIds array at the beginning of this file arrayStringFor_InterfaceLang.Add(_("")); arrayStringFor_InterfaceLang.Add(_("Arabic")); + arrayStringFor_InterfaceLang.Add(_("Catalan")); arrayStringFor_InterfaceLang.Add(_("Chinese (Simplified)")); arrayStringFor_InterfaceLang.Add(_("Chinese (Traditional)")); arrayStringFor_InterfaceLang.Add(_("Czech")); diff --git a/Source/Core/DolphinWX/Src/FifoPlayerDlg.cpp b/Source/Core/DolphinWX/Src/FifoPlayerDlg.cpp index f74ac91193..cd863095a1 100644 --- a/Source/Core/DolphinWX/Src/FifoPlayerDlg.cpp +++ b/Source/Core/DolphinWX/Src/FifoPlayerDlg.cpp @@ -150,7 +150,7 @@ void FifoPlayerDlg::CreateGUIControls() m_PlayPage->SetSizer(sPlayPage); m_PlayPage->Layout(); sPlayPage->Fit(m_PlayPage); - m_Notebook->AddPage(m_PlayPage, wxT("Play"), true); + m_Notebook->AddPage(m_PlayPage, _("Play"), true); m_RecordPage = new wxPanel(m_Notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL); wxBoxSizer* sRecordPage; sRecordPage = new wxBoxSizer(wxVERTICAL); diff --git a/Source/Core/DolphinWX/Src/Frame.cpp b/Source/Core/DolphinWX/Src/Frame.cpp index 2739f0b2a4..d2a229d335 100644 --- a/Source/Core/DolphinWX/Src/Frame.cpp +++ b/Source/Core/DolphinWX/Src/Frame.cpp @@ -429,7 +429,7 @@ CFrame::CFrame(wxFrame* parent, // Create cursors #ifdef _WIN32 CreateCursor(); - SetToolTip(_("")); + SetToolTip(wxT("")); GetToolTip()->SetAutoPop(25000); #endif