NEW: support polish language
JIRA: STUDIO-9551 Change-Id: Ife612ddd24a7b3247167be04c3fbfa9219a15777 Signed-off-by: Stone Li <stone.li@bambulab.com> (cherry picked from commit c66e4e54096c93aaa56956b1d59859fa6e602961)
This commit is contained in:
parent
fb92013ae8
commit
530153b32b
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
@ -167,6 +167,9 @@ wxBoxSizer *PreferencesDialog::create_item_language_combobox(
|
||||||
else if (vlist[i] == wxLocale::GetLanguageInfo(wxLANGUAGE_TURKISH)) {
|
else if (vlist[i] == wxLocale::GetLanguageInfo(wxLANGUAGE_TURKISH)) {
|
||||||
language_name = wxString::FromUTF8("\x54\xC3\xBC\x72\x6B\xC3\xA7\x65");
|
language_name = wxString::FromUTF8("\x54\xC3\xBC\x72\x6B\xC3\xA7\x65");
|
||||||
}
|
}
|
||||||
|
else if (vlist[i] == wxLocale::GetLanguageInfo(wxLANGUAGE_POLISH)) {
|
||||||
|
language_name = wxString::FromUTF8("Polski");
|
||||||
|
}
|
||||||
|
|
||||||
if (language == vlist[i]->CanonicalName) {
|
if (language == vlist[i]->CanonicalName) {
|
||||||
m_current_language_selected = i;
|
m_current_language_selected = i;
|
||||||
|
@ -999,7 +1002,8 @@ wxWindow* PreferencesDialog::create_general_page()
|
||||||
wxLANGUAGE_CZECH,
|
wxLANGUAGE_CZECH,
|
||||||
wxLANGUAGE_UKRAINIAN,
|
wxLANGUAGE_UKRAINIAN,
|
||||||
wxLANGUAGE_PORTUGUESE_BRAZILIAN,
|
wxLANGUAGE_PORTUGUESE_BRAZILIAN,
|
||||||
wxLANGUAGE_TURKISH
|
wxLANGUAGE_TURKISH,
|
||||||
|
wxLANGUAGE_POLISH
|
||||||
};
|
};
|
||||||
|
|
||||||
auto translations = wxTranslations::Get()->GetAvailableTranslations(SLIC3R_APP_KEY);
|
auto translations = wxTranslations::Get()->GetAvailableTranslations(SLIC3R_APP_KEY);
|
||||||
|
|
Loading…
Reference in New Issue