mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00: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:
parent
de15cb2bc9
commit
80cee2528c
19 changed files with 1045 additions and 2939 deletions
|
@ -378,20 +378,20 @@ void CFrame::TogglePane()
|
|||
{
|
||||
if (NB->GetPageCount() == 0)
|
||||
{
|
||||
m_LogWindow->x = m_Mgr->GetPane(_("Pane 1")).rect.GetWidth();
|
||||
m_LogWindow->y = m_Mgr->GetPane(_("Pane 1")).rect.GetHeight();
|
||||
m_LogWindow->winpos = m_Mgr->GetPane(_("Pane 1")).dock_direction;
|
||||
m_Mgr->GetPane(_("Pane 1")).Hide();
|
||||
m_LogWindow->x = m_Mgr->GetPane(_T("Pane 1")).rect.GetWidth();
|
||||
m_LogWindow->y = m_Mgr->GetPane(_T("Pane 1")).rect.GetHeight();
|
||||
m_LogWindow->winpos = m_Mgr->GetPane(_T("Pane 1")).dock_direction;
|
||||
m_Mgr->GetPane(_T("Pane 1")).Hide();
|
||||
}
|
||||
else
|
||||
{
|
||||
m_Mgr->GetPane(_("Pane 1")).BestSize(m_LogWindow->x, m_LogWindow->y)
|
||||
m_Mgr->GetPane(_T("Pane 1")).BestSize(m_LogWindow->x, m_LogWindow->y)
|
||||
.MinSize(m_LogWindow->x, m_LogWindow->y)
|
||||
.Direction(m_LogWindow->winpos).Show();
|
||||
m_Mgr->Update();
|
||||
|
||||
// Reset the minimum size of the pane
|
||||
m_Mgr->GetPane(_("Pane 1")).MinSize(-1, -1);
|
||||
m_Mgr->GetPane(_T("Pane 1")).MinSize(-1, -1);
|
||||
}
|
||||
m_Mgr->Update();
|
||||
}
|
||||
|
@ -770,7 +770,7 @@ void CFrame::ReloadPanes()
|
|||
// Create new panes with notebooks
|
||||
for (u32 i = 0; i < Perspectives[ActivePerspective].Width.size() - 1; i++)
|
||||
{
|
||||
wxString PaneName = wxString::Format(_("Pane %i"), i + 1);
|
||||
wxString PaneName = wxString::Format(_T("Pane %i"), i + 1);
|
||||
m_Mgr->AddPane(CreateEmptyNotebook(), wxAuiPaneInfo().Hide()
|
||||
.CaptionVisible(m_bEdit).Dockable(!m_bNoDocking).Position(i)
|
||||
.Name(PaneName).Caption(PaneName));
|
||||
|
@ -928,7 +928,7 @@ void CFrame::SaveIniPerspectives()
|
|||
void CFrame::AddPane()
|
||||
{
|
||||
int PaneNum = GetNotebookCount() + 1;
|
||||
wxString PaneName = wxString::Format(_("Pane %i"), PaneNum);
|
||||
wxString PaneName = wxString::Format(_T("Pane %i"), PaneNum);
|
||||
m_Mgr->AddPane(CreateEmptyNotebook(), wxAuiPaneInfo()
|
||||
.CaptionVisible(m_bEdit).Dockable(!m_bNoDocking)
|
||||
.Name(PaneName).Caption(PaneName)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue