2022-02-10 00:01:09 +00:00
|
|
|
mkdir %~dp0qttranslations
|
|
|
|
mkdir %~dp0qttranslations\ts
|
|
|
|
mkdir %~dp0qttranslations\qm
|
|
|
|
set fileName=qttranslations-everywhere-src-6.2.3.zip
|
|
|
|
set downloadUrl=https://download.qt.io/archive/qt/6.2/6.2.3/submodules/%filename%
|
2022-07-03 08:56:23 +01:00
|
|
|
curl -LsSO --output-dir %~dp0qttranslations\ %downloadUrl%
|
|
|
|
"C:\Program Files\7-Zip\7z.exe" e -i!*\translations\qt_*.ts -i!*\translations\qtbase_*.ts -i!*\translations\qtmultimedia_*.ts %~dp0qttranslations\%filename% -bd -o%~dp0qttranslations\ts\
|
2022-02-10 00:01:09 +00:00
|
|
|
for %%a in (%~dp0qttranslations\ts\*.ts) do (lrelease.exe -silent %%a -qm %~dp0qttranslations\qm\%%~na.qm)
|