Browse Source

Add Belarusian translation by Mihas Varantsou

adaptive-webui-19844
Christophe Dumez 13 years ago
parent
commit
3da9fec665
  1. 1
      AUTHORS
  2. 1
      src/about_imp.h
  3. 1
      src/lang.qrc
  4. BIN
      src/lang/qbittorrent_be.qm
  5. 5343
      src/lang/qbittorrent_be.ts
  6. 1
      src/preferences/options_imp.cpp
  7. 3
      src/src.pro

1
AUTHORS

@ -74,6 +74,7 @@ Translations authors:
copyright: copyright:
- Arabic: SDERAWI (abz8868@msn.com) and sn51234 (nesseyan@gmail.com) - Arabic: SDERAWI (abz8868@msn.com) and sn51234 (nesseyan@gmail.com)
- Armenian: Hrant Ohanyan (hrantohanyan@mail.am) - Armenian: Hrant Ohanyan (hrantohanyan@mail.am)
- Belarusian: Mihas Varantsou (meequz@gmail.com)
- Brazilian: Nick Marinho (nickmarinho@gmail.com) - Brazilian: Nick Marinho (nickmarinho@gmail.com)
- Bulgarian: Tsvetan & Boyko Bankoff (emerge_life@users.sourceforge.net) - Bulgarian: Tsvetan & Boyko Bankoff (emerge_life@users.sourceforge.net)
- Catalan: Francisco Luque Contreras (frannoe@ya.com) - Catalan: Francisco Luque Contreras (frannoe@ya.com)

1
src/about_imp.h

@ -64,6 +64,7 @@ class about : public QDialog, private Ui::AboutDlg{
QString trans_txt = "<p>"+tr("I would like to thank the following people who volunteered to translate qBittorrent:")+"</p>"; QString trans_txt = "<p>"+tr("I would like to thank the following people who volunteered to translate qBittorrent:")+"</p>";
trans_txt += QString::fromUtf8("<ul><li><u>Arabic:</u> SDERAWI (abz8868@msn.com) and sn51234 (nesseyan@gmail.com)</li>\ trans_txt += QString::fromUtf8("<ul><li><u>Arabic:</u> SDERAWI (abz8868@msn.com) and sn51234 (nesseyan@gmail.com)</li>\
<li><u>Armenian:</u> Hrant Ohanyan (hrantohanyan@mail.am)</li>\ <li><u>Armenian:</u> Hrant Ohanyan (hrantohanyan@mail.am)</li>\
<li><u>Belarusian:</u> Mihas Varantsou (meequz@gmail.com)</li>\
<li><u>Brazilian:</u> Nick Marinho (nickmarinho@gmail.com)</li>\ <li><u>Brazilian:</u> Nick Marinho (nickmarinho@gmail.com)</li>\
<li><u>Bulgarian:</u> Tsvetan & Boyko Bankoff (emerge_life@users.sourceforge.net)</li>\ <li><u>Bulgarian:</u> Tsvetan & Boyko Bankoff (emerge_life@users.sourceforge.net)</li>\
<li><u>Catalan:</u> Francisco Luque Contreras (frannoe@ya.com)</li>\ <li><u>Catalan:</u> Francisco Luque Contreras (frannoe@ya.com)</li>\

1
src/lang.qrc

@ -34,5 +34,6 @@
<file>lang/qbittorrent_hr.qm</file> <file>lang/qbittorrent_hr.qm</file>
<file>lang/qbittorrent_ro.qm</file> <file>lang/qbittorrent_ro.qm</file>
<file>lang/qbittorrent_ka.qm</file> <file>lang/qbittorrent_ka.qm</file>
<file>lang/qbittorrent_be.qm</file>
</qresource> </qresource>
</RCC> </RCC>

BIN
src/lang/qbittorrent_be.qm

Binary file not shown.

5343
src/lang/qbittorrent_be.ts

File diff suppressed because it is too large Load Diff

1
src/preferences/options_imp.cpp

@ -1271,6 +1271,7 @@ QString options_imp::languageToLocalizedString(QLocale::Language language, const
case QLocale::Japanese: return QString::fromUtf8("日本語"); case QLocale::Japanese: return QString::fromUtf8("日本語");
case QLocale::Arabic: return QString::fromUtf8("عربي"); case QLocale::Arabic: return QString::fromUtf8("عربي");
case QLocale::Georgian: return QString::fromUtf8("ქართული"); case QLocale::Georgian: return QString::fromUtf8("ქართული");
case QLocale::Byelorussian: return QString::fromUtf8("Беларуская");
case QLocale::Chinese: { case QLocale::Chinese: {
if(country == "cn") if(country == "cn")
return QString::fromUtf8("中文 (简体)"); return QString::fromUtf8("中文 (简体)");

3
src/src.pro

@ -220,4 +220,5 @@ TRANSLATIONS = $$LANG_PATH/qbittorrent_fr.ts \
$$LANG_PATH/qbittorrent_gl.ts \ $$LANG_PATH/qbittorrent_gl.ts \
$$LANG_PATH/qbittorrent_hy.ts \ $$LANG_PATH/qbittorrent_hy.ts \
$$LANG_PATH/qbittorrent_lt.ts \ $$LANG_PATH/qbittorrent_lt.ts \
$$LANG_PATH/qbittorrent_ka.ts $$LANG_PATH/qbittorrent_ka.ts \
$$LANG_PATH/qbittorrent_be.ts

Loading…
Cancel
Save