NEW: support Brazilian Portuguese language
JIRA: STUDIO-6438 Change-Id: I98ffedac17a7a8984a54af005f4d079b9d8dec82 Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
parent
40a468be3d
commit
94f62f7389
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
|
@ -161,6 +161,9 @@ wxBoxSizer *PreferencesDialog::create_item_language_combobox(
|
||||||
else if (vlist[i] == wxLocale::GetLanguageInfo(wxLANGUAGE_UKRAINIAN)) {
|
else if (vlist[i] == wxLocale::GetLanguageInfo(wxLANGUAGE_UKRAINIAN)) {
|
||||||
language_name = wxString::FromUTF8("\xD0\xA3\xD0\xBA\xD1\x80\xD0\xB0\xD1\x97\xD0\xBD\xD1\x81\xD1\x8C\xD0\xBA\xD0\xB0");
|
language_name = wxString::FromUTF8("\xD0\xA3\xD0\xBA\xD1\x80\xD0\xB0\xD1\x97\xD0\xBD\xD1\x81\xD1\x8C\xD0\xBA\xD0\xB0");
|
||||||
}
|
}
|
||||||
|
else if (vlist[i] == wxLocale::GetLanguageInfo(wxLANGUAGE_PORTUGUESE_BRAZILIAN)) {
|
||||||
|
language_name = wxString("Portugues do Brasil");
|
||||||
|
}
|
||||||
|
|
||||||
if (language == vlist[i]->CanonicalName) {
|
if (language == vlist[i]->CanonicalName) {
|
||||||
m_current_language_selected = i;
|
m_current_language_selected = i;
|
||||||
|
@ -985,7 +988,8 @@ wxWindow* PreferencesDialog::create_general_page()
|
||||||
wxLANGUAGE_KOREAN,
|
wxLANGUAGE_KOREAN,
|
||||||
wxLANGUAGE_RUSSIAN,
|
wxLANGUAGE_RUSSIAN,
|
||||||
wxLANGUAGE_CZECH,
|
wxLANGUAGE_CZECH,
|
||||||
wxLANGUAGE_UKRAINIAN
|
wxLANGUAGE_UKRAINIAN,
|
||||||
|
wxLANGUAGE_PORTUGUESE_BRAZILIAN
|
||||||
};
|
};
|
||||||
|
|
||||||
auto translations = wxTranslations::Get()->GetAvailableTranslations(SLIC3R_APP_KEY);
|
auto translations = wxTranslations::Get()->GetAvailableTranslations(SLIC3R_APP_KEY);
|
||||||
|
|
Loading…
Reference in New Issue