Changeset 2346


Ignore:
Timestamp:
11/5/2011 7:47:27 AM (3 years ago)
Author:
lowjoel
Message:

Added the pre-build event for Eraser.Plugins. This allows the code to be localised.

Location:
branches/eraser6/pluginsRewrite/Eraser.Plugins
Files:
5 added
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/pluginsRewrite/Eraser.Plugins/Eraser.Plugins.csproj

    r2345 r2346  
    8787    </BootstrapperPackage> 
    8888  </ItemGroup> 
     89  <ItemGroup> 
     90    <EmbeddedResource Include="Strings.en.resx" /> 
     91    <EmbeddedResource Include="Strings.it.resx" /> 
     92    <EmbeddedResource Include="Strings.nl.resx" /> 
     93    <EmbeddedResource Include="Strings.pl.resx" /> 
     94    <EmbeddedResource Include="Strings.resx" /> 
     95  </ItemGroup> 
    8996  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> 
     97  <PropertyGroup> 
     98    <PreBuildEvent>call "$(SolutionDir)UpdateVersions.bat" "$(SolutionDir)\." "$(SolutionDir)Version.cs.in" "$(SolutionDir)Version.cs" 
     99csgettext --merge --recursive EN,NL,IT,PL "$(ProjectDir)\." Strings 
     100if ERRORLEVEL 0 exit 0</PreBuildEvent> 
     101  </PropertyGroup> 
    90102  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.  
    91103       Other similar extension points exist, see Microsoft.Common.targets. 
Note: See TracChangeset for help on using the changeset viewer.