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_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"));

View File

@ -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);

View File

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