mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-10 16:27:54 -06:00
compilation errors fixed of Ukrainian localizalion (#1610)
* compilation errors fixed of Ukrainian localizalion * add UKRAINIAN lang option in UI --------- Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
parent
d7a1241550
commit
979b17fab7
4 changed files with 1906 additions and 1689 deletions
|
@ -144,6 +144,9 @@ wxBoxSizer *PreferencesDialog::create_item_language_combobox(
|
|||
else if (vlist[i] == wxLocale::GetLanguageInfo(wxLANGUAGE_RUSSIAN)) {
|
||||
language_name = wxString::FromUTF8("\xd0\xa0\xd1\x83\xd1\x81\xd1\x81\xd0\xba\xd0\xb8\xd0\xb9");
|
||||
}
|
||||
else if (vlist[i] == wxLocale::GetLanguageInfo(wxLANGUAGE_UKRAINIAN)) {
|
||||
language_name = wxString::FromUTF8("Ukrainian");
|
||||
}
|
||||
|
||||
if (app_config->get(param) == vlist[i]->CanonicalName) {
|
||||
m_current_language_selected = i;
|
||||
|
@ -896,7 +899,8 @@ wxWindow* PreferencesDialog::create_general_page()
|
|||
wxLANGUAGE_JAPANESE,
|
||||
wxLANGUAGE_ITALIAN,
|
||||
wxLANGUAGE_KOREAN,
|
||||
wxLANGUAGE_RUSSIAN
|
||||
wxLANGUAGE_RUSSIAN,
|
||||
wxLANGUAGE_UKRAINIAN
|
||||
};
|
||||
|
||||
auto translations = wxTranslations::Get()->GetAvailableTranslations(SLIC3R_APP_KEY);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue