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