Add Hebrew translation

This commit is contained in:
Christophe Dumez 2012-09-15 10:05:50 +03:00
parent 2508d54c10
commit cf3f0a606d
9 changed files with 5264 additions and 2 deletions

View file

@ -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)

View file

@ -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>\

View file

@ -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 Normal file

Binary file not shown.

5256
src/lang/qbittorrent_he.ts Normal file

File diff suppressed because it is too large Load diff

View file

@ -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 {

View file

@ -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("Беларуская");

View file

@ -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

View file

@ -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>