Browse Source

Merge pull request #13634 from sledgehammer999/add_latgalian_language

New translation: Latgalian
adaptive-webui-19844
sledgehammer999 4 years ago committed by GitHub
parent
commit
acad35c5bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 42
      dist/unix/org.qbittorrent.qBittorrent.desktop
  2. 1
      src/base/unicodestrings.h
  3. 7
      src/gui/optionsdialog.cpp
  4. 1
      src/lang/lang.qrc
  5. 10222
      src/lang/qbittorrent_ltg.ts
  6. 1
      src/webui/www/private/views/preferences.html
  7. 3330
      src/webui/www/translations/webui_ltg.ts
  8. 1
      src/webui/www/translations/webui_translations.qrc

42
dist/unix/org.qbittorrent.qBittorrent.desktop vendored

@ -22,8 +22,8 @@ Name[af]=qBittorrent
Comment[ar]=نزّل وشارك الملفات عبر كيوبتتورنت Comment[ar]=نزّل وشارك الملفات عبر كيوبتتورنت
GenericName[ar]=عميل بتتورنت GenericName[ar]=عميل بتتورنت
Name[ar]=كيوبتتورنت Name[ar]=كيوبتتورنت
Comment[be]=Сцягванне і раздача файлаў праз пратакол BitTorrent Comment[be]=Спампоўванне і раздача файлаў праз пратакол BitTorrent
GenericName[be]=BitTorrent-кліент GenericName[be]=Кліент BitTorrent
Name[be]=qBittorrent Name[be]=qBittorrent
Comment[bg]=Сваляне и споделяне на файлове чрез BitTorrent Comment[bg]=Сваляне и споделяне на файлове чрез BitTorrent
GenericName[bg]=BitTorrent клиент GenericName[bg]=BitTorrent клиент
@ -34,19 +34,19 @@ Name[bn]=কিউবিটটর
Comment[bs]=Preuzmi i dijeli datoteke preko BitTorrent-a Comment[bs]=Preuzmi i dijeli datoteke preko BitTorrent-a
GenericName[bs]=BitTorrent klijent GenericName[bs]=BitTorrent klijent
Name[bs]=qBittorrent Name[bs]=qBittorrent
Comment[ca]=Baixeu i compartiu fitxers mitjançant BitTorrent Comment[ca]=Baixeu i compartiu fitxers amb el BitTorrent
GenericName[ca]=Client de BitTorrent GenericName[ca]=Client de BitTorrent
Name[ca]=qBittorrent Name[ca]=qBittorrent
Comment[cs]=Stahování a sdílení souborů přes síť BitTorrent Comment[cs]=Stahování a sdílení souborů přes síť BitTorrent
GenericName[cs]=BitTorrent klient GenericName[cs]=BitTorrent klient
Name[cs]=qBittorrent Name[cs]=qBittorrent
Comment[da]=Download og del filer over BitTorrent Comment[da]=Download og del filer over BitTorrent
GenericName[da]=BitTorrent klient GenericName[da]=BitTorrent-klient
Name[da]=qBittorrent Name[da]=qBittorrent
Comment[de]=Über BitTorrent Dateien herunterladen und teilen Comment[de]=Über BitTorrent Dateien herunterladen und teilen
GenericName[de]=BitTorrent Client GenericName[de]=BitTorrent Client
Name[de]=qBittorrent Name[de]=qBittorrent
Comment[el]=Κάντε λήψη και ανταλάξτε αρχεία μέσω BitTorrent Comment[el]=Κάντε λήψη και ανταλλάξτε αρχεία μέσω BitTorrent
GenericName[el]=Πελάτης BitTorrent GenericName[el]=Πελάτης BitTorrent
Name[el]=qBittorrent Name[el]=qBittorrent
Comment[en_GB]=Download and share files over BitTorrent Comment[en_GB]=Download and share files over BitTorrent
@ -55,7 +55,7 @@ Name[en_GB]=qBittorrent
Comment[es]=Descargue y comparta archivos por BitTorrent Comment[es]=Descargue y comparta archivos por BitTorrent
GenericName[es]=Cliente BitTorrent GenericName[es]=Cliente BitTorrent
Name[es]=qBittorrent Name[es]=qBittorrent
Comment[eu]=Jeitsi eta elkarbanatu agiriak BitTorrent-en Comment[eu]=Jeitsi eta elkarbanatu agiriak BitTorrent bidez
GenericName[eu]=BitTorrent bezeroa GenericName[eu]=BitTorrent bezeroa
Name[eu]=qBittorrent Name[eu]=qBittorrent
Comment[fa]=دانلود و به اشتراک گذاری فایل های بوسیله بیت تورنت Comment[fa]=دانلود و به اشتراک گذاری فایل های بوسیله بیت تورنت
@ -97,15 +97,18 @@ Name[ja]=qBittorrent
Comment[ka]=ჩამოტვირთე და გააზიარე ფაილები Bittorrent-ის საშუალებით Comment[ka]=ჩამოტვირთე და გააზიარე ფაილები Bittorrent-ის საშუალებით
GenericName[ka]=BitTorrent კლიენტი GenericName[ka]=BitTorrent კლიენტი
Name[ka]=qBittorrent Name[ka]=qBittorrent
Comment[ko]=비트토런트를 통해 파일을 다운로드하고 공유합니다 Comment[ko]=비트토런트를 통해 파일을 고 공유합니다
GenericName[ko]=비트토런트 클라이언트 GenericName[ko]=비트토런트 클라이언트
Name[ko]=큐빗토런트 Name[ko]=qBittorrent
Comment[zh]=通过 BitTorrent 下载和分享文件 Comment[zh]=通过 BitTorrent 下载和分享文件
GenericName[zh]=BitTorrent 客户端 GenericName[zh]=BitTorrent 客户端
Name[zh]=qBittorrent Name[zh]=qBittorrent
Comment[lt]=Atsisiųskite bei dalinkitės failais BitTorrent tinkle Comment[lt]=Atsisiųskite bei dalinkitės failais BitTorrent tinkle
GenericName[lt]=BitTorrent klientas GenericName[lt]=BitTorrent klientas
Name[lt]=qBittorrent Name[lt]=qBittorrent
Comment[mk]=Превземајте и споделувајте фајлови преку BitTorrent
GenericName[mk]=BitTorrent клиент
Name[mk]=qBittorrent
Comment[nb]=Last ned og del filer over BitTorrent Comment[nb]=Last ned og del filer over BitTorrent
GenericName[nb]=BitTorrent-klient GenericName[nb]=BitTorrent-klient
Name[nb]=qBittorrent Name[nb]=qBittorrent
@ -113,7 +116,7 @@ Comment[nqo]=ߞߐߕߐ߯ߘߐ ߟߎ߬ ߟߊߖߌ߰ ߞߊ߬ ߓߊ߲߫ ߞߵߊ߬ߟߎ߬ ߘ
GenericName[nqo]=ߓߌߙߏߙߍ߲ߕ ߕߣߐ߬ߓߐ߬ߟߊ GenericName[nqo]=ߓߌߙߏߙߍ߲ߕ ߕߣߐ߬ߓߐ߬ߟߊ
Name[nqo]=ߞߎ߳ߓߌߕߏߙߍ߲ߕ Name[nqo]=ߞߎ߳ߓߌߕߏߙߍ߲ߕ
Comment[nl]=Bestanden downloaden en delen via BitTorrent Comment[nl]=Bestanden downloaden en delen via BitTorrent
GenericName[nl]=BitTorrent-cliënt GenericName[nl]=BitTorrent-client
Name[nl]=qBittorrent Name[nl]=qBittorrent
Comment[pl]=Pobieraj i dziel się plikami przez BitTorrent Comment[pl]=Pobieraj i dziel się plikami przez BitTorrent
GenericName[pl]=Klient BitTorrent GenericName[pl]=Klient BitTorrent
@ -127,8 +130,8 @@ Name[pt_BR]=qBittorrent
Comment[ro]=Descărcați și partajați fișiere prin BitTorrent Comment[ro]=Descărcați și partajați fișiere prin BitTorrent
GenericName[ro]=Client BitTorrent GenericName[ro]=Client BitTorrent
Name[ro]=qBittorrent Name[ro]=qBittorrent
Comment[ru]=Скачивайте и делитесь файлами с помощью BitTorrent Comment[ru]=Обмен файлами по сети BitTorrent
GenericName[ru]=BitTorrent-клиент GenericName[ru]=Клиент сети BitTorrent
Name[ru]=qBittorrent Name[ru]=qBittorrent
Comment[sk]=Sťahovanie a zdieľanie súborov prostredníctvom siete BitTorrent Comment[sk]=Sťahovanie a zdieľanie súborov prostredníctvom siete BitTorrent
GenericName[sk]=Klient siete BitTorrent GenericName[sk]=Klient siete BitTorrent
@ -146,16 +149,19 @@ Name[sv]=qBittorrent
Comment[uz@Latn]=BitTorrent orqali fayllarni yuklab olish va baham ko‘rish Comment[uz@Latn]=BitTorrent orqali fayllarni yuklab olish va baham ko‘rish
GenericName[uz@Latn]=BitTorrent mijozi GenericName[uz@Latn]=BitTorrent mijozi
Name[uz@Latn]=qBittorrent Name[uz@Latn]=qBittorrent
Comment[te]=కిిమతిి , పి Comment[ltg]=Atsasyuteit i daleit failus ar BitTorrent
GenericName[te]=కిలయి GenericName[ltg]=BitTorrent klients
Name[te]=కి Name[ltg]=qBittorrent
Comment[hi_IN]= अपनइल BitTorrent कयम सउनलड आर स कर Comment[hi_IN]= अपनइल BitTorrent कयम सउनलड आर स कर
GenericName[hi_IN]=BitTorrent उपभ GenericName[hi_IN]=BitTorrent उपभ
Name[hi_IN]=qBittorrent Name[hi_IN]=qBittorrent
Comment[tr]=Dosyaları BitTorrent üzerinden indirin ve paylaşın Comment[tr]=Dosyaları BitTorrent üzerinden indirin ve paylaşın
GenericName[tr]=BitTorrent istemcisi GenericName[tr]=BitTorrent istemcisi
Name[tr]=qBittorrent Name[tr]=qBittorrent
Comment[uk]=Завантажувати і обмінюватися файлами через BitTorrent Comment[ur]=BitTorrent پر فائلوں کو ڈاؤن لوڈ کریں اور اشتراک کریں
GenericName[ur]=قیو بٹ ٹورنٹ کلائنٹ
Name[ur]=قیو بٹ ٹورنٹ
Comment[uk]=Завантажуйте та поширюйте файли через BitTorrent
GenericName[uk]=BitTorrent-клієнт GenericName[uk]=BitTorrent-клієнт
Name[uk]=qBittorrent Name[uk]=qBittorrent
Comment[vi]=Tải về và chia sẻ các tập tin thông qua BitTorrent Comment[vi]=Tải về và chia sẻ các tập tin thông qua BitTorrent
@ -179,9 +185,15 @@ Name[eo]=qBittorrent
Comment[mn_MN]=BitTorrent ашиглан файлуудыг татаж түгээх Comment[mn_MN]=BitTorrent ашиглан файлуудыг татаж түгээх
GenericName[mn_MN]=BitTorrent үйлчлүүлэгч GenericName[mn_MN]=BitTorrent үйлчлүүлэгч
Name[mn_MN]=qBittorrent Name[mn_MN]=qBittorrent
Comment[ta]=BitTorrent வழிக ககள பதிிறகக மற பகி
GenericName[ta]=BitTorrent விளர
Name[ta]=qBittorrent
Comment[ne_NP]=फइलहरउनलड गर र BitTorrent म गर Comment[ne_NP]=फइलहरउनलड गर र BitTorrent म गर
GenericName[ne_NP]=BitTorrent कइन GenericName[ne_NP]=BitTorrent कइन
Name[ne_NP]=qBittorrent Name[ne_NP]=qBittorrent
Comment[te]=కిిమతిి , పి
GenericName[te]=కిలయి
Name[te]=కి
Comment[en_AU]=Download and share files over BitTorrent Comment[en_AU]=Download and share files over BitTorrent
GenericName[en_AU]=BitTorrent client GenericName[en_AU]=BitTorrent client
Name[en_AU]=qBittorrent Name[en_AU]=qBittorrent

