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/src/addins/Deployment/MonoDevelop.Deployment/Gui/MonoDevelop.Deployment.Gui.DeployDialog.cs | |
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/src/addins/Deployment/MonoDevelop.Deployment/Gui/MonoDevelop.Deployment.Gui.DeployDialog.cs')
-rw-r--r-- | main/src/addins/Deployment/MonoDevelop.Deployment/Gui/MonoDevelop.Deployment.Gui.DeployDialog.cs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/main/src/addins/Deployment/MonoDevelop.Deployment/Gui/MonoDevelop.Deployment.Gui.DeployDialog.cs b/main/src/addins/Deployment/MonoDevelop.Deployment/Gui/MonoDevelop.Deployment.Gui.DeployDialog.cs index 470a2685c8..3ddd74709a 100644 --- a/main/src/addins/Deployment/MonoDevelop.Deployment/Gui/MonoDevelop.Deployment.Gui.DeployDialog.cs +++ b/main/src/addins/Deployment/MonoDevelop.Deployment/Gui/MonoDevelop.Deployment.Gui.DeployDialog.cs @@ -203,7 +203,6 @@ namespace MonoDevelop.Deployment.Gui // Notebook tab this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; - this.label2.LabelProp = "page5"; this.notebook.SetTabLabel (this.vbox3, this.label2); this.label2.ShowAll (); // Container child notebook.Gtk.Notebook+NotebookChild @@ -252,7 +251,6 @@ namespace MonoDevelop.Deployment.Gui // Notebook tab this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; - this.label3.LabelProp = "page3"; this.notebook.SetTabLabel (this.pageSelectProject, this.label3); this.label3.ShowAll (); // Container child notebook.Gtk.Notebook+NotebookChild @@ -319,7 +317,6 @@ namespace MonoDevelop.Deployment.Gui // Notebook tab this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; - this.label6.LabelProp = "page2"; this.notebook.SetTabLabel (this.vbox4, this.label6); this.label6.ShowAll (); // Container child notebook.Gtk.Notebook+NotebookChild @@ -556,7 +553,6 @@ namespace MonoDevelop.Deployment.Gui // Notebook tab this.label8 = new global::Gtk.Label (); this.label8.Name = "label8"; - this.label8.LabelProp = "page4"; this.notebook.SetTabLabel (this.pageSave, this.label8); this.label8.ShowAll (); this.hbox1.Add (this.notebook); |