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
This commit is contained in:
Glenn Rice 2011-04-27 01:10:58 +00:00
parent a779b92a09
commit 0429905d55
3 changed files with 4 additions and 2 deletions

View File

@ -52,6 +52,7 @@ static const wxLanguage langIds[] =
{ {
wxLANGUAGE_DEFAULT, wxLANGUAGE_DEFAULT,
wxLANGUAGE_ARABIC, wxLANGUAGE_ARABIC,
wxLANGUAGE_CATALAN,
wxLANGUAGE_CHINESE_SIMPLIFIED, wxLANGUAGE_CHINESE_SIMPLIFIED,
wxLANGUAGE_CHINESE_TRADITIONAL, wxLANGUAGE_CHINESE_TRADITIONAL,
wxLANGUAGE_CZECH, wxLANGUAGE_CZECH,
@ -324,6 +325,7 @@ void CConfigMain::InitializeGUILists()
// keep these in sync with the langIds array at the beginning of this file // keep these in sync with the langIds array at the beginning of this file
arrayStringFor_InterfaceLang.Add(_("<System>")); arrayStringFor_InterfaceLang.Add(_("<System>"));
arrayStringFor_InterfaceLang.Add(_("Arabic")); arrayStringFor_InterfaceLang.Add(_("Arabic"));
arrayStringFor_InterfaceLang.Add(_("Catalan"));
arrayStringFor_InterfaceLang.Add(_("Chinese (Simplified)")); arrayStringFor_InterfaceLang.Add(_("Chinese (Simplified)"));
arrayStringFor_InterfaceLang.Add(_("Chinese (Traditional)")); arrayStringFor_InterfaceLang.Add(_("Chinese (Traditional)"));
arrayStringFor_InterfaceLang.Add(_("Czech")); arrayStringFor_InterfaceLang.Add(_("Czech"));

View File

@ -150,7 +150,7 @@ void FifoPlayerDlg::CreateGUIControls()
m_PlayPage->SetSizer(sPlayPage); m_PlayPage->SetSizer(sPlayPage);
m_PlayPage->Layout(); m_PlayPage->Layout();
sPlayPage->Fit(m_PlayPage); 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); m_RecordPage = new wxPanel(m_Notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL);
wxBoxSizer* sRecordPage; wxBoxSizer* sRecordPage;
sRecordPage = new wxBoxSizer(wxVERTICAL); sRecordPage = new wxBoxSizer(wxVERTICAL);

View File

@ -429,7 +429,7 @@ CFrame::CFrame(wxFrame* parent,
// Create cursors // Create cursors
#ifdef _WIN32 #ifdef _WIN32
CreateCursor(); CreateCursor();
SetToolTip(_("")); SetToolTip(wxT(""));
GetToolTip()->SetAutoPop(25000); GetToolTip()->SetAutoPop(25000);
#endif #endif