mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
Make sure that configuration dialog titles for the plugins are translated and a few other missed strings.
Initialize locale in each of the plugins on windows so that the plugin configuration dialogs are translated and the translators will get off my back. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6847 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
+130
-79
File diff suppressed because it is too large
Load Diff
+133
-80
File diff suppressed because it is too large
Load Diff
+130
-79
File diff suppressed because it is too large
Load Diff
+132
-79
File diff suppressed because it is too large
Load Diff
+130
-79
File diff suppressed because it is too large
Load Diff
+132
-79
File diff suppressed because it is too large
Load Diff
+136
-79
File diff suppressed because it is too large
Load Diff
+130
-79
File diff suppressed because it is too large
Load Diff
+132
-79
File diff suppressed because it is too large
Load Diff
+132
-79
File diff suppressed because it is too large
Load Diff
+132
-79
File diff suppressed because it is too large
Load Diff
+132
-79
File diff suppressed because it is too large
Load Diff
+132
-79
File diff suppressed because it is too large
Load Diff
+132
-79
File diff suppressed because it is too large
Load Diff
+132
-79
File diff suppressed because it is too large
Load Diff
+131
-79
File diff suppressed because it is too large
Load Diff
+132
-79
File diff suppressed because it is too large
Load Diff
@@ -1234,7 +1234,7 @@ void CConfigMain::FillChoiceBox(wxChoice* _pChoice, int _PluginType, const std::
|
||||
if (rPluginInfo.Type == _PluginType)
|
||||
{
|
||||
wxString temp;
|
||||
temp = wxString::FromAscii(rInfos[i].GetPluginInfo().Name);
|
||||
temp = wxGetTranslation(wxString::From8BitData(rInfos[i].GetPluginInfo().Name));
|
||||
int NewIndex = _pChoice->Append(temp, (void*)&rInfos[i]);
|
||||
|
||||
if (rInfos[i].GetFilename() == _SelectFilename)
|
||||
|
||||
@@ -687,7 +687,7 @@ ControlGroupBox::~ControlGroupBox()
|
||||
}
|
||||
|
||||
ControlGroupBox::ControlGroupBox(ControllerEmu::ControlGroup* const group, wxWindow* const parent, wxWindow* const eventsink)
|
||||
: wxStaticBoxSizer(wxVERTICAL, parent, wxString::FromAscii(group->name))
|
||||
: wxStaticBoxSizer(wxVERTICAL, parent, WXTSTR_FROM_CSTR(group->name))
|
||||
, control_group(group)
|
||||
{
|
||||
|
||||
@@ -815,7 +815,7 @@ ControlGroupBox::ControlGroupBox(ControllerEmu::ControlGroup* const group, wxWin
|
||||
_connect_macro_(setting->wxcontrol, GamepadPage::AdjustSetting, wxEVT_COMMAND_SPINCTRL_UPDATED, eventsink);
|
||||
options.push_back(setting);
|
||||
wxBoxSizer* const szr = new wxBoxSizer(wxHORIZONTAL);
|
||||
szr->Add(new wxStaticText(parent, -1, wxString::FromAscii((*i)->name)), 0, wxCENTER|wxRIGHT, 3);
|
||||
szr->Add(new wxStaticText(parent, -1, WXTSTR_FROM_CSTR((*i)->name)), 0, wxCENTER|wxRIGHT, 3);
|
||||
szr->Add(setting->wxcontrol, 0, wxRIGHT, 3);
|
||||
Add(szr, 0, wxALL|wxCENTER, 3);
|
||||
}
|
||||
|
||||
@@ -392,14 +392,14 @@ void DolphinApp::InitLanguageSupport()
|
||||
|
||||
if(!m_locale->IsOk())
|
||||
{
|
||||
PanicAlertT("Error loading selected language. Falling back to system default.\n");
|
||||
PanicAlertT("Error loading selected language. Falling back to system default.");
|
||||
delete m_locale;
|
||||
m_locale = new wxLocale(wxLANGUAGE_DEFAULT);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
PanicAlertT("The selected language is not supported by your system. Falling back to system default.\n");
|
||||
PanicAlertT("The selected language is not supported by your system. Falling back to system default.");
|
||||
m_locale = new wxLocale(wxLANGUAGE_DEFAULT);
|
||||
}
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user