jj 16_02_16 sprachunterstützung durch resource-dateien

This commit is contained in:
JenneJ
2016-02-16 15:53:58 +01:00
parent c29f232cab
commit e601fc31d6
2 changed files with 22 additions and 3 deletions

View File

@@ -125,6 +125,10 @@
<!-- Lokalisierung für DEVEXPRESS Bibliotheken--> <!-- Lokalisierung für DEVEXPRESS Bibliotheken-->
<Directory Id="LOCALE_DE" Name="de"> <Directory Id="LOCALE_DE" Name="de">
<Component Id="RecordOrganizer.Locales.de" Guid="C9476586-46A4-450A-88F4-BE416B7AD21C">
<File Id="DDRecordOrganiser.resource.de" Name="DD-Record-Organiser.resources.dll" Source="de\DD-Record-Organiser.resources.dll"></File>
</Component>
<Component Id="Scheduler.Locales" Guid="84335DB2-F5D2-496B-9318-2BD1B1ACA391"> <Component Id="Scheduler.Locales" Guid="84335DB2-F5D2-496B-9318-2BD1B1ACA391">
<File Id="DevExpress.XtraScheduler.v15.1.Core.resources" Name="DevExpress.XtraScheduler.v15.1.Core.resources.dll" Source="D:\Programme\Sprachen\DevExpress 15.1\Components\Bin\Framework\de\DevExpress.XtraScheduler.v15.1.Core.resources.dll"></File> <File Id="DevExpress.XtraScheduler.v15.1.Core.resources" Name="DevExpress.XtraScheduler.v15.1.Core.resources.dll" Source="D:\Programme\Sprachen\DevExpress 15.1\Components\Bin\Framework\de\DevExpress.XtraScheduler.v15.1.Core.resources.dll"></File>
<File Id="DevExpress.XtraScheduler.v15.1.Extensions.resources" Name="DevExpress.XtraScheduler.v15.1.Extensions.resources.dll" Source="D:\Programme\Sprachen\DevExpress 15.1\Components\Bin\Framework\de\DevExpress.XtraScheduler.v15.1.Extensions.resources.dll"></File> <File Id="DevExpress.XtraScheduler.v15.1.Extensions.resources" Name="DevExpress.XtraScheduler.v15.1.Extensions.resources.dll" Source="D:\Programme\Sprachen\DevExpress 15.1\Components\Bin\Framework\de\DevExpress.XtraScheduler.v15.1.Extensions.resources.dll"></File>
@@ -132,6 +136,18 @@
<File Id="DevExpress.XtraScheduler.v15.1.Reporting.resources" Name="DevExpress.XtraScheduler.v15.1.Reporting.resources.dll" Source="D:\Programme\Sprachen\DevExpress 15.1\Components\Bin\Framework\de\DevExpress.XtraScheduler.v15.1.Reporting.resources.dll"></File> <File Id="DevExpress.XtraScheduler.v15.1.Reporting.resources" Name="DevExpress.XtraScheduler.v15.1.Reporting.resources.dll" Source="D:\Programme\Sprachen\DevExpress 15.1\Components\Bin\Framework\de\DevExpress.XtraScheduler.v15.1.Reporting.resources.dll"></File>
</Component> </Component>
</Directory> </Directory>
<Directory Id="LOCALE_EN_GB" Name="en-GB">
<Component Id="RecordOrganizer.Locales.en_gb" Guid="7FAA9173-9012-4EBB-A408-04AB25D3C9DF">
<File Id="DDRecordOrganiser.resource.en_gb" Name="DD-Record-Organiser.resources.dll" Source="en-GB\DD-Record-Organiser.resources.dll"></File>
</Component>
</Directory>
<Directory Id="LOCALE_EN_US" Name="en-US">
<Component Id="RecordOrganizer.Locales.en_us" Guid="AC6E160E-8FDE-41F4-98FD-41FD668AF320">
<File Id="DDRecordOrganiser.resource.en_us" Name="DD-Record-Organiser.resources.dll" Source="en-US\DD-Record-Organiser.resources.dll"></File>
</Component>
</Directory>
</Directory> </Directory>
</Directory> </Directory>
</Directory> </Directory>
@@ -162,6 +178,9 @@
<ComponentRef Id="DDLibs" /> <ComponentRef Id="DDLibs" />
<ComponentRef Id="IndependentsoftLibs" /> <ComponentRef Id="IndependentsoftLibs" />
<ComponentRef Id="Scheduler.Locales" /> <ComponentRef Id="Scheduler.Locales" />
<ComponentRef Id="RecordOrganizer.Locales.de" />
<ComponentRef Id="RecordOrganizer.Locales.en_gb" />
<ComponentRef Id="RecordOrganizer.Locales.en_us" />
<ComponentRef Id="DevExpressLibs" /> <ComponentRef Id="DevExpressLibs" />
<ComponentRef Id="ProgramMenuDir"/> <ComponentRef Id="ProgramMenuDir"/>
<ComponentRef Id="RegistryEntries"/> <ComponentRef Id="RegistryEntries"/>

