From 93feae0c95bb9a6b3a8bbe1022c403e8167bc7b3 Mon Sep 17 00:00:00 2001 From: Zetok Zalbavar Date: Fri, 16 Dec 2016 08:30:30 +0000 Subject: [PATCH] feat(l10n): add Pirate translation to UI --- res.qrc | 1 + src/widget/form/settings/generalform.cpp | 2 ++ translations/README.md | 1 + translations/i18n.pri | 1 + 4 files changed, 5 insertions(+) diff --git a/res.qrc b/res.qrc index a3fdc92a5..8723c3703 100644 --- a/res.qrc +++ b/res.qrc @@ -65,6 +65,7 @@ translations/no_nb.qm translations/lt.qm translations/pl.qm + translations/pr.qm translations/pt.qm translations/ru.qm translations/sk.qm diff --git a/src/widget/form/settings/generalform.cpp b/src/widget/form/settings/generalform.cpp index d06642fd5..1c6a4ecbb 100644 --- a/src/widget/form/settings/generalform.cpp +++ b/src/widget/form/settings/generalform.cpp @@ -58,6 +58,7 @@ static QStringList locales = {"ar", "nl", "ja", "no_nb", + "pr", "pl", "pt", "ru", @@ -92,6 +93,7 @@ static QStringList langs = {"Arabic", "Nederlands", "日本語", "Norsk Bokmål", + "Pirate", "Polski", "Português", "Русский", diff --git a/translations/README.md b/translations/README.md index 33df04444..f3da378a7 100644 --- a/translations/README.md +++ b/translations/README.md @@ -33,6 +33,7 @@ Language | Status [Nederlands](https://hosted.weblate.org/engage/tox/nl/) | [![Translation status](https://hosted.weblate.org/widgets/tox/nl/svg-badge.svg)](https://hosted.weblate.org/engage/tox/nl/?utm_source=widget) [日本語](https://hosted.weblate.org/engage/tox/ja/) | [![Translation status](https://hosted.weblate.org/widgets/tox/ja/svg-badge.svg)](https://hosted.weblate.org/engage/tox/ja/?utm_source=widget) [Norsk Bokmål](https://hosted.weblate.org/engage/tox/no_NB/) | [![Translation status](https://hosted.weblate.org/widgets/tox/no_NB/svg-badge.svg)](https://hosted.weblate.org/engage/tox/no_NB/?utm_source=widget) +[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) [Русский](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) diff --git a/translations/i18n.pri b/translations/i18n.pri index 0080c136a..f7d8fcc4c 100644 --- a/translations/i18n.pri +++ b/translations/i18n.pri @@ -24,6 +24,7 @@ TRANSLATIONS = \ translations/no_nb.ts \ translations/lt.ts \ translations/pl.ts \ + translations/pr.ts \ translations/pt.ts \ translations/ru.ts \ translations/sk.ts \