mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
Localization:
- add some more strings for translation, change others for easier translation (in case anyone knows a better way than _("a") + wxString(wxT("b")), feel free to fix it). - removed strings that shouldnt be translated. - added gettextize script from glennrics to generate the .pot file; this excludes debugger-related strings which are usually not used by the end user anyways (again, less stuff to translate). git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6759 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -94,7 +94,7 @@ void CLogWindow::CreateGUIControls()
|
||||
m_FontChoice->Append(_("Selected font"));
|
||||
m_FontChoice->SetSelection(0);
|
||||
DefaultFont = GetFont();
|
||||
MonoSpaceFont.SetNativeFontInfoUserDesc(_("lucida console windows-1252"));
|
||||
MonoSpaceFont.SetNativeFontInfoUserDesc(_T("lucida console windows-1252"));
|
||||
LogFont.push_back(DefaultFont);
|
||||
LogFont.push_back(MonoSpaceFont);
|
||||
LogFont.push_back(DebuggerFont);
|
||||
@ -168,11 +168,11 @@ void CLogWindow::OnClose(wxCloseEvent& event)
|
||||
void CLogWindow::OnSize(wxSizeEvent& event)
|
||||
{
|
||||
if (!Parent->g_pCodeWindow &&
|
||||
Parent->m_Mgr->GetPane(_("Pane 1")).IsShown())
|
||||
Parent->m_Mgr->GetPane(wxT("Pane 1")).IsShown())
|
||||
{
|
||||
x = Parent->m_Mgr->GetPane(_("Pane 1")).rect.GetWidth();
|
||||
y = Parent->m_Mgr->GetPane(_("Pane 1")).rect.GetHeight();
|
||||
winpos = Parent->m_Mgr->GetPane(_("Pane 1")).dock_direction;
|
||||
x = Parent->m_Mgr->GetPane(wxT("Pane 1")).rect.GetWidth();
|
||||
y = Parent->m_Mgr->GetPane(wxT("Pane 1")).rect.GetHeight();
|
||||
winpos = Parent->m_Mgr->GetPane(wxT("Pane 1")).dock_direction;
|
||||
}
|
||||
event.Skip();
|
||||
}
|
||||
@ -184,9 +184,9 @@ void CLogWindow::SaveSettings()
|
||||
|
||||
if (!Parent->g_pCodeWindow)
|
||||
{
|
||||
ini.Set("LogWindow", "x", x);
|
||||
ini.Set("LogWindow", "y", y);
|
||||
ini.Set("LogWindow", "pos", winpos);
|
||||
ini.Set("LogWindow", "x", x);
|
||||
ini.Set("LogWindow", "y", y);
|
||||
ini.Set("LogWindow", "pos", winpos);
|
||||
}
|
||||
ini.Set("Options", "Verbosity", m_verbosity->GetSelection() + 1);
|
||||
ini.Set("Options", "Font", m_FontChoice->GetSelection());
|
||||
|
Reference in New Issue
Block a user