mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-21 19:33:26 +00:00
i18n: Complete Thai (th) localization and enable Thai in GUI (#13916)
* i18n: complete Thai (th) localization * feat: fix thi translation * feat: fix Thai language localization file --------- Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
committed by
GitHub
parent
752551292b
commit
91ce821959
@@ -152,7 +152,8 @@ wxBoxSizer *PreferencesDialog::create_item_language_combobox(wxString title, wxS
|
||||
wxLANGUAGE_CATALAN,
|
||||
wxLANGUAGE_PORTUGUESE_BRAZILIAN,
|
||||
wxLANGUAGE_LITHUANIAN,
|
||||
wxLANGUAGE_VIETNAMESE
|
||||
wxLANGUAGE_VIETNAMESE,
|
||||
wxLANGUAGE_THAI
|
||||
};
|
||||
|
||||
auto translations = wxTranslations::Get()->GetAvailableTranslations(SLIC3R_APP_KEY);
|
||||
@@ -259,6 +260,9 @@ wxBoxSizer *PreferencesDialog::create_item_language_combobox(wxString title, wxS
|
||||
else if (vlist[i] == wxLocale::GetLanguageInfo(wxLANGUAGE_VIETNAMESE)) {
|
||||
language_name = wxString::FromUTF8("Tiếng Việt");
|
||||
}
|
||||
else if (vlist[i] == wxLocale::GetLanguageInfo(wxLANGUAGE_THAI)) {
|
||||
language_name = wxString::FromUTF8("\xE0\xB9\x84\xE0\xB8\x97\xE0\xB8\xA2");
|
||||
}
|
||||
|
||||
if (app_config->get(param) == vlist[i]->CanonicalName) {
|
||||
m_current_language_selected = i;
|
||||
|
||||
Reference in New Issue
Block a user