Browse Source

Add the new translation to the build.

adaptive-webui-19844
sledgehammer999 11 years ago
parent
commit
7712ca3efd
  1. 1
      src/lang.qrc
  2. 1
      src/preferences/options_imp.cpp
  3. 3
      src/src.pro

1
src/lang.qrc

@ -35,6 +35,7 @@ @@ -35,6 +35,7 @@
<file>lang/qbittorrent_sv.qm</file>
<file>lang/qbittorrent_tr.qm</file>
<file>lang/qbittorrent_uk.qm</file>
<file>lang/qbittorrent_vi.qm</file>
<file>lang/qbittorrent_zh.qm</file>
<file>lang/qbittorrent_zh_TW.qm</file>
</qresource>

1
src/preferences/options_imp.cpp

@ -1344,6 +1344,7 @@ QString options_imp::languageToLocalizedString(QLocale::Language language, const @@ -1344,6 +1344,7 @@ QString options_imp::languageToLocalizedString(QLocale::Language language, const
case QLocale::Georgian: return QString::fromUtf8("ქართული");
case QLocale::Byelorussian: return QString::fromUtf8("Беларуская");
case QLocale::Basque: return QString::fromUtf8("Euskara");
case QLocale::Vietnamese: return QString::fromUtf8("tiếng Việt");
case QLocale::Chinese: {
if (country == "cn")
return QString::fromUtf8("中文 (简体)");

3
src/src.pro

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

Loading…
Cancel
Save