View File

@@ -17,7 +17,7 @@
<OutputPath>bin\$(Configuration)\</OutputPath> <OutputPath>bin\$(Configuration)\</OutputPath>
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath> <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
<DefineConstants>Debug</DefineConstants> <DefineConstants>Debug</DefineConstants>
<LinkerAdditionalOptions>-b "$(SolutionDir)DD-Record-Organiser\bin\Debug" -b "$(SolutionDir)DD-Record-Organiser\bin\Release" -cultures:de-DE</LinkerAdditionalOptions> <LinkerAdditionalOptions>-b "$(SolutionDir)DD-Record-Organiser\bin\Debug" -b "$(SolutionDir)DD-Record-Organiser\bin\Release" -cultures:de-DE,en-GB,en-US</LinkerAdditionalOptions>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<OutputPath>bin\$(Configuration)\</OutputPath> <OutputPath>bin\$(Configuration)\</OutputPath>
@@ -41,7 +41,7 @@
To modify your build process, add your task inside one of the targets below and uncomment it. To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Wix.targets. Other similar extension points exist, see Wix.targets.
--> -->
<Target Name="BeforeBuild"> <Target Name="BeforeBuild">
<!-- Get the programs assembly version from the .exe file --> <!-- Get the programs assembly version from the .exe file -->
<GetAssemblyIdentity AssemblyFiles="..\DD-Record-Organiser\bin\$(Configuration)\DD-Record-Organiser.exe"> <GetAssemblyIdentity AssemblyFiles="..\DD-Record-Organiser\bin\$(Configuration)\DD-Record-Organiser.exe">
<Output TaskParameter="Assemblies" ItemName="AsmInfo" /> <Output TaskParameter="Assemblies" ItemName="AsmInfo" />
@@ -50,7 +50,7 @@
<CreateProperty Value="$(DefineConstants);ProductVersion=%(AsmInfo.Version)"> <CreateProperty Value="$(DefineConstants);ProductVersion=%(AsmInfo.Version)">
<Output TaskParameter="Value" PropertyName="DefineConstants" /> <Output TaskParameter="Value" PropertyName="DefineConstants" />
</CreateProperty> </CreateProperty>
</Target> </Target>
<Target Name="BeforeBuild"> <Target Name="BeforeBuild">
<!-- Get the programs assembly version from the .exe file --> <!-- Get the programs assembly version from the .exe file -->
<GetAssemblyIdentity AssemblyFiles="..\DD-Record-Organiser\bin\$(Configuration)\DD-Record-Organiser.exe"> <GetAssemblyIdentity AssemblyFiles="..\DD-Record-Organiser\bin\$(Configuration)\DD-Record-Organiser.exe">