Update for Italian localisation.

This commit is contained in:
Gerald Schmidt 2007-12-11 23:44:47 +00:00
parent b887795e21
commit 7f5f97bef2
2 changed files with 8 additions and 0 deletions

View File

@ -191,6 +191,7 @@ MyPropertySheet::MyPropertySheet (
languageBox->Insert ( _T ( "English (US)" ), INDEX_ENGLISH_US );
languageBox->Insert ( _T ( "French" ), INDEX_FRENCH );
languageBox->Insert ( _T ( "German" ), INDEX_GERMAN );
languageBox->Insert ( _T ( "Italian" ), INDEX_ITALIAN );
languageBox->Insert ( _T ( "Slovak" ), INDEX_SLOVAK );
languageBox->Insert ( _T ( "Swedish" ), INDEX_SWEDISH );
languageBox->Insert ( _T ( "Ukrainian" ), INDEX_UKRAINIAN );
@ -203,6 +204,9 @@ MyPropertySheet::MyPropertySheet (
case wxLANGUAGE_FRENCH:
languageBox->SetSelection ( INDEX_FRENCH );
break;
case wxLANGUAGE_ITALIAN:
languageBox->SetSelection ( INDEX_ITALIAN );
break;
case wxLANGUAGE_SLOVAK:
languageBox->SetSelection ( INDEX_SLOVAK );
break;
@ -325,6 +329,9 @@ void MyPropertySheet::OnOk ( wxCommandEvent& e )
int languageChoice = languageBox->GetSelection();
switch ( languageChoice )
{
case INDEX_ITALIAN:
lang = wxLANGUAGE_ITALIAN;
break;
case INDEX_GERMAN:
lang = wxLANGUAGE_GERMAN;
break;

View File

@ -37,6 +37,7 @@ enum langIndex {
INDEX_ENGLISH_US,
INDEX_FRENCH,
INDEX_GERMAN,
INDEX_ITALIAN,
INDEX_SLOVAK,
INDEX_SWEDISH,
INDEX_UKRAINIAN