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:
Stone Li 2024-07-19 14:24:18 +08:00 committed by Lane.Wei
parent fb92013ae8
commit 530153b32b
3 changed files with 12943 additions and 1 deletions

12938
bbl/i18n/pl/BambuStudio_pl.po Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -167,6 +167,9 @@ wxBoxSizer *PreferencesDialog::create_item_language_combobox(
else if (vlist[i] == wxLocale::GetLanguageInfo(wxLANGUAGE_TURKISH)) {
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) {
m_current_language_selected = i;
@ -999,7 +1002,8 @@ wxWindow* PreferencesDialog::create_general_page()
wxLANGUAGE_CZECH,
wxLANGUAGE_UKRAINIAN,
wxLANGUAGE_PORTUGUESE_BRAZILIAN,
wxLANGUAGE_TURKISH
wxLANGUAGE_TURKISH,
wxLANGUAGE_POLISH
};
auto translations = wxTranslations::Get()->GetAvailableTranslations(SLIC3R_APP_KEY);