140 lines
4.6 KiB
XML
140 lines
4.6 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
|||
|
<ProjectSchemaDefinitions xmlns="clr-namespace:Microsoft.Build.Framework.XamlTypes;assembly=Microsoft.Build.Framework" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:sys="clr-namespace:System;assembly=mscorlib" xmlns:transformCallback="Microsoft.Cpp.Dev10.ConvertPropertyCallback">
|
|||
|
<Rule
|
|||
|
Name="msgfmt"
|
|||
|
PageTemplate="tool"
|
|||
|
DisplayName="Compile Locale"
|
|||
|
Order="200">
|
|||
|
<Rule.DataSource>
|
|||
|
<DataSource
|
|||
|
Persistence="ProjectFile"
|
|||
|
ItemType="msgfmt" />
|
|||
|
</Rule.DataSource>
|
|||
|
<Rule.Categories>
|
|||
|
<Category
|
|||
|
Name="General">
|
|||
|
<Category.DisplayName>
|
|||
|
<sys:String>General</sys:String>
|
|||
|
</Category.DisplayName>
|
|||
|
</Category>
|
|||
|
<Category
|
|||
|
Name="Command Line"
|
|||
|
Subtype="CommandLine">
|
|||
|
<Category.DisplayName>
|
|||
|
<sys:String>Command Line</sys:String>
|
|||
|
</Category.DisplayName>
|
|||
|
</Category>
|
|||
|
</Rule.Categories>
|
|||
|
<StringListProperty
|
|||
|
Name="Inputs"
|
|||
|
Category="Command Line"
|
|||
|
IsRequired="true"
|
|||
|
Switch=" ">
|
|||
|
<StringListProperty.DataSource>
|
|||
|
<DataSource
|
|||
|
Persistence="ProjectFile"
|
|||
|
ItemType="msgfmt"
|
|||
|
SourceType="Item" />
|
|||
|
</StringListProperty.DataSource>
|
|||
|
</StringListProperty>
|
|||
|
<BoolProperty
|
|||
|
Name="Verbose"
|
|||
|
HelpContext="0"
|
|||
|
DisplayName="Verbose"
|
|||
|
Description="Increase verbosity level"
|
|||
|
Switch="-v" />
|
|||
|
<StringListProperty
|
|||
|
Name="OutputName"
|
|||
|
HelpContext="0"
|
|||
|
DisplayName="Output File"
|
|||
|
Description="Specifies a name to override the default file name"
|
|||
|
Separator=";"
|
|||
|
Switch="-o "[value]"" />
|
|||
|
<StringProperty
|
|||
|
Name="CommandLineTemplate"
|
|||
|
DisplayName="Command Line"
|
|||
|
Visible="False"
|
|||
|
IncludeInCommandLine="False" />
|
|||
|
<DynamicEnumProperty
|
|||
|
Name="msgfmtBeforeTargets"
|
|||
|
Category="General"
|
|||
|
EnumProvider="Targets"
|
|||
|
IncludeInCommandLine="False">
|
|||
|
<DynamicEnumProperty.DisplayName>
|
|||
|
<sys:String>Execute Before</sys:String>
|
|||
|
</DynamicEnumProperty.DisplayName>
|
|||
|
<DynamicEnumProperty.Description>
|
|||
|
<sys:String>Specifies the targets for the build customization to run before.</sys:String>
|
|||
|
</DynamicEnumProperty.Description>
|
|||
|
<DynamicEnumProperty.ProviderSettings>
|
|||
|
<NameValuePair
|
|||
|
Name="Exclude"
|
|||
|
Value="^msgfmtBeforeTargets|^Compute" />
|
|||
|
</DynamicEnumProperty.ProviderSettings>
|
|||
|
<DynamicEnumProperty.DataSource>
|
|||
|
<DataSource
|
|||
|
Persistence="ProjectFile"
|
|||
|
HasConfigurationCondition="true" />
|
|||
|
</DynamicEnumProperty.DataSource>
|
|||
|
</DynamicEnumProperty>
|
|||
|
<DynamicEnumProperty
|
|||
|
Name="msgfmtAfterTargets"
|
|||
|
Category="General"
|
|||
|
EnumProvider="Targets"
|
|||
|
IncludeInCommandLine="False">
|
|||
|
<DynamicEnumProperty.DisplayName>
|
|||
|
<sys:String>Execute After</sys:String>
|
|||
|
</DynamicEnumProperty.DisplayName>
|
|||
|
<DynamicEnumProperty.Description>
|
|||
|
<sys:String>Specifies the targets for the build customization to run after.</sys:String>
|
|||
|
</DynamicEnumProperty.Description>
|
|||
|
<DynamicEnumProperty.ProviderSettings>
|
|||
|
<NameValuePair
|
|||
|
Name="Exclude"
|
|||
|
Value="^msgfmtAfterTargets|^Compute" />
|
|||
|
</DynamicEnumProperty.ProviderSettings>
|
|||
|
<DynamicEnumProperty.DataSource>
|
|||
|
<DataSource
|
|||
|
Persistence="ProjectFile"
|
|||
|
ItemType=""
|
|||
|
HasConfigurationCondition="true" />
|
|||
|
</DynamicEnumProperty.DataSource>
|
|||
|
</DynamicEnumProperty>
|
|||
|
<StringListProperty
|
|||
|
Name="Outputs"
|
|||
|
DisplayName="Outputs"
|
|||
|
Visible="False"
|
|||
|
IncludeInCommandLine="False" />
|
|||
|
<StringProperty
|
|||
|
Name="ExecutionDescription"
|
|||
|
DisplayName="Execution Description"
|
|||
|
Visible="False"
|
|||
|
IncludeInCommandLine="False" />
|
|||
|
<StringListProperty
|
|||
|
Name="AdditionalDependencies"
|
|||
|
DisplayName="Additional Dependencies"
|
|||
|
IncludeInCommandLine="False"
|
|||
|
Visible="false" />
|
|||
|
<StringProperty
|
|||
|
Subtype="AdditionalOptions"
|
|||
|
Name="AdditionalOptions"
|
|||
|
Category="Command Line">
|
|||
|
<StringProperty.DisplayName>
|
|||
|
<sys:String>Additional Options</sys:String>
|
|||
|
</StringProperty.DisplayName>
|
|||
|
<StringProperty.Description>
|
|||
|
<sys:String>Additional Options</sys:String>
|
|||
|
</StringProperty.Description>
|
|||
|
</StringProperty>
|
|||
|
</Rule>
|
|||
|
<ItemType
|
|||
|
Name="msgfmt"
|
|||
|
DisplayName="Compile Locale" />
|
|||
|
<FileExtension
|
|||
|
Name="*.po"
|
|||
|
ContentType="msgfmt" />
|
|||
|
<ContentType
|
|||
|
Name="msgfmt"
|
|||
|
DisplayName="Compile Locale"
|
|||
|
ItemType="msgfmt" />
|
|||
|
</ProjectSchemaDefinitions>
|