Qt: Portuguese (Brasillian) (#670)

* pt-br

* rename

* some fix

* Limear

* pt-br to pt_br

* Typo

---------

Co-authored-by: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com>
This commit is contained in:
Gabriel Machado 2024-12-07 09:54:45 -04:00 committed by GitHub
parent 1d2429c3ea
commit da907499a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 767 additions and 3 deletions

View file

@ -46,10 +46,11 @@ struct LanguageInfo {
// Please keep this list mostly in alphabetical order.
// Also, for Unicode characters in language names, use Unicode keycodes instead of writing out the name,
// as some compilers/toolchains may not enjoy Unicode in source files.
static std::array<LanguageInfo, 3> languages = {
static std::array<LanguageInfo, 4> languages = {
LanguageInfo(QStringLiteral(u"English"), "en"), // English
LanguageInfo(QStringLiteral(u"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC"), "el"), // Greek
LanguageInfo(QStringLiteral(u"Espa\u00F1ol"), "es"), // Spanish
LanguageInfo(QStringLiteral(u"Portugu\u00EAs (Brasil)"), "pt_br") // Portuguese (Brazilian)
};
QComboBox* ConfigWindow::createLanguageSelect() {