radioapp/radioapplication/resources/compile_ts.bat
changeset 16 f54ebcfc1b80
child 28 075425b8d9a4
equal deleted inserted replaced
14:63aabac4416d 16:f54ebcfc1b80
       
     1 @rem
       
     2 @rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 @rem All rights reserved.
       
     4 @rem This component and the accompanying materials are made available
       
     5 @rem under the terms of "Eclipse Public License v1.0"
       
     6 @rem which accompanies this distribution, and is available
       
     7 @rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 @rem
       
     9 @rem Initial Contributors:
       
    10 @rem Nokia Corporation - initial contribution.
       
    11 @rem
       
    12 @rem Contributors:
       
    13 @rem
       
    14 @rem Description: 
       
    15 @rem
       
    16 @echo off
       
    17 
       
    18 set QM_FILE_US=fmradio_en_US.qm
       
    19 set QM_FILE=fmradio_en.qm
       
    20 set QM_LOCATION=..\..\bin\%QM_FILE_US%
       
    21 
       
    22 ECHO Creating QM file
       
    23 call lrelease -idbased fmradio.ts -qm %QM_LOCATION%
       
    24 
       
    25 IF EXIST \epoc32\tools\epoc.bat (
       
    26     echo Copying files to epoc32
       
    27     xcopy /y fmradio.ts \epoc32\include\platform\qt\translations\fmradio_en.ts
       
    28     xcopy /y fmradio.ts \epoc32\include\platform\qt\translations\fmradio_en_US.ts
       
    29     
       
    30     xcopy /y %QM_LOCATION% \epoc32\data\z\resource\qt\translations\%QM_FILE%
       
    31     xcopy /y %QM_LOCATION% \epoc32\release\winscw\udeb\z\resource\qt\translations\%QM_FILE%
       
    32     xcopy /y %QM_LOCATION% \epoc32\release\winscw\urel\z\resource\qt\translations\%QM_FILE%
       
    33     xcopy /y %QM_LOCATION% \epoc32\data\z\resource\qt\translations\%QM_FILE_US%
       
    34     xcopy /y %QM_LOCATION% \epoc32\release\winscw\udeb\z\resource\qt\translations\%QM_FILE_US%
       
    35     xcopy /y %QM_LOCATION% \epoc32\release\winscw\urel\z\resource\qt\translations\%QM_FILE_US%
       
    36 )