Browse Source

Add Hebrew translation

adaptive-webui-19844
Christophe Dumez 12 years ago
parent
commit
cf3f0a606d
  1. 1
      AUTHORS
  2. 1
      src/about_imp.h
  3. 1
      src/lang.qrc
  4. BIN
      src/lang/qbittorrent_he.qm
  5. 5256
      src/lang/qbittorrent_he.ts
  6. 2
      src/main.cpp
  7. 1
      src/preferences/options_imp.cpp
  8. 3
      src/src.pro
  9. 1
      src/webui/html/preferences_content.html

1
AUTHORS

@ -92,6 +92,7 @@ Translations authors: @@ -92,6 +92,7 @@ Translations authors:
- Georgian: Beqa Arabuli (arabulibeqa@yahoo.com)
- German: Niels Hoffmann (zentralmaschine@users.sourceforge.net)
- Greek: Tsvetan Bankov (emerge_life@users.sourceforge.net) and Stephanos Antaris (santaris@csd.auth.gr)
- Hebrew: David Deutsch (d.deffo@gmail.com)
- Hungarian: Majoros Péter (majoros.j.p@t-online.hu)
- Italian: Matteo Sechi (bu17714@gmail.com)
- Japanese: Masato Hashimoto (cabezon.hashimoto@gmail.com)

1
src/about_imp.h

@ -80,6 +80,7 @@ class about : public QDialog, private Ui::AboutDlg{ @@ -80,6 +80,7 @@ class about : public QDialog, private Ui::AboutDlg{
<li><u>Georgian:</u> Beqa Arabuli (arabulibeqa@yahoo.com)</li>\
<li><u>German:</u> Niels Hoffmann (zentralmaschine@users.sourceforge.net)</li>\
<li><u>Greek:</u> Tsvetan Bankov (emerge_life@users.sourceforge.net)</li>\
<li><u>Hebrew:</u> David Deutsch (d.deffo@gmail.com)</li>\
<li><u>Hungarian:</u> Majoros Péter (majoros.peterj@gmail.com)</li>\
<li><u>Italian:</u> Matteo Sechi (bu17714@gmail.com)</li>\
<li><u>Japanese:</u> Masato Hashimoto (cabezon.hashimoto@gmail.com)</li>\

1
src/lang.qrc

@ -36,5 +36,6 @@ @@ -36,5 +36,6 @@
<file>lang/qbittorrent_ka.qm</file>
<file>lang/qbittorrent_be.qm</file>
<file>lang/qbittorrent_eu.qm</file>
<file>lang/qbittorrent_he.qm</file>
</qresource>
</RCC>

BIN
src/lang/qbittorrent_he.qm

Binary file not shown.

5256
src/lang/qbittorrent_he.ts

File diff suppressed because it is too large Load Diff

2
src/main.cpp

@ -229,7 +229,7 @@ int main(int argc, char *argv[]) { @@ -229,7 +229,7 @@ int main(int argc, char *argv[]) {
}
app.installTranslator(&translator);
#ifndef DISABLE_GUI
if (locale.startsWith("ar")) {
if (locale.startsWith("ar") || locale.startsWith("he")) {
qDebug("Right to Left mode");
app.setLayoutDirection(Qt::RightToLeft);
} else {

1
src/preferences/options_imp.cpp

@ -1295,6 +1295,7 @@ QString options_imp::languageToLocalizedString(QLocale::Language language, const @@ -1295,6 +1295,7 @@ QString options_imp::languageToLocalizedString(QLocale::Language language, const
case QLocale::Ukrainian: return QString::fromUtf8("Українська");
case QLocale::Russian: return QString::fromUtf8("Русский");
case QLocale::Japanese: return QString::fromUtf8("日本語");
case QLocale::Hebrew: return QString::fromUtf8("עברית");
case QLocale::Arabic: return QString::fromUtf8("عربي");
case QLocale::Georgian: return QString::fromUtf8("ქართული");
case QLocale::Byelorussian: return QString::fromUtf8("Беларуская");

3
src/src.pro

@ -233,4 +233,5 @@ TRANSLATIONS = $$LANG_PATH/qbittorrent_fr.ts \ @@ -233,4 +233,5 @@ TRANSLATIONS = $$LANG_PATH/qbittorrent_fr.ts \
$$LANG_PATH/qbittorrent_lt.ts \
$$LANG_PATH/qbittorrent_ka.ts \
$$LANG_PATH/qbittorrent_be.ts \
$$LANG_PATH/qbittorrent_eu.ts
$$LANG_PATH/qbittorrent_eu.ts \
$$LANG_PATH/qbittorrent_he.ts

1
src/webui/html/preferences_content.html

@ -286,6 +286,7 @@ @@ -286,6 +286,7 @@
<option value="lt_LT">Lietuvių</option>
<option value="sk_SK">Slovenčina</option>
<option value="sr_CS">Српски</option>
<option value="he_IL">עברית</option>
<option value="hy_AM">Հայերեն</option>
<option value="ka_GE">ქართული</option>
<option value="ro_RO">Română</option>

Loading…
Cancel
Save