summaryrefslogtreecommitdiff
path: root/Languages/po.rules
blob: 9d70b9ee30657ec396534162116b5c522709a4a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0" encoding="utf-8"?>
<VisualStudioToolFile
	Name="Message Compiler"
	Version="8.00"
	>
	<Rules>
		<CustomBuildRule
			Name="msgfmt"
			DisplayName="Compile Locale"
			CommandLine="..\Externals\gettext\msgfmt [AllOptions] [AdditionalOptions] [inputs]"
			Outputs="[$OutputName]"
			FileExtensions="*.po"
			ExecutionDescription="Compiling $(InputName) locale"
			>
			<Properties>
				<StringProperty
					Name="OutputName"
					DisplayName="Output File"
					Description="Specifies a name to override the default file name"
					Switch="-o &quot;[value]&quot;"
					DefaultValue="$(OutDir)\Languages\$(InputName)\dolphin-emu.mo"
					Delimited="true"
				/>
				<BooleanProperty
					Name="Verbose"
					DisplayName="Verbose"
					Description="Increase verbosity level"
					Switch="-v"
				/>
			</Properties>
		</CustomBuildRule>
	</Rules>
</VisualStudioToolFile>