Update for Italian localisation.
This commit is contained in:
parent
b887795e21
commit
7f5f97bef2
|
@ -191,6 +191,7 @@ MyPropertySheet::MyPropertySheet (
|
||||||
languageBox->Insert ( _T ( "English (US)" ), INDEX_ENGLISH_US );
|
languageBox->Insert ( _T ( "English (US)" ), INDEX_ENGLISH_US );
|
||||||
languageBox->Insert ( _T ( "French" ), INDEX_FRENCH );
|
languageBox->Insert ( _T ( "French" ), INDEX_FRENCH );
|
||||||
languageBox->Insert ( _T ( "German" ), INDEX_GERMAN );
|
languageBox->Insert ( _T ( "German" ), INDEX_GERMAN );
|
||||||
|
languageBox->Insert ( _T ( "Italian" ), INDEX_ITALIAN );
|
||||||
languageBox->Insert ( _T ( "Slovak" ), INDEX_SLOVAK );
|
languageBox->Insert ( _T ( "Slovak" ), INDEX_SLOVAK );
|
||||||
languageBox->Insert ( _T ( "Swedish" ), INDEX_SWEDISH );
|
languageBox->Insert ( _T ( "Swedish" ), INDEX_SWEDISH );
|
||||||
languageBox->Insert ( _T ( "Ukrainian" ), INDEX_UKRAINIAN );
|
languageBox->Insert ( _T ( "Ukrainian" ), INDEX_UKRAINIAN );
|
||||||
|
@ -203,6 +204,9 @@ MyPropertySheet::MyPropertySheet (
|
||||||
case wxLANGUAGE_FRENCH:
|
case wxLANGUAGE_FRENCH:
|
||||||
languageBox->SetSelection ( INDEX_FRENCH );
|
languageBox->SetSelection ( INDEX_FRENCH );
|
||||||
break;
|
break;
|
||||||
|
case wxLANGUAGE_ITALIAN:
|
||||||
|
languageBox->SetSelection ( INDEX_ITALIAN );
|
||||||
|
break;
|
||||||
case wxLANGUAGE_SLOVAK:
|
case wxLANGUAGE_SLOVAK:
|
||||||
languageBox->SetSelection ( INDEX_SLOVAK );
|
languageBox->SetSelection ( INDEX_SLOVAK );
|
||||||
break;
|
break;
|
||||||
|
@ -325,6 +329,9 @@ void MyPropertySheet::OnOk ( wxCommandEvent& e )
|
||||||
int languageChoice = languageBox->GetSelection();
|
int languageChoice = languageBox->GetSelection();
|
||||||
switch ( languageChoice )
|
switch ( languageChoice )
|
||||||
{
|
{
|
||||||
|
case INDEX_ITALIAN:
|
||||||
|
lang = wxLANGUAGE_ITALIAN;
|
||||||
|
break;
|
||||||
case INDEX_GERMAN:
|
case INDEX_GERMAN:
|
||||||
lang = wxLANGUAGE_GERMAN;
|
lang = wxLANGUAGE_GERMAN;
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -37,6 +37,7 @@ enum langIndex {
|
||||||
INDEX_ENGLISH_US,
|
INDEX_ENGLISH_US,
|
||||||
INDEX_FRENCH,
|
INDEX_FRENCH,
|
||||||
INDEX_GERMAN,
|
INDEX_GERMAN,
|
||||||
|
INDEX_ITALIAN,
|
||||||
INDEX_SLOVAK,
|
INDEX_SLOVAK,
|
||||||
INDEX_SWEDISH,
|
INDEX_SWEDISH,
|
||||||
INDEX_UKRAINIAN
|
INDEX_UKRAINIAN
|
||||||
|
|
Loading…
Reference in New Issue