NEW: support korean and russian language
Change-Id: Ie29a6304906415e2e71f0dc8ee99ffc65b1a1708 Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
parent
93cf701be5
commit
a75d024485
File diff suppressed because it is too large
Load Diff
|
@ -39,6 +39,11 @@
|
||||||
"pattern": "bbl/i18n/hu/BambuStudio_hu.po",
|
"pattern": "bbl/i18n/hu/BambuStudio_hu.po",
|
||||||
"lang": "hu"
|
"lang": "hu"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "po",
|
||||||
|
"pattern": "bbl/i18n/ja/BambuStudio_it.po",
|
||||||
|
"lang": "it"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "po",
|
"type": "po",
|
||||||
"pattern": "bbl/i18n/ja/BambuStudio_ja.po",
|
"pattern": "bbl/i18n/ja/BambuStudio_ja.po",
|
||||||
|
@ -48,6 +53,11 @@
|
||||||
"type": "po",
|
"type": "po",
|
||||||
"pattern": "bbl/i18n/uk/BambuStudio_uk.po",
|
"pattern": "bbl/i18n/uk/BambuStudio_uk.po",
|
||||||
"lang": "uk"
|
"lang": "uk"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "po",
|
||||||
|
"pattern": "bbl/i18n/ja/BambuStudio_ko.po",
|
||||||
|
"lang": "ko"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
Binary file not shown.
|
@ -149,6 +149,12 @@ wxBoxSizer *PreferencesDialog::create_item_language_combobox(
|
||||||
else if (vlist[i] == wxLocale::GetLanguageInfo(wxLANGUAGE_ITALIAN)) {
|
else if (vlist[i] == wxLocale::GetLanguageInfo(wxLANGUAGE_ITALIAN)) {
|
||||||
language_name = wxString::FromUTF8("\x69\x74\x61\x6c\x69\x61\x6e\x6f");
|
language_name = wxString::FromUTF8("\x69\x74\x61\x6c\x69\x61\x6e\x6f");
|
||||||
}
|
}
|
||||||
|
else if (vlist[i] == wxLocale::GetLanguageInfo(wxLANGUAGE_KOREAN)) {
|
||||||
|
language_name = wxString::FromUTF8("\xED\x95\x9C\xEA\xB5\xAD\xEC\x96\xB4");
|
||||||
|
}
|
||||||
|
else if (vlist[i] == wxLocale::GetLanguageInfo(wxLANGUAGE_RUSSIAN)) {
|
||||||
|
language_name = wxString::FromUTF8("\xD1\x80\xD1\x83\xD1\x81\xD1\x81\xD0\xBA");
|
||||||
|
}
|
||||||
else if (vlist[i] == wxLocale::GetLanguageInfo(wxLANGUAGE_UKRAINIAN)) {
|
else if (vlist[i] == wxLocale::GetLanguageInfo(wxLANGUAGE_UKRAINIAN)) {
|
||||||
language_name = wxString::FromUTF8("Ukrainian");
|
language_name = wxString::FromUTF8("Ukrainian");
|
||||||
}
|
}
|
||||||
|
@ -940,6 +946,8 @@ wxWindow* PreferencesDialog::create_general_page()
|
||||||
wxLANGUAGE_HUNGARIAN,
|
wxLANGUAGE_HUNGARIAN,
|
||||||
wxLANGUAGE_JAPANESE,
|
wxLANGUAGE_JAPANESE,
|
||||||
wxLANGUAGE_ITALIAN,
|
wxLANGUAGE_ITALIAN,
|
||||||
|
wxLANGUAGE_KOREAN,
|
||||||
|
wxLANGUAGE_RUSSIAN,
|
||||||
wxLANGUAGE_UKRAINIAN
|
wxLANGUAGE_UKRAINIAN
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue