diff options
author | Matt Ward <matt.ward@xamarin.com> | 2017-06-09 16:23:31 +0300 |
---|---|---|
committer | Matt Ward <matt.ward@xamarin.com> | 2017-06-09 18:16:47 +0300 |
commit | d82306b6f5438b0a69e6bbe3a51abf09b9c53992 (patch) | |
tree | 007acf4c0b262a6bfc8bf9fb2919200c2f519914 /Mono.Addins/Mono.Addins.csproj | |
parent | f028e1b5634f3c21e56de9c04cb81b1058a67640 (diff) |
Allow custom addin localizer to be defined with attribute
An addin can now replace the localizer used when translating strings
by specifying the type with the AddinLocalizer attribute.
[assembly:AddinLocalizer("MyNamespace.MyAddinLocalizer")]
Diffstat (limited to 'Mono.Addins/Mono.Addins.csproj')
-rw-r--r-- | Mono.Addins/Mono.Addins.csproj | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Mono.Addins/Mono.Addins.csproj b/Mono.Addins/Mono.Addins.csproj index ea75343..88db024 100644 --- a/Mono.Addins/Mono.Addins.csproj +++ b/Mono.Addins/Mono.Addins.csproj @@ -156,6 +156,7 @@ <Compile Include="Mono.Addins\AddinUrlAttribute.cs" /> <Compile Include="Mono.Addins\AddinCategoryAttribute.cs" /> <Compile Include="Mono.Addins\AddinFlagsAttribute.cs" /> + <Compile Include="Mono.Addins\AddinLocalizerAttribute.cs" /> </ItemGroup> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> </Project> |