r15487 by jghali - msvc project update: integrate ts files processing in the build process

scribus-commit scribus-commit at lists.scribus.net
Mon Sep 27 09:44:32 CEST 2010


Author: jghali
Date: Mon Sep 27 07:44:32 2010
New Revision: 15487

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=15487
Log:
msvc project update: integrate ts files processing in the build process

Modified:
    trunk/Scribus/win32/vc8/Scribus-build.rules
    trunk/Scribus/win32/vc8/Scribus.vcproj

Modified: trunk/Scribus/win32/vc8/Scribus-build.rules
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15487&path=/trunk/Scribus/win32/vc8/Scribus-build.rules
==============================================================================
--- trunk/Scribus/win32/vc8/Scribus-build.rules (original)
+++ trunk/Scribus/win32/vc8/Scribus-build.rules Mon Sep 27 07:44:32 2010
@@ -40,5 +40,17 @@
 			<Properties>
 			</Properties>
 		</CustomBuildRule>
+		<CustomBuildRule
+			Name="lrelease.exe"
+			DisplayName="Qt Translation Compiler"
+			CommandLine="$(QT4_DIR)\bin\lrelease.exe [inputs] -qm &quot;$(OutDir)\share\translations\$(InputName).qm&quot;"
+			Outputs="$(OutDir)\share\translations\$(InputName).qm"
+			AdditionalDependencies="$(QT4_DIR)\bin\lrelease.exe"
+			FileExtensions="*.ts"
+			ExecutionDescription="Lreleasing $(InputFileName)"
+			>
+			<Properties>
+			</Properties>
+		</CustomBuildRule>
 	</Rules>
 </VisualStudioToolFile>

Modified: trunk/Scribus/win32/vc8/Scribus.vcproj
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15487&path=/trunk/Scribus/win32/vc8/Scribus.vcproj
==============================================================================
--- trunk/Scribus/win32/vc8/Scribus.vcproj (original)
+++ trunk/Scribus/win32/vc8/Scribus.vcproj Mon Sep 27 07:44:32 2010
@@ -30,13 +30,16 @@
 				Name="VCPreBuildEventTool"
 			/>
 			<Tool
-				Name="moc.exe"
-			/>
-			<Tool
 				Name="rcc.exe"
 			/>
 			<Tool
+				Name="lrelease.exe"
+			/>
+			<Tool
 				Name="VCCustomBuildTool"
+			/>
+			<Tool
+				Name="moc.exe"
 			/>
 			<Tool
 				Name="uic.exe"
@@ -132,13 +135,16 @@
 				Name="VCPreBuildEventTool"
 			/>
 			<Tool
-				Name="moc.exe"
-			/>
-			<Tool
 				Name="rcc.exe"
 			/>
 			<Tool
+				Name="lrelease.exe"
+			/>
+			<Tool
 				Name="VCCustomBuildTool"
+			/>
+			<Tool
+				Name="moc.exe"
 			/>
 			<Tool
 				Name="uic.exe"
@@ -232,13 +238,16 @@
 				Name="VCPreBuildEventTool"
 			/>
 			<Tool
-				Name="moc.exe"
-			/>
-			<Tool
 				Name="rcc.exe"
 			/>
 			<Tool
+				Name="lrelease.exe"
+			/>
+			<Tool
 				Name="VCCustomBuildTool"
+			/>
+			<Tool
+				Name="moc.exe"
 			/>
 			<Tool
 				Name="uic.exe"
@@ -334,13 +343,16 @@
 				Name="VCPreBuildEventTool"
 			/>
 			<Tool
-				Name="moc.exe"
-			/>
-			<Tool
 				Name="rcc.exe"
 			/>
 			<Tool
+				Name="lrelease.exe"
+			/>
+			<Tool
 				Name="VCCustomBuildTool"
+			/>
+			<Tool
+				Name="moc.exe"
 			/>
 			<Tool
 				Name="uic.exe"
@@ -11417,6 +11429,27 @@
 						Name="moc.exe"
 					/>
 				</FileConfiguration>
+				<FileConfiguration
+					Name="Release-cairo|Win32"
+					>
+					<Tool
+						Name="moc.exe"
+					/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Debug-arthur|Win32"
+					>
+					<Tool
+						Name="moc.exe"
+					/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Release-arthur|Win32"
+					>
+					<Tool
+						Name="moc.exe"
+					/>
+				</FileConfiguration>
 			</File>
 			<File
 				RelativePath="..\..\scribus\ui\transparencypalette.h"
@@ -13758,6 +13791,187 @@
 				>
 			</File>
 		</Filter>
+		<Filter
+			Name="Translation Files"
+			Filter="ts"
+			>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.af.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.ar.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.bg.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.br.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.ca.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.cs_CZ.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.cy.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.da_DK.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.de.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.de_CH.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.de_ol.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.el.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.en_AU.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.en_GB.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.en_US.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.es_ES.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.et.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.eu.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.fi.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.fr.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.gl.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.hu.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.id.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.it.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.ja.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.ko.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.lt_LT.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.nb_NO.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.nl.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.pl_PL.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.pt.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.pt_BR.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.ru.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.sa.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.sk_SK.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.sl.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.sq.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.sr.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.sv.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.th_TH.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.tr.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.uk.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.zh_CN.ts"
+				>
+			</File>
+			<File
+				RelativePath="..\..\resources\translations\po\scribus.zh_TW.ts"
+				>
+			</File>
+		</Filter>
 	</Files>
 	<Globals>
 	</Globals>




More information about the scribus-commit mailing list