diff --git a/dist/qt-translations/qt_ar.qm b/dist/qt-translations/qt_ar.qm deleted file mode 100644 index e524d5b77..000000000 Binary files a/dist/qt-translations/qt_ar.qm and /dev/null differ diff --git a/dist/qt-translations/qt_bg.qm b/dist/qt-translations/qt_bg.qm deleted file mode 100644 index 2cab8a1bf..000000000 Binary files a/dist/qt-translations/qt_bg.qm and /dev/null differ diff --git a/dist/qt-translations/qt_ca.qm b/dist/qt-translations/qt_ca.qm deleted file mode 100644 index 097360310..000000000 Binary files a/dist/qt-translations/qt_ca.qm and /dev/null differ diff --git a/dist/qt-translations/qt_cs.qm b/dist/qt-translations/qt_cs.qm deleted file mode 100644 index 51ac5694f..000000000 Binary files a/dist/qt-translations/qt_cs.qm and /dev/null differ diff --git a/dist/qt-translations/qt_da.qm b/dist/qt-translations/qt_da.qm deleted file mode 100644 index 177595c8e..000000000 Binary files a/dist/qt-translations/qt_da.qm and /dev/null differ diff --git a/dist/qt-translations/qt_de.qm b/dist/qt-translations/qt_de.qm deleted file mode 100644 index 113bbcc39..000000000 Binary files a/dist/qt-translations/qt_de.qm and /dev/null differ diff --git a/dist/qt-translations/qt_es.qm b/dist/qt-translations/qt_es.qm deleted file mode 100644 index 519116090..000000000 Binary files a/dist/qt-translations/qt_es.qm and /dev/null differ diff --git a/dist/qt-translations/qt_eu.qm b/dist/qt-translations/qt_eu.qm deleted file mode 100644 index 44beb4338..000000000 Binary files a/dist/qt-translations/qt_eu.qm and /dev/null differ diff --git a/dist/qt-translations/qt_fi.qm b/dist/qt-translations/qt_fi.qm deleted file mode 100644 index dc70e8a07..000000000 Binary files a/dist/qt-translations/qt_fi.qm and /dev/null differ diff --git a/dist/qt-translations/qt_fr.qm b/dist/qt-translations/qt_fr.qm deleted file mode 100644 index 609857729..000000000 Binary files a/dist/qt-translations/qt_fr.qm and /dev/null differ diff --git a/dist/qt-translations/qt_gl.qm b/dist/qt-translations/qt_gl.qm deleted file mode 100644 index 36d81a093..000000000 Binary files a/dist/qt-translations/qt_gl.qm and /dev/null differ diff --git a/dist/qt-translations/qt_he.qm b/dist/qt-translations/qt_he.qm deleted file mode 100644 index 4ff507e07..000000000 Binary files a/dist/qt-translations/qt_he.qm and /dev/null differ diff --git a/dist/qt-translations/qt_hu.qm b/dist/qt-translations/qt_hu.qm deleted file mode 100644 index fe78c348d..000000000 Binary files a/dist/qt-translations/qt_hu.qm and /dev/null differ diff --git a/dist/qt-translations/qt_it.qm b/dist/qt-translations/qt_it.qm deleted file mode 100644 index 1e69f88fd..000000000 Binary files a/dist/qt-translations/qt_it.qm and /dev/null differ diff --git a/dist/qt-translations/qt_ja.qm b/dist/qt-translations/qt_ja.qm deleted file mode 100644 index c37cb08b2..000000000 Binary files a/dist/qt-translations/qt_ja.qm and /dev/null differ diff --git a/dist/qt-translations/qt_ko.qm b/dist/qt-translations/qt_ko.qm deleted file mode 100644 index a11ebe474..000000000 Binary files a/dist/qt-translations/qt_ko.qm and /dev/null differ diff --git a/dist/qt-translations/qt_lt.qm b/dist/qt-translations/qt_lt.qm deleted file mode 100644 index 338cd5075..000000000 Binary files a/dist/qt-translations/qt_lt.qm and /dev/null differ diff --git a/dist/qt-translations/qt_nl.qm b/dist/qt-translations/qt_nl.qm deleted file mode 100644 index ce9f56f47..000000000 Binary files a/dist/qt-translations/qt_nl.qm and /dev/null differ diff --git a/dist/qt-translations/qt_pl.qm b/dist/qt-translations/qt_pl.qm deleted file mode 100644 index 8052d82ee..000000000 Binary files a/dist/qt-translations/qt_pl.qm and /dev/null differ diff --git a/dist/qt-translations/qt_pt.qm b/dist/qt-translations/qt_pt.qm deleted file mode 100644 index 9494f6865..000000000 Binary files a/dist/qt-translations/qt_pt.qm and /dev/null differ diff --git a/dist/qt-translations/qt_pt_BR.qm b/dist/qt-translations/qt_pt_BR.qm deleted file mode 100644 index 4bafaad2e..000000000 Binary files a/dist/qt-translations/qt_pt_BR.qm and /dev/null differ diff --git a/dist/qt-translations/qt_ru.qm b/dist/qt-translations/qt_ru.qm deleted file mode 100644 index 1df39b1b7..000000000 Binary files a/dist/qt-translations/qt_ru.qm and /dev/null differ diff --git a/dist/qt-translations/qt_sk.qm b/dist/qt-translations/qt_sk.qm deleted file mode 100644 index 84517643e..000000000 Binary files a/dist/qt-translations/qt_sk.qm and /dev/null differ diff --git a/dist/qt-translations/qt_sv.qm b/dist/qt-translations/qt_sv.qm deleted file mode 100644 index f3556bcaa..000000000 Binary files a/dist/qt-translations/qt_sv.qm and /dev/null differ diff --git a/dist/qt-translations/qt_tr.qm b/dist/qt-translations/qt_tr.qm deleted file mode 100644 index b0d14e9ff..000000000 Binary files a/dist/qt-translations/qt_tr.qm and /dev/null differ diff --git a/dist/qt-translations/qt_uk.qm b/dist/qt-translations/qt_uk.qm deleted file mode 100644 index e2beb1726..000000000 Binary files a/dist/qt-translations/qt_uk.qm and /dev/null differ diff --git a/dist/qt-translations/qt_zh_CN.qm b/dist/qt-translations/qt_zh_CN.qm deleted file mode 100644 index 623b8e33a..000000000 Binary files a/dist/qt-translations/qt_zh_CN.qm and /dev/null differ diff --git a/dist/qt-translations/qt_zh_TW.qm b/dist/qt-translations/qt_zh_TW.qm deleted file mode 100644 index a9a25b204..000000000 Binary files a/dist/qt-translations/qt_zh_TW.qm and /dev/null differ diff --git a/dist/windows/README.txt b/dist/windows/README.txt index 9411f6812..f0fc8065d 100644 --- a/dist/windows/README.txt +++ b/dist/windows/README.txt @@ -41,7 +41,10 @@ installer-translations translations qt_ar.qm ... - (all the .qm files found in dist/qt-translations in every source release) + (all the .qm files found in the 'translations' folder of your Qt install. Those files differ between Qt4 and Qt5. + If you want to distribute Qt4 translations it is better to use the ones found in this repo under the path "dist/qt-translations". + They contain extra languages not distributed via the official qt4 sources. To access those checkout commit 8ad82fc74893daaa100. + Don't forget to edit the filelist in installer.nsi + uninstaller.nsi to include all your .qm files.) qt_zh_TW.qm installer.nsi license.txt diff --git a/dist/windows/installer.nsi b/dist/windows/installer.nsi index 783b7ef65..801e7b178 100644 --- a/dist/windows/installer.nsi +++ b/dist/windows/installer.nsi @@ -31,13 +31,13 @@ Section $(inst_qbt_req) ;"qBittorrent (required)" File "qbittorrent.pdb" File "qt.conf" File /oname=translations\qt_ar.qm "translations\qt_ar.qm" - File /oname=translations\qt_bg.qm "translations\qt_bg.qm" File /oname=translations\qt_ca.qm "translations\qt_ca.qm" File /oname=translations\qt_cs.qm "translations\qt_cs.qm" File /oname=translations\qt_da.qm "translations\qt_da.qm" File /oname=translations\qt_de.qm "translations\qt_de.qm" + File /oname=translations\qt_en.qm "translations\qt_en.qm" File /oname=translations\qt_es.qm "translations\qt_es.qm" - File /oname=translations\qt_eu.qm "translations\qt_eu.qm" + File /oname=translations\qt_fa.qm "translations\qt_fa.qm" File /oname=translations\qt_fi.qm "translations\qt_fi.qm" File /oname=translations\qt_fr.qm "translations\qt_fr.qm" File /oname=translations\qt_gl.qm "translations\qt_gl.qm" @@ -47,17 +47,15 @@ Section $(inst_qbt_req) ;"qBittorrent (required)" File /oname=translations\qt_ja.qm "translations\qt_ja.qm" File /oname=translations\qt_ko.qm "translations\qt_ko.qm" File /oname=translations\qt_lt.qm "translations\qt_lt.qm" - File /oname=translations\qt_nl.qm "translations\qt_nl.qm" File /oname=translations\qt_pl.qm "translations\qt_pl.qm" File /oname=translations\qt_pt.qm "translations\qt_pt.qm" - File /oname=translations\qt_pt_BR.qm "translations\qt_pt_BR.qm" File /oname=translations\qt_ru.qm "translations\qt_ru.qm" - File /oname=translations\qt_sk.qm "translations\qt_sk.qm" + File /oname=translations\qt_sk.qm "translations\qt_sk.qm" + File /oname=translations\qt_sl.qm "translations\qt_sl.qm" File /oname=translations\qt_sv.qm "translations\qt_sv.qm" - File /oname=translations\qt_tr.qm "translations\qt_tr.qm" File /oname=translations\qt_uk.qm "translations\qt_uk.qm" File /oname=translations\qt_zh_CN.qm "translations\qt_zh_CN.qm" - File /oname=translations\qt_zh_TW.qm "translations\qt_zh_TW.qm" + File /oname=translations\qt_zh_TW.qm "translations\qt_zh_TW.qm" ; Write the installation path into the registry WriteRegStr HKLM "Software\qBittorrent" "InstallLocation" "$INSTDIR" diff --git a/dist/windows/uninstaller.nsi b/dist/windows/uninstaller.nsi index 9615d4abf..1e07f7131 100644 --- a/dist/windows/uninstaller.nsi +++ b/dist/windows/uninstaller.nsi @@ -6,13 +6,12 @@ Delete "$INSTDIR\qbittorrent.pdb" Delete "$INSTDIR\qt.conf" Delete "$INSTDIR\translations\qt_ar.qm" - Delete "$INSTDIR\translations\qt_bg.qm" Delete "$INSTDIR\translations\qt_ca.qm" Delete "$INSTDIR\translations\qt_cs.qm" Delete "$INSTDIR\translations\qt_da.qm" Delete "$INSTDIR\translations\qt_de.qm" + Delete "$INSTDIR\translations\qt_en.qm" Delete "$INSTDIR\translations\qt_es.qm" - Delete "$INSTDIR\translations\qt_eu.qm" Delete "$INSTDIR\translations\qt_fa.qm" Delete "$INSTDIR\translations\qt_fi.qm" Delete "$INSTDIR\translations\qt_fr.qm" @@ -23,18 +22,15 @@ Delete "$INSTDIR\translations\qt_ja.qm" Delete "$INSTDIR\translations\qt_ko.qm" Delete "$INSTDIR\translations\qt_lt.qm" - Delete "$INSTDIR\translations\qt_nl.qm" Delete "$INSTDIR\translations\qt_pl.qm" Delete "$INSTDIR\translations\qt_pt.qm" - Delete "$INSTDIR\translations\qt_pt_BR.qm" Delete "$INSTDIR\translations\qt_ru.qm" Delete "$INSTDIR\translations\qt_sk.qm" Delete "$INSTDIR\translations\qt_sl.qm" Delete "$INSTDIR\translations\qt_sv.qm" - Delete "$INSTDIR\translations\qt_tr.qm" Delete "$INSTDIR\translations\qt_uk.qm" Delete "$INSTDIR\translations\qt_zh_CN.qm" - Delete "$INSTDIR\translations\qt_zh_TW.qm" + Delete "$INSTDIR\translations\qt_zh_TW.qm" Delete "$INSTDIR\uninst.exe" ; Remove directories used