diff options
author | therzok <marius.ungureanu@xamarin.com> | 2018-11-06 18:15:17 +0300 |
---|---|---|
committer | therzok <marius.ungureanu@xamarin.com> | 2018-11-12 22:33:18 +0300 |
commit | 06d7316b9a169b59462f05602415ff0df1f1eb10 (patch) | |
tree | 5d442311666d100f92532aba1c1f55d155ce4868 /main/Directory.Build.props | |
parent | 59f68edbc8642a480113768c32bbae3fd8a2bcd1 (diff) |
[Dev] Add analyzer which picks up strings which should be localized
Also fix up instances of said strings throughout the codebase.
First version is really robust:
* Only offers GettextCatalog.GetString as an option
* Only works on Gtk.Widget and special cased functions
Future versions will provide:
a) Configuration of catalog via attribute
b) Cocoa/Atk support
c) Detection of string.Format patterns.
Fixes VSTS #683875 - Enable MD specific analyzers in the repository and build
Diffstat (limited to 'main/Directory.Build.props')
-rw-r--r-- | main/Directory.Build.props | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/Directory.Build.props b/main/Directory.Build.props index 660e8c2dba..90d92117ef 100644 --- a/main/Directory.Build.props +++ b/main/Directory.Build.props @@ -10,6 +10,7 @@ <NuGetVersionVSEditor>15.8.519</NuGetVersionVSEditor> <NuGetVersionAllocationAnalyzer>1.0.0.9</NuGetVersionAllocationAnalyzer> <NuGetVersionErrorProneNetStructs>0.1.2</NuGetVersionErrorProneNetStructs> + <NuGetVersionMonoDevelopAnalyzers>0.1.0</NuGetVersionMonoDevelopAnalyzers> </PropertyGroup> </Project> |