Added Spanish translation

This commit is contained in:
Gerald Schmidt 2009-04-14 16:48:52 +00:00
parent dfeef130bb
commit c3fa713b6e
2 changed files with 8 additions and 0 deletions

View File

@ -194,6 +194,7 @@ MyPropertySheet::MyPropertySheet (
languageBox->Insert ( _T ( "Italian" ), INDEX_ITALIAN ); languageBox->Insert ( _T ( "Italian" ), INDEX_ITALIAN );
languageBox->Insert ( _T ( "Russian" ), INDEX_RUSSIAN ); languageBox->Insert ( _T ( "Russian" ), INDEX_RUSSIAN );
languageBox->Insert ( _T ( "Slovak" ), INDEX_SLOVAK ); languageBox->Insert ( _T ( "Slovak" ), INDEX_SLOVAK );
languageBox->Insert ( _T ( "Spanish" ), INDEX_SPANISH );
languageBox->Insert ( _T ( "Swedish" ), INDEX_SWEDISH ); languageBox->Insert ( _T ( "Swedish" ), INDEX_SWEDISH );
languageBox->Insert ( _T ( "Ukrainian" ), INDEX_UKRAINIAN ); languageBox->Insert ( _T ( "Ukrainian" ), INDEX_UKRAINIAN );
@ -226,6 +227,9 @@ MyPropertySheet::MyPropertySheet (
case wxLANGUAGE_UKRAINIAN: case wxLANGUAGE_UKRAINIAN:
languageBox->SetSelection ( INDEX_UKRAINIAN ); languageBox->SetSelection ( INDEX_UKRAINIAN );
break; break;
case wxLANGUAGE_SPANISH:
languageBox->SetSelection ( INDEX_SPANISH );
break;
default: default:
languageBox->SetSelection ( INDEX_ENGLISH_US ); languageBox->SetSelection ( INDEX_ENGLISH_US );
break; break;
@ -354,6 +358,9 @@ void MyPropertySheet::OnOk ( wxCommandEvent& e )
case INDEX_SLOVAK: case INDEX_SLOVAK:
lang = wxLANGUAGE_SLOVAK; lang = wxLANGUAGE_SLOVAK;
break; break;
case INDEX_SPANISH:
lang = wxLANGUAGE_SPANISH;
break;
case INDEX_SWEDISH: case INDEX_SWEDISH:
lang = wxLANGUAGE_SWEDISH; lang = wxLANGUAGE_SWEDISH;
break; break;

View File

@ -42,6 +42,7 @@ enum langIndex
INDEX_ITALIAN, INDEX_ITALIAN,
INDEX_RUSSIAN, INDEX_RUSSIAN,
INDEX_SLOVAK, INDEX_SLOVAK,
INDEX_SPANISH,
INDEX_SWEDISH, INDEX_SWEDISH,
INDEX_UKRAINIAN INDEX_UKRAINIAN
}; };