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:
Glenn Rice
2011-01-05 17:56:08 +00:00
parent 0a36663b01
commit 7219d185d9
17 changed files with 608 additions and 178 deletions

View File

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