Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortherzok <marius.ungureanu@xamarin.com>2018-11-06 18:15:17 +0300
committertherzok <marius.ungureanu@xamarin.com>2018-11-12 22:33:18 +0300
commit06d7316b9a169b59462f05602415ff0df1f1eb10 (patch)
tree5d442311666d100f92532aba1c1f55d155ce4868 /main/src/addins/Deployment
parent59f68edbc8642a480113768c32bbae3fd8a2bcd1 (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')
-rw-r--r--main/src/addins/Deployment/MonoDevelop.Deployment.Linux/Gui/MonoDevelop.Deployment.Linux.DesktopPanelWidget.cs1
-rw-r--r--main/src/addins/Deployment/MonoDevelop.Deployment/Gui/MonoDevelop.Deployment.Gui.DeployDialog.cs4
2 files changed, 0 insertions, 5 deletions
diff --git a/main/src/addins/Deployment/MonoDevelop.Deployment.Linux/Gui/MonoDevelop.Deployment.Linux.DesktopPanelWidget.cs b/main/src/addins/Deployment/MonoDevelop.Deployment.Linux/Gui/MonoDevelop.Deployment.Linux.DesktopPanelWidget.cs
index 84c2f49d8d..f1b850eb01 100644
--- a/main/src/addins/Deployment/MonoDevelop.Deployment.Linux/Gui/MonoDevelop.Deployment.Linux.DesktopPanelWidget.cs
+++ b/main/src/addins/Deployment/MonoDevelop.Deployment.Linux/Gui/MonoDevelop.Deployment.Linux.DesktopPanelWidget.cs
@@ -26,7 +26,6 @@ namespace MonoDevelop.Deployment.Linux
this.label6 = new global::Gtk.Label ();
this.label6.CanFocus = true;
this.label6.Name = "label6";
- this.label6.LabelProp = "page1";
this.notebook2.SetTabLabel (w1, this.label6);
this.label6.ShowAll ();
this.Add (this.notebook2);
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);