Skip to content

Commit

Permalink
pt-br to pt_br
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielBRDeveloper committed Dec 7, 2024
1 parent 6754268 commit c7d86b8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -702,8 +702,7 @@ if(NOT BUILD_HYDRA_CORE AND NOT BUILD_LIBRETRO_CORE)
)

# Translation files in Qt's .ts format. Will be converted into binary files and embedded into the executable
set(TRANSLATIONS_TS docs/translations/en.ts docs/translations/el.ts docs/translations/es.ts docs/translations/pt-br.ts)

set(TRANSLATIONS_TS docs/translations/en.ts docs/translations/el.ts docs/translations/es.ts docs/translations/pt_br.ts)
set_source_files_properties(${TRANSLATIONS_TS} PROPERTIES OUTPUT_LOCATION "${CMAKE_CURRENT_BINARY_DIR}/translations")
qt_add_translation(TRANSLATIONS_QM ${TRANSLATIONS_TS})

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/panda_qt/translations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ 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 ( Brazillian )
LanguageInfo(QStringLiteral(u"Portugu\u00EAs (Brasil)"), "pt_br") // Portuguese ( Brazillian )
};

QComboBox* ConfigWindow::createLanguageSelect() {
Expand Down

0 comments on commit c7d86b8

Please sign in to comment.