From d919a2163b50fe355058dfc11d4f7f9681a97bb6 Mon Sep 17 00:00:00 2001 From: xarkes Date: Sat, 5 Jan 2019 12:32:03 +0100 Subject: [PATCH] Fix lrelease for Windows (#1055) --- build.bat | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/build.bat b/build.bat index d1e6f4c3..2a8d0707 100644 --- a/build.bat +++ b/build.bat @@ -17,11 +17,7 @@ RMDIR /S /Q %BUILDDIR% MKDIR %BUILDDIR% ECHO Prepare translations -lrelease.exe ..\src\cutter.pro - -RMDIR /S /Q %BUILDDIR%\translations -MKDIR %BUILDDIR%\translations -FOR %%i in (src\translations\*.qm) DO MOVE "%%~fi" "%CD%\%BUILDDIR%\translations" +FOR %%i in (src\translations\*.ts) DO lrelease %%i CD %BUILDDIR% @@ -37,3 +33,4 @@ COPY release\cutter.exe cutter\cutter.exe XCOPY /S /I ..\%R2DIST%\radare2 cutter\radare2 COPY ..\%R2DIST%\*.dll cutter\ windeployqt cutter\cutter.exe +FOR %%i in (..\src\translations\*.qm) DO MOVE "%%~fi" cutter\translations