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

feat(l10n): add Romanian translation to UI

This commit is contained in:
Zetok Zalbavar 2017-04-30 20:18:02 +01:00
parent 8b22e962ed
commit 0192e9275f
No known key found for this signature in database
GPG Key ID: C953D3880212068A
5 changed files with 84 additions and 13 deletions

View File

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

View File

@ -35,19 +35,86 @@
#include "src/widget/translator.h"
#include "src/widget/widget.h"
static QStringList locales = {"ar", "be", "bg", "cs", "da", "de", "et", "el", "en",
"es", "eo", "fr", "ko", "he", "hr", "it", "sw", "lt",
"jbo", "hu", "nl", "ja", "no_nb", "pr", "pl", "pt", "ru",
"sk", "sl", "fi", "sv", "tr", "ug", "uk", "zh_CN", "zh_TW"};
static QStringList langs = {"Arabic", "Беларуская", "Български", "Čeština",
"Dansk", "Deutsch", "Eesti", "Ελληνικά",
"English", "Español", "Esperanto", "Français",
"한국어", "עברית", "Hrvatski", "Italiano",
"Kiswahili", "Lietuvių", "Lojban", "Magyar",
"Nederlands", "日本語", "Norsk Bokmål", "Pirate",
"Polski", "Português", "Русский", "Slovenčina",
"Slovenščina", "Suomi", "Svenska", "Türkçe",
"ئۇيغۇرچە", "Українська", "中文(中国)", "繁體中文(台灣)"};
// clang-format off
static QStringList locales = {
"ar",
"be",
"bg",
"cs",
"da",
"de",
"et",
"el",
"en",
"es",
"eo",
"fr",
"ko",
"he",
"hr",
"it",
"sw",
"lt",
"jbo",
"hu",
"nl",
"ja",
"no_nb",
"pr",
"pl",
"pt",
"ro",
"ru",
"sk",
"sl",
"fi",
"sv",
"tr",
"ug",
"uk",
"zh_CN",
"zh_TW"
};
static QStringList langs = {
"Arabic",
"Беларуская",
"Български",
"Čeština",
"Dansk",
"Deutsch",
"Eesti",
"Ελληνικά",
"English",
"Español",
"Esperanto",
"Français",
"한국어",
"עברית",
"Hrvatski",
"Italiano",
"Kiswahili",
"Lietuvių",
"Lojban",
"Magyar",
"Nederlands",
"日本語",
"Norsk Bokmål",
"Pirate",
"Polski",
"Português",
"Română",
"Русский",
"Slovenčina",
"Slovenščina",
"Suomi",
"Svenska",
"Türkçe",
"ئۇيغۇرچە",
"Українська",
"中文(中国)",
"繁體中文(台灣)"
};
// clang-format on
/**
* @class GeneralForm

View File

@ -36,6 +36,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)
[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)
[Slovenščina](https://hosted.weblate.org/engage/tox/sl/) | [![Translation status](https://hosted.weblate.org/widgets/tox/sl/svg-badge.svg)](https://hosted.weblate.org/engage/tox/sl/?utm_source=widget)

View File

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

View File

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