Initial Add of Brazilian Portuguese translation (#5043)

Team:

https://github.com/DvoraGames
https://github.com/jcalmeida85
https://github.com/ramorimdias
https://github.com/Caminhaleonel
This commit is contained in:
Gabriel E Dvoranen 2024-04-17 08:15:26 -03:00 committed by GitHub
parent e5671c505d
commit add3040f68
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 13105 additions and 1 deletions

View file

@ -173,6 +173,9 @@ wxBoxSizer *PreferencesDialog::create_item_language_combobox(
else if (vlist[i] == wxLocale::GetLanguageInfo(wxLANGUAGE_CATALAN)) {
language_name = wxString::FromUTF8("Catalan");
}
else if (vlist[i] == wxLocale::GetLanguageInfo(wxLANGUAGE_PORTUGUESE_BRAZILIAN)) {
language_name = wxString::FromUTF8("Português (Brasil)");
}
if (app_config->get(param) == vlist[i]->CanonicalName) {
m_current_language_selected = i;
@ -986,7 +989,8 @@ wxWindow* PreferencesDialog::create_general_page()
wxLANGUAGE_UKRAINIAN,
wxLANGUAGE_TURKISH,
wxLANGUAGE_POLISH,
wxLANGUAGE_CATALAN
wxLANGUAGE_CATALAN,
wxLANGUAGE_PORTUGUESE_BRAZILIAN
};
auto translations = wxTranslations::Get()->GetAvailableTranslations(SLIC3R_APP_KEY);