mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-06-30 08:05:15 +08:00
Finished Lithuanian translation - OrcaSlicer_LT.po (#9000)
# Description Finished Lithuanian translation Still some work with *.js (C:\Program Files\OrcaSlicer\resources\web\***) files:  **** Not found where can add Lithuanian language into preferences menu:  <!-- > Please provide a summary of the changes made in this PR. Include details such as: > * What issue does this PR address or fix? > * What new features or enhancements does this PR introduce? > * Are there any breaking changes or dependencies that need to be considered? --> # Screenshots/Recordings/Graphs  <!-- > Please attach relevant screenshots to showcase the UI changes. > Please attach images that can help explain the changes. --> ## Tests Used internal Poedit tests and alredy loaded this language for my working program interface. <!-- > Please describe the tests that you have conducted to verify the changes made in this PR. -->
This commit is contained in:
parent
b149cb0682
commit
3612d8e4eb
18617
localization/i18n/lt/OrcaSlicer_lt.po
Normal file
18617
localization/i18n/lt/OrcaSlicer_lt.po
Normal file
File diff suppressed because it is too large
Load Diff
@ -6246,6 +6246,7 @@ wxString GUI_App::current_language_code_safe() const
|
||||
{ "ru", "ru_RU", },
|
||||
{ "tr", "tr_TR", },
|
||||
{ "pt", "pt_BR", },
|
||||
{ "lt", "lt_LT", },
|
||||
};
|
||||
wxString language_code = this->current_language_code().BeforeFirst('_');
|
||||
auto it = mapping.find(language_code);
|
||||
|
@ -215,6 +215,9 @@ wxBoxSizer *PreferencesDialog::create_item_language_combobox(
|
||||
else if (vlist[i] == wxLocale::GetLanguageInfo(wxLANGUAGE_PORTUGUESE_BRAZILIAN)) {
|
||||
language_name = wxString::FromUTF8("Português (Brasil)");
|
||||
}
|
||||
else if (vlist[i] == wxLocale::GetLanguageInfo(wxLANGUAGE_LITHUANIAN)) {
|
||||
language_name = wxString::FromUTF8("Lietuvių");
|
||||
}
|
||||
|
||||
if (app_config->get(param) == vlist[i]->CanonicalName) {
|
||||
m_current_language_selected = i;
|
||||
@ -1168,7 +1171,8 @@ wxWindow* PreferencesDialog::create_general_page()
|
||||
wxLANGUAGE_TURKISH,
|
||||
wxLANGUAGE_POLISH,
|
||||
wxLANGUAGE_CATALAN,
|
||||
wxLANGUAGE_PORTUGUESE_BRAZILIAN
|
||||
wxLANGUAGE_PORTUGUESE_BRAZILIAN,
|
||||
wxLANGUAGE_LITHUANIAN,
|
||||
};
|
||||
|
||||
auto translations = wxTranslations::Get()->GetAvailableTranslations(SLIC3R_APP_KEY);
|
||||
|
Loading…
x
Reference in New Issue
Block a user