mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-23 21:14:33 +00:00
Use qmake built-in test function files
to locate translation files
This commit is contained in:
parent
f4f4e31a7a
commit
71143d1417
49
src/src.pro
49
src/src.pro
@ -36,8 +36,6 @@ nowebui: DEFINES += DISABLE_WEBUI
|
||||
strace_win: DEFINES += STACKTRACE_WIN
|
||||
QT += network xml
|
||||
|
||||
# Vars
|
||||
LANG_PATH = lang
|
||||
|
||||
CONFIG(debug, debug|release): message(Project is built in DEBUG mode.)
|
||||
CONFIG(release, debug|release): message(Project is built in RELEASE mode.)
|
||||
@ -72,51 +70,6 @@ RESOURCES += \
|
||||
searchengine.qrc
|
||||
|
||||
# Translations
|
||||
TRANSLATIONS = \
|
||||
$$LANG_PATH/qbittorrent_fr.ts \
|
||||
$$LANG_PATH/qbittorrent_zh.ts \
|
||||
$$LANG_PATH/qbittorrent_zh_TW.ts \
|
||||
$$LANG_PATH/qbittorrent_zh_HK.ts \
|
||||
$$LANG_PATH/qbittorrent_en.ts \
|
||||
$$LANG_PATH/qbittorrent_en_AU.ts \
|
||||
$$LANG_PATH/qbittorrent_en_GB.ts \
|
||||
$$LANG_PATH/qbittorrent_ca.ts \
|
||||
$$LANG_PATH/qbittorrent_es.ts \
|
||||
$$LANG_PATH/qbittorrent_eo.ts \
|
||||
$$LANG_PATH/qbittorrent_pl.ts \
|
||||
$$LANG_PATH/qbittorrent_ko.ts \
|
||||
$$LANG_PATH/qbittorrent_de.ts \
|
||||
$$LANG_PATH/qbittorrent_nl.ts \
|
||||
$$LANG_PATH/qbittorrent_tr.ts \
|
||||
$$LANG_PATH/qbittorrent_sv.ts \
|
||||
$$LANG_PATH/qbittorrent_el.ts \
|
||||
$$LANG_PATH/qbittorrent_ru.ts \
|
||||
$$LANG_PATH/qbittorrent_uk.ts \
|
||||
$$LANG_PATH/qbittorrent_bg.ts \
|
||||
$$LANG_PATH/qbittorrent_id.ts \
|
||||
$$LANG_PATH/qbittorrent_it.ts \
|
||||
$$LANG_PATH/qbittorrent_sk.ts \
|
||||
$$LANG_PATH/qbittorrent_sl.ts \
|
||||
$$LANG_PATH/qbittorrent_ro.ts \
|
||||
$$LANG_PATH/qbittorrent_pt_PT.ts \
|
||||
$$LANG_PATH/qbittorrent_nb.ts \
|
||||
$$LANG_PATH/qbittorrent_fi.ts \
|
||||
$$LANG_PATH/qbittorrent_da.ts \
|
||||
$$LANG_PATH/qbittorrent_ja.ts \
|
||||
$$LANG_PATH/qbittorrent_hu.ts \
|
||||
$$LANG_PATH/qbittorrent_pt_BR.ts \
|
||||
$$LANG_PATH/qbittorrent_cs.ts \
|
||||
$$LANG_PATH/qbittorrent_sr.ts \
|
||||
$$LANG_PATH/qbittorrent_ar.ts \
|
||||
$$LANG_PATH/qbittorrent_hr.ts \
|
||||
$$LANG_PATH/qbittorrent_gl.ts \
|
||||
$$LANG_PATH/qbittorrent_hy.ts \
|
||||
$$LANG_PATH/qbittorrent_lt.ts \
|
||||
$$LANG_PATH/qbittorrent_ka.ts \
|
||||
$$LANG_PATH/qbittorrent_be.ts \
|
||||
$$LANG_PATH/qbittorrent_eu.ts \
|
||||
$$LANG_PATH/qbittorrent_he.ts \
|
||||
$$LANG_PATH/qbittorrent_vi.ts \
|
||||
$$LANG_PATH/qbittorrent_hi_IN.ts
|
||||
TRANSLATIONS += $$files(lang/qbittorrent_*.ts)
|
||||
|
||||
DESTDIR = .
|
||||
|
Loading…
x
Reference in New Issue
Block a user