ADDED basic Qt translation framework

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@352 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
spacy51 2008-02-06 13:58:02 +00:00
parent 87543545d3
commit 8e0e9c2eaa
1 changed files with 12 additions and 2 deletions

View File

@ -24,7 +24,7 @@
>
<Tool
Name="VCNMakeTool"
BuildCommandLine="qmake -makefile -win32 -Wall ../qmake/vba-m.pro&#x0D;&#x0A;nmake debug"
BuildCommandLine="qmake -makefile -win32 -Wall ../qmake/vba-m.pro&#x0D;&#x0A;nmake debug&#x0D;&#x0A;lupdate ../qmake/vba-m.pro"
ReBuildCommandLine=""
CleanCommandLine="nmake distclean&#x0D;&#x0A;rmdir /S /Q debug&#x0D;&#x0A;rmdir /S /Q release&#x0D;&#x0A;"
Output="$(OutDir)/VisualBoyAdvance.exe"
@ -44,7 +44,7 @@
>
<Tool
Name="VCNMakeTool"
BuildCommandLine="qmake -makefile -win32 -Wall ../qmake/vba-m.pro&#x0D;&#x0A;nmake release&#x0D;&#x0A;upx -9 &quot;$(TargetPath)&quot;"
BuildCommandLine="qmake -makefile -win32 -Wall ..\qmake\vba-m.pro&#x0D;&#x0A;nmake release&#x0D;&#x0A;upx -9 &quot;$(TargetPath)&quot;&#x0D;&#x0A;lrelease ..\qmake\vba-m.pro&#x0D;&#x0A;echo &quot;Copying translation files to release directory...&quot;&#x0D;&#x0A;mkdir $(OutDir)\lang&#x0D;&#x0A;copy /Y ..\..\lang\*.qm $(OutDir)\lang"
ReBuildCommandLine=""
CleanCommandLine="nmake distclean&#x0D;&#x0A;rmdir /S /Q debug&#x0D;&#x0A;rmdir /S /Q release&#x0D;&#x0A;"
Output="$(OutDir)/VisualBoyAdvance.exe"
@ -78,12 +78,22 @@
</Filter>
<Filter
Name="Makefile"
Filter="pro"
>
<File
RelativePath="..\qmake\vba-m.pro"
>
</File>
</Filter>
<Filter
Name="Translations"
Filter="ts;qm"
>
<File
RelativePath="..\..\lang\german.ts"
>
</File>
</Filter>
</Files>
<Globals>
</Globals>