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:
parent
922fd58af6
commit
e1f7edd298
|
@ -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
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
1
translations/README.md
vendored
1
translations/README.md
vendored
|
@ -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)
|
||||
|
|
1
translations/i18n.pri
vendored
1
translations/i18n.pri
vendored
|
@ -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 \
|
||||
|
|
1
translations/translations.qrc
vendored
1
translations/translations.qrc
vendored
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user