1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

chore(i18n): add pt_BR translation

This commit is contained in:
Anthony Bilinski 2019-04-22 14:51:47 -07:00
parent 922fd58af6
commit e1f7edd298
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C
5 changed files with 7 additions and 0 deletions

View File

@ -170,6 +170,7 @@ qt5_add_translation(${PROJECT_NAME}_QM_FILES
translations/pl.ts
translations/pr.ts
translations/pt.ts
translations/pt_BR.ts
translations/ro.ts
translations/ru.ts
translations/sk.ts

View File

@ -64,6 +64,7 @@ static QStringList locales = {
"pr",
"pl",
"pt",
"pt_BR",
"ro",
"ru",
"sk",
@ -118,6 +119,8 @@ GeneralForm::GeneralForm(SettingsWidget* myParent)
langName = QLatin1String("Lojban");
else if (locales[i].startsWith(QLatin1String("pr")))
langName = QLatin1String("Pirate");
else if (locales[i] == (QLatin1String("pt"))) // QTBUG-47891
langName = QStringLiteral("português");
else
langName = QLocale(locales[i]).nativeLanguageName();

View File

@ -34,6 +34,7 @@ Language | Status
[Pirate](https://hosted.weblate.org/engage/tox/pr/) | [![Translation status](https://hosted.weblate.org/widgets/tox/pr/svg-badge.svg)](https://hosted.weblate.org/engage/tox/pr/?utm_source=widget)
[Polski](https://hosted.weblate.org/engage/tox/pl/) | [![Translation status](https://hosted.weblate.org/widgets/tox/pl/svg-badge.svg)](https://hosted.weblate.org/engage/tox/pl/?utm_source=widget)
[Português](https://hosted.weblate.org/engage/tox/pt/) | [![Translation status](https://hosted.weblate.org/widgets/tox/pt/svg-badge.svg)](https://hosted.weblate.org/engage/tox/pt/?utm_source=widget)
[Português brasileiro](https://hosted.weblate.org/engage/tox/pt_BR/) | [![Translation status](https://hosted.weblate.org/widgets/tox/pt_BR/svg-badge.svg)](https://hosted.weblate.org/engage/tox/pt_BR/?utm_source=widget)
[Română](https://hosted.weblate.org/engage/tox/ro/) | [![Translation status](https://hosted.weblate.org/widgets/tox/ro/svg-badge.svg)](https://hosted.weblate.org/engage/tox/ro/?utm_source=widget)
[Русский](https://hosted.weblate.org/engage/tox/ru/) | [![Translation status](https://hosted.weblate.org/widgets/tox/ru/svg-badge.svg)](https://hosted.weblate.org/engage/tox/ru/?utm_source=widget)
[Slovenčina](https://hosted.weblate.org/engage/tox/sk/) | [![Translation status](https://hosted.weblate.org/widgets/tox/sk/svg-badge.svg)](https://hosted.weblate.org/engage/tox/sk/?utm_source=widget)

View File

@ -28,6 +28,7 @@ TRANSLATIONS = \
translations/pl.ts \
translations/pr.ts \
translations/pt.ts \
translations/pt_BR.ts \
translations/ro.ts \
translations/ru.ts \
translations/sk.ts \

View File

@ -27,6 +27,7 @@
<file>pl.qm</file>
<file>pr.qm</file>
<file>pt.qm</file>
<file>pt_BR.qm</file>
<file>ro.qm</file>
<file>ru.qm</file>
<file>sk.qm</file>