POCompile target updated to make output directory
This commit is contained in:
parent
8f5b8d1d40
commit
0846969cc3
@ -44,7 +44,7 @@
|
|||||||
</Link>
|
</Link>
|
||||||
<ResourceCompile />
|
<ResourceCompile />
|
||||||
<POCompile>
|
<POCompile>
|
||||||
<OutputFile>$(OutDir)..\locale\%(Filename)\$(ProjectName).mo</OutputFile>
|
<LocaleRepoDir>$(OutDir)..\locale\%(Filename)\</LocaleRepoDir>
|
||||||
</POCompile>
|
</POCompile>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemGroup />
|
<ItemGroup />
|
||||||
|
@ -35,7 +35,8 @@
|
|||||||
<CheckDomain>false</CheckDomain>
|
<CheckDomain>false</CheckDomain>
|
||||||
<CheckCompat>false</CheckCompat>
|
<CheckCompat>false</CheckCompat>
|
||||||
<CheckAccel>None</CheckAccel>
|
<CheckAccel>None</CheckAccel>
|
||||||
<OutputFile>$(OutDir)%(Filename).mo</OutputFile>
|
<LocaleRepoDir>$(OutDir)</LocaleRepoDir>
|
||||||
|
<OutputFile>%(LocaleRepoDir)$(ProjectName).mo</OutputFile>
|
||||||
<UseFuzzy>false</UseFuzzy>
|
<UseFuzzy>false</UseFuzzy>
|
||||||
<Alignment>1</Alignment>
|
<Alignment>1</Alignment>
|
||||||
<Endianess>LSB</Endianess>
|
<Endianess>LSB</Endianess>
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
<ItemGroup Condition="'@(SelectedFiles)' != ''">
|
<ItemGroup Condition="'@(SelectedFiles)' != ''">
|
||||||
<POCompile Remove="@(POCompile)" Condition="'%(Identity)' != '@(SelectedFiles)'" />
|
<POCompile Remove="@(POCompile)" Condition="'%(Identity)' != '@(SelectedFiles)'" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Message Text="Compiling localization catalogues..." />
|
<MakeDir Directories="%(POCompile.LocaleRepoDir)"/>
|
||||||
<POCompile
|
<POCompile
|
||||||
Condition="'@(POCompile)' != '' and '%(POCompile.ExcludedFromBuild)' != 'true'"
|
Condition="'@(POCompile)' != '' and '%(POCompile.ExcludedFromBuild)' != 'true'"
|
||||||
Inputs="@(POCompile)"
|
Inputs="@(POCompile)"
|
||||||
|
@ -48,10 +48,11 @@
|
|||||||
<EnumValue Name="None" DisplayName="None" Description="No check" />
|
<EnumValue Name="None" DisplayName="None" Description="No check" />
|
||||||
<EnumValue Name="Amperstand" Switch="check-accelerators="&"" DisplayName="Amperstand" Description="Check keyborad accellerator marked with an amperstand &." />
|
<EnumValue Name="Amperstand" Switch="check-accelerators="&"" DisplayName="Amperstand" Description="Check keyborad accellerator marked with an amperstand &." />
|
||||||
</EnumProperty>
|
</EnumProperty>
|
||||||
<StringProperty Category="Output" Name="OutputFile" Switch="output-file=" DisplayName="Output File" Description="The name and location of the output file that compiler creates." Subtype="file" />
|
<StringProperty Category="Output" Name="LocaleRepoDir" DisplayName="Locale Repository Directory" Description="Location of the locale repository directory." Subtype="folder" IncludeInCommandLine="False" />
|
||||||
<BoolProperty Category="Output" Name="UseFuzzy" Switch="use-fuzzy" DisplayName="Use Fuzzy Entries" Description="Use fuzzy entries in output." />
|
<StringProperty Category="Output" Name="OutputFile" Switch="output-file=" DisplayName="Output File" Description="The name and location of the output file that compiler creates." Subtype="file" />
|
||||||
<IntProperty Category="Output" Name="Alignment" Switch="alignment=" DisplayName="Align Strings" Description="Align strings to given bytes (default: 1)." />
|
<BoolProperty Category="Output" Name="UseFuzzy" Switch="use-fuzzy" DisplayName="Use Fuzzy Entries" Description="Use fuzzy entries in output." />
|
||||||
<EnumProperty Category="Output" Name="Endianess" DisplayName="Endianess" Description="Write out 32-bit numbers in the given byte order (default: platform specific).">
|
<IntProperty Category="Output" Name="Alignment" Switch="alignment=" DisplayName="Align Strings" Description="Align strings to given bytes (default: 1)." />
|
||||||
|
<EnumProperty Category="Output" Name="Endianess" DisplayName="Endianess" Description="Write out 32-bit numbers in the given byte order (default: platform specific).">
|
||||||
<EnumValue Name="LSB" Switch="endianness=little" DisplayName="LSB" Description="Least significant byte first" />
|
<EnumValue Name="LSB" Switch="endianness=little" DisplayName="LSB" Description="Least significant byte first" />
|
||||||
<EnumValue Name="MSB" Switch="endianness=big" DisplayName="MSB" Description="Most significant byte first" />
|
<EnumValue Name="MSB" Switch="endianness=big" DisplayName="MSB" Description="Most significant byte first" />
|
||||||
</EnumProperty>
|
</EnumProperty>
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 22e381af0ce4c0c110f14d1b83353306aac781ff
|
Subproject commit f730285400d0ac7038ee49a4c86ce55e6068c4e0
|
Loading…
x
Reference in New Issue
Block a user