Add a little hack to make it so panic alerts and questions can be translated if they are in the wxWidgets portion of the code, as well as make a few strings in the config dialog translatable.

Add Hungarian translations by Delirious.
Update Italian translations by RebuMan.
Update German translations by JackyCola and LucasX.
Update Greek translations by Gpower2.
Update Frensh translations by Pascal.
Make sure the game list is refreshed when the GC language is changed.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6826 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2011-01-12 13:14:50 +00:00
parent 49a89c1739
commit a4dd8c41a8
33 changed files with 11860 additions and 3540 deletions

View File

@ -174,13 +174,13 @@ void NetPlaySetupDiag::OnHost(wxCommandEvent&)
{
if (::netplay_ptr)
{
PanicAlert("A NetPlay window is already open!!");
PanicAlert("%s", _wxt("A NetPlay window is already open!!"));
return;
}
if (-1 == m_game_lbox->GetSelection())
{
PanicAlert("You must choose a game!!");
PanicAlert("%s", _wxt("You must choose a game!!"));
return;
}
@ -199,7 +199,7 @@ void NetPlaySetupDiag::OnHost(wxCommandEvent&)
}
else
{
PanicAlert("Failed to Listen!!");
PanicAlert("%s", _wxt("Failed to Listen!!"));
npd->Destroy();
// dialog will delete netplay
//delete ::netplay_ptr;
@ -210,7 +210,7 @@ void NetPlaySetupDiag::OnJoin(wxCommandEvent&)
{
if (::netplay_ptr)
{
PanicAlert("A NetPlay window is already open!!");
PanicAlert("%s", _wxt("A NetPlay window is already open!!"));
return;
}
@ -373,7 +373,7 @@ void NetPlayDiag::OnStart(wxCommandEvent&)
if (path.length())
::netplay_ptr->StartGame(path);
else
PanicAlert("Game not found!!");
PanicAlert("%s", _wxt("Game not found!!"));
}
void NetPlayDiag::OnStop(wxCommandEvent&)
@ -492,7 +492,7 @@ void NetPlayDiag::OnConfigPads(wxCommandEvent&)
pmd->Destroy();
if (false == ((NetPlayServer*)::netplay_ptr)->SetPadMapping(pid, mapping))
PanicAlert("Could not set pads. The player left or the game is currently running!\n(setting pads while the game is running is not yet supported)");
PanicAlert("%s", _wxt("Could not set pads. The player left or the game is currently running!\n(setting pads while the game is running is not yet supported)"));
}
ChangeGameDiag::ChangeGameDiag(wxWindow* const parent, const CGameListCtrl* const game_list, wxString& game_name)