diff --git a/src/lang.qrc b/src/lang.qrc index e631354e5..49d0aa7f1 100644 --- a/src/lang.qrc +++ b/src/lang.qrc @@ -35,6 +35,7 @@ lang/qbittorrent_sv.qm lang/qbittorrent_tr.qm lang/qbittorrent_uk.qm + lang/qbittorrent_vi.qm lang/qbittorrent_zh.qm lang/qbittorrent_zh_TW.qm diff --git a/src/preferences/options_imp.cpp b/src/preferences/options_imp.cpp index e84461a06..cd0b3243e 100755 --- a/src/preferences/options_imp.cpp +++ b/src/preferences/options_imp.cpp @@ -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("中文 (简体)"); diff --git a/src/src.pro b/src/src.pro index 253f7b01f..23a32b504 100644 --- a/src/src.pro +++ b/src/src.pro @@ -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