From c3fa713b6ed72121cbf8a27ca70d8c8a3d8fa1a7 Mon Sep 17 00:00:00 2001 From: Gerald Schmidt Date: Tue, 14 Apr 2009 16:48:52 +0000 Subject: [PATCH] Added Spanish translation --- src/mypropertysheet.cpp | 7 +++++++ src/mypropertysheet.h | 1 + 2 files changed, 8 insertions(+) diff --git a/src/mypropertysheet.cpp b/src/mypropertysheet.cpp index 09a9947..a175e29 100755 --- a/src/mypropertysheet.cpp +++ b/src/mypropertysheet.cpp @@ -194,6 +194,7 @@ MyPropertySheet::MyPropertySheet ( languageBox->Insert ( _T ( "Italian" ), INDEX_ITALIAN ); languageBox->Insert ( _T ( "Russian" ), INDEX_RUSSIAN ); languageBox->Insert ( _T ( "Slovak" ), INDEX_SLOVAK ); + languageBox->Insert ( _T ( "Spanish" ), INDEX_SPANISH ); languageBox->Insert ( _T ( "Swedish" ), INDEX_SWEDISH ); languageBox->Insert ( _T ( "Ukrainian" ), INDEX_UKRAINIAN ); @@ -226,6 +227,9 @@ MyPropertySheet::MyPropertySheet ( case wxLANGUAGE_UKRAINIAN: languageBox->SetSelection ( INDEX_UKRAINIAN ); break; + case wxLANGUAGE_SPANISH: + languageBox->SetSelection ( INDEX_SPANISH ); + break; default: languageBox->SetSelection ( INDEX_ENGLISH_US ); break; @@ -354,6 +358,9 @@ void MyPropertySheet::OnOk ( wxCommandEvent& e ) case INDEX_SLOVAK: lang = wxLANGUAGE_SLOVAK; break; + case INDEX_SPANISH: + lang = wxLANGUAGE_SPANISH; + break; case INDEX_SWEDISH: lang = wxLANGUAGE_SWEDISH; break; diff --git a/src/mypropertysheet.h b/src/mypropertysheet.h index 91b86fd..4ef09ca 100755 --- a/src/mypropertysheet.h +++ b/src/mypropertysheet.h @@ -42,6 +42,7 @@ enum langIndex INDEX_ITALIAN, INDEX_RUSSIAN, INDEX_SLOVAK, + INDEX_SPANISH, INDEX_SWEDISH, INDEX_UKRAINIAN };