2014-06-24 19:57:43 -06:00
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2022-04-27 12:37:50 -06:00
|
|
|
|
<Project>
|
2020-08-20 21:27:07 -06:00
|
|
|
|
<Import Project="..\Source\VSProps\Base.Macros.props" />
|
2020-08-18 18:34:06 -06:00
|
|
|
|
<Import Project="$(VSPropsDir)Base.Targets.props" />
|
|
|
|
|
<PropertyGroup Label="Globals">
|
|
|
|
|
<ProjectGuid>{0E033BE3-2E08-428E-9AE9-BC673EFA12B5}</ProjectGuid>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
|
|
|
<Import Project="$(VSPropsDir)Configuration.Utility.props" />
|
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
2022-04-02 16:22:02 -06:00
|
|
|
|
<ImportGroup Label="ExtensionSettings" />
|
2020-08-18 18:34:06 -06:00
|
|
|
|
<ImportGroup Label="PropertySheets">
|
|
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
|
|
|
<Import Project="$(VSPropsDir)Base.props" />
|
|
|
|
|
</ImportGroup>
|
|
|
|
|
<PropertyGroup Label="UserMacros" />
|
2011-01-31 22:30:27 -07:00
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
2022-04-02 16:22:02 -06:00
|
|
|
|
<ImportGroup Label="ExtensionTargets" />
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<msgfmt>..\Externals\gettext\msgfmt</msgfmt>
|
|
|
|
|
</PropertyGroup>
|
2021-07-17 15:54:52 -06:00
|
|
|
|
<ItemGroup>
|
2022-04-02 16:22:02 -06:00
|
|
|
|
<PoFiles Include="po\*.po" />
|
|
|
|
|
<MoFiles Include="@(PoFiles -> '$(OutDir)%(Filename).mo')" />
|
|
|
|
|
<MoFilesDst Include="@(MoFiles -> '$(BinaryOutputDir)Languages\%(Filename)%(Extension)')" />
|
2021-07-17 15:54:52 -06:00
|
|
|
|
</ItemGroup>
|
2022-04-27 12:37:50 -06:00
|
|
|
|
<Target Name="MsgFmtCompile" BeforeTargets="BuildGenerateSources" Inputs="@(PoFiles)" Outputs="@(MoFiles)">
|
2022-04-02 16:22:02 -06:00
|
|
|
|
<Exec Command='$(msgfmt) -o "$(OutDir)%(PoFiles.Filename).mo" "@(PoFiles)"' />
|
|
|
|
|
</Target>
|
|
|
|
|
<Target Name="MsgFmtCopy" AfterTargets="MsgFmtCompile" Inputs="@(MoFiles)" Outputs="@(MoFilesDst)">
|
|
|
|
|
<Copy SourceFiles="@(MoFiles)" DestinationFiles="@(MoFilesDst)" SkipUnchangedFiles="true" />
|
2021-07-17 15:54:52 -06:00
|
|
|
|
</Target>
|
2013-10-19 03:27:57 -06:00
|
|
|
|
</Project>
|