mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
Add some more translatable strings. Thanks to DavidVag.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6753 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -40,7 +40,7 @@ CPatchAddEdit::~CPatchAddEdit()
|
||||
|
||||
void CPatchAddEdit::CreateGUIControls(int _selection)
|
||||
{
|
||||
wxString currentName = wxT("<Insert name here>");
|
||||
wxString currentName = _("<Insert name here>");
|
||||
|
||||
if (_selection == -1)
|
||||
{
|
||||
@ -82,7 +82,7 @@ void CPatchAddEdit::CreateGUIControls(int _selection)
|
||||
sEditPatchName->Add(EditPatchNameText, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
||||
sEditPatchName->Add(EditPatchName, 1, wxEXPAND|wxALL, 5);
|
||||
sEditPatch->Add(sEditPatchName, 0, wxEXPAND);
|
||||
sbEntry = new wxStaticBoxSizer(wxVERTICAL, this, wxString::Format(wxT("Entry 1/%d"), (int)tempEntries.size()));
|
||||
sbEntry = new wxStaticBoxSizer(wxVERTICAL, this, wxString::Format(_("Entry 1/%d"), (int)tempEntries.size()));
|
||||
currentItem = 1;
|
||||
wxGridBagSizer* sgEntry = new wxGridBagSizer(0, 0);
|
||||
sgEntry->Add(EditPatchType, wxGBPosition(0, 0), wxGBSpan(1, 2), wxEXPAND|wxALL, 5);
|
||||
@ -195,7 +195,7 @@ void CPatchAddEdit::AddRemoveEntry(wxCommandEvent& event)
|
||||
|
||||
void CPatchAddEdit::UpdateEntryCtrls(PatchEngine::PatchEntry pE)
|
||||
{
|
||||
sbEntry->GetStaticBox()->SetLabel(wxString::Format(wxT("Entry %d/%d"), currentItem,
|
||||
sbEntry->GetStaticBox()->SetLabel(wxString::Format(_("Entry %d/%d"), currentItem,
|
||||
(int)tempEntries.size()));
|
||||
EditPatchOffset->SetValue(wxString::Format(wxT("%08X"), pE.address));
|
||||
EditPatchType->SetSelection(pE.type);
|
||||
|
Reference in New Issue
Block a user