radioapp/radioapplication/resources/compile_ts.bat
author Pat Downey <patd@symbian.org>
Wed, 23 Jun 2010 17:20:24 +0100
changeset 29 29ba091146f4
parent 28 075425b8d9a4
child 32 189d20c34778
permissions -rw-r--r--
Merge docml changes again.

@echo off

set QM_FILE_US=fmradio_en_US.qm
set QM_FILE=fmradio_en.qm
set QM_LOCATION=..\..\bin\%QM_FILE_US%

ECHO Creating QM file
call lrelease -idbased fmradio.ts -qm %QM_LOCATION%

IF EXIST \epoc32\tools\epoc.bat (
    echo Copying files to epoc32
    xcopy /y fmradio.ts \epoc32\include\platform\qt\translations\fmradio_en.ts
    xcopy /y fmradio.ts \epoc32\include\platform\qt\translations\fmradio_en_US.ts
    
    xcopy /y %QM_LOCATION% \epoc32\data\z\resource\qt\translations\%QM_FILE%
    xcopy /y %QM_LOCATION% \epoc32\release\winscw\udeb\z\resource\qt\translations\%QM_FILE%
    xcopy /y %QM_LOCATION% \epoc32\release\winscw\urel\z\resource\qt\translations\%QM_FILE%
    xcopy /y %QM_LOCATION% \epoc32\data\z\resource\qt\translations\%QM_FILE_US%
    xcopy /y %QM_LOCATION% \epoc32\release\winscw\udeb\z\resource\qt\translations\%QM_FILE_US%
    xcopy /y %QM_LOCATION% \epoc32\release\winscw\urel\z\resource\qt\translations\%QM_FILE_US%
)