summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorGlenn Rice <glennricster@gmail.com>2011-04-27 01:10:58 +0000
committerGlenn Rice <glennricster@gmail.com>2011-04-27 01:10:58 +0000
commit0429905d55e482dcda649fa0997ac190d0b424d9 (patch)
treed3fdce4978eeb7efdc1811c57c1e975b425bd82a /Source
parenta779b92a09dccfb411a1bee84b078c7b2877379a (diff)
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
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/DolphinWX/Src/ConfigMain.cpp2
-rw-r--r--Source/Core/DolphinWX/Src/FifoPlayerDlg.cpp2
-rw-r--r--Source/Core/DolphinWX/Src/Frame.cpp2
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(_("<System>"));
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