Updated for Ukrainian i18n

This commit is contained in:
Gerald Schmidt 2007-08-29 22:48:08 +00:00
parent 8721e773aa
commit 5c11b2e63a
2 changed files with 545 additions and 542 deletions

View File

@ -101,12 +101,6 @@ MyPropertySheet::MyPropertySheet(
new wxCheckBox(editorPanel, wxID_ANY, _("Va&riable highlight in tag free view"));
toggleLineBackgroundBox->SetValue(properties.toggleLineBackground);
/*
wrapBox =
new wxCheckBox(editorPanel, wxID_ANY, _("Wra&p lines"));
wrapBox->SetValue(properties.wrap);
*/
col1sizer->Add(insertCloseTagBox, 0, wxALL | wxALIGN_LEFT, 5);
col1sizer->Add(foldBox, 0, wxALL | wxALIGN_LEFT, 5);
col1sizer->Add(currentLineBox, 0, wxALL | wxALIGN_LEFT, 5);
@ -183,6 +177,7 @@ MyPropertySheet::MyPropertySheet(
languageBox->Insert(_T("German"), INDEX_GERMAN);
languageBox->Insert(_T("Slovak"), INDEX_SLOVAK);
languageBox->Insert(_T("Swedish"), INDEX_SWEDISH);
languageBox->Insert(_T("Ukrainian"), INDEX_UKRAINIAN);
switch (lang)
{
@ -204,8 +199,12 @@ MyPropertySheet::MyPropertySheet(
case wxLANGUAGE_CHINESE_TRADITIONAL:
languageBox->SetSelection(INDEX_CHINESE_TRADITIONAL);
break;
case wxLANGUAGE_UKRAINIAN:
languageBox->SetSelection(INDEX_UKRAINIAN);
break;
default:
languageBox->SetSelection(INDEX_ENGLISH_US);
break;
}
libxmlNetAccessBox = new wxCheckBox(
@ -339,6 +338,9 @@ void MyPropertySheet::OnOk(wxCommandEvent& e)
case INDEX_SWEDISH:
lang = wxLANGUAGE_SWEDISH;
break;
case INDEX_UKRAINIAN:
lang = wxLANGUAGE_UKRAINIAN;
break;
default:
lang = wxLANGUAGE_ENGLISH_US;
break;

View File

@ -20,6 +20,7 @@ enum langIndex {
INDEX_GERMAN,
INDEX_SLOVAK,
INDEX_SWEDISH,
INDEX_UKRAINIAN
};
class MyPropertySheet : public wxPropertySheetDialog