1
src/base/unicodestrings.h

@ -74,6 +74,7 @@ const char C_LOCALE_INDONESIAN[] = "Bahasa Indonesia";
const char C_LOCALE_ITALIAN[] = "Italiano"; const char C_LOCALE_ITALIAN[] = "Italiano";
const char C_LOCALE_JAPANESE[] = "日本語"; const char C_LOCALE_JAPANESE[] = "日本語";
const char C_LOCALE_KOREAN[] = "한글"; const char C_LOCALE_KOREAN[] = "한글";
const char C_LOCALE_LATGALIAN[] = "latgalīšu volūda";
const char C_LOCALE_LATVIAN[] = "latviešu valoda"; const char C_LOCALE_LATVIAN[] = "latviešu valoda";
const char C_LOCALE_LITHUANIAN[] = "Lietuvių"; const char C_LOCALE_LITHUANIAN[] = "Lietuvių";
const char C_LOCALE_MALAY[] = "بهاس ملايو"; const char C_LOCALE_MALAY[] = "بهاس ملايو";

7
src/gui/optionsdialog.cpp

@ -575,6 +575,10 @@ void OptionsDialog::initializeLanguageCombo()
// QLocale doesn't work with that locale. Esperanto isn't a "real" language. // QLocale doesn't work with that locale. Esperanto isn't a "real" language.
languageName = QString::fromUtf8(C_LOCALE_ESPERANTO); languageName = QString::fromUtf8(C_LOCALE_ESPERANTO);
} }
else if (localeStr.startsWith("ltg", Qt::CaseInsensitive)) {
// QLocale doesn't work with that locale.
languageName = QString::fromUtf8(C_LOCALE_LATGALIAN);
}
else { else {
QLocale locale(localeStr); QLocale locale(localeStr);
languageName = languageToLocalizedString(locale); languageName = languageToLocalizedString(locale);
@ -1549,6 +1553,9 @@ void OptionsDialog::setLocale(const QString &localeStr)
if (localeStr.startsWith("eo", Qt::CaseInsensitive)) { if (localeStr.startsWith("eo", Qt::CaseInsensitive)) {
name = "eo"; name = "eo";
} }
else if (localeStr.startsWith("ltg", Qt::CaseInsensitive)) {
name = "ltg";
}
else { else {
QLocale locale(localeStr); QLocale locale(localeStr);
if (locale.language() == QLocale::Uzbek) if (locale.language() == QLocale::Uzbek)

1
src/lang/lang.qrc

@ -29,6 +29,7 @@
<file>qbittorrent_ka.qm</file> <file>qbittorrent_ka.qm</file>
<file>qbittorrent_ko.qm</file> <file>qbittorrent_ko.qm</file>
<file>qbittorrent_lt.qm</file> <file>qbittorrent_lt.qm</file>
<file>qbittorrent_ltg.qm</file>
<file>qbittorrent_lv_LV.qm</file> <file>qbittorrent_lv_LV.qm</file>
<file>qbittorrent_ms_MY.qm</file> <file>qbittorrent_ms_MY.qm</file>
<file>qbittorrent_nb.qm</file> <file>qbittorrent_nb.qm</file>

10222
src/lang/qbittorrent_ltg.ts

File diff suppressed because it is too large Load Diff

1
src/webui/www/private/views/preferences.html

@ -668,6 +668,7 @@
<option value="pl_PL">Polski</option> <option value="pl_PL">Polski</option>
<option value="lv_LV">latviešu valoda</option> <option value="lv_LV">latviešu valoda</option>
<option value="lt_LT">Lietuvių</option> <option value="lt_LT">Lietuvių</option>
<option value="ltg">latgalīšu volūda</option>
<option value="ms_MY">بهاس ملايو</option> <option value="ms_MY">بهاس ملايو</option>
<option value="cs_CZ">Čeština</option> <option value="cs_CZ">Čeština</option>
<option value="sk_SK">Slovenčina</option> <option value="sk_SK">Slovenčina</option>

3330
src/webui/www/translations/webui_ltg.ts

File diff suppressed because it is too large Load Diff

1
src/webui/www/translations/webui_translations.qrc

@ -29,6 +29,7 @@
<file>webui_ka.qm</file> <file>webui_ka.qm</file>
<file>webui_ko.qm</file> <file>webui_ko.qm</file>
<file>webui_lt.qm</file> <file>webui_lt.qm</file>
<file>webui_ltg.qm</file>
<file>webui_lv_LV.qm</file> <file>webui_lv_LV.qm</file>
<file>webui_ms_MY.qm</file> <file>webui_ms_MY.qm</file>
<file>webui_nb.qm</file> <file>webui_nb.qm</file>

Loading…
Cancel
Save