Finished Lithuanian translation - OrcaSlicer_LT.po (#9000)

# Description

Finished Lithuanian translation
Still some work with *.js (C:\Program
Files\OrcaSlicer\resources\web\***) files:


![image](https://github.com/user-attachments/assets/b6c47fe8-fef0-4249-93e3-bd553678dfa6)
****

Not found where can add Lithuanian language into preferences menu:

![image](https://github.com/user-attachments/assets/ea02a8e5-6464-4c59-b127-caffa9ca7d12)


<!--
> 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


![image](https://github.com/user-attachments/assets/de541508-7abe-40c3-9bfc-e10dd4f725f7)

<!--
> 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:
sharanchius 2025-04-10 09:02:38 +03:00 committed by GitHub
parent b149cb0682
commit 3612d8e4eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 18623 additions and 1 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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);

View File

@ -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);