diff --git a/AddIns/ICSharpCode.SharpDevelop.addin b/AddIns/ICSharpCode.SharpDevelop.addin
index c28038669d..137c28ac43 100644
--- a/AddIns/ICSharpCode.SharpDevelop.addin
+++ b/AddIns/ICSharpCode.SharpDevelop.addin
@@ -871,15 +871,15 @@
diff --git a/data/resources/StringResources.cz.resources b/data/resources/StringResources.cz.resources
index bf38869e24..fdca5fa789 100644
Binary files a/data/resources/StringResources.cz.resources and b/data/resources/StringResources.cz.resources differ
diff --git a/data/resources/StringResources.pl.resources b/data/resources/StringResources.pl.resources
index cde4bb10e4..7fdcab2826 100644
Binary files a/data/resources/StringResources.pl.resources and b/data/resources/StringResources.pl.resources differ
diff --git a/src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Pads/CallStackPad.cs b/src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Pads/CallStackPad.cs
index 2fef174d92..7d292d8293 100644
--- a/src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Pads/CallStackPad.cs
+++ b/src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Pads/CallStackPad.cs
@@ -38,9 +38,9 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads
public CallStackPad()// : base("${res:MainWindow.Windows.Debug.CallStack}", null)
{
- InitializeComponents();
- }
-
+ InitializeComponents();
+ }
+
void InitializeComponents()
{
debugger = (WindowsDebugger)DebuggerService.CurrentDebugger;
@@ -82,8 +82,8 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads
public override void RedrawContent()
{
- name.Text = "Name";
- language.Text = "Language";
+ name.Text = ResourceService.GetString("Global.Name");
+ language.Text = ResourceService.GetString("MainWindow.Windows.Debug.CallStack.Language");
}
public bool ShowArgumentNames {
@@ -115,7 +115,7 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads
ContextMenuStrip CreateContextMenuStrip()
{
- ContextMenuStrip menu = new ContextMenuStrip();
+ ContextMenuStrip menu = new ContextMenuStrip();
menu.Opening += FillContextMenuStrip;
return menu;
}
@@ -127,33 +127,33 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads
ToolStripMenuItem argNamesItem;
argNamesItem = new ToolStripMenuItem();
- argNamesItem.Text = "Show argument names";
- argNamesItem.Checked = ShowArgumentNames;
+ argNamesItem.Text = "${res:MainWindow.Windows.Debug.CallStack.ShowArgumentNames}";
+ argNamesItem.Checked = ShowArgumentNames;
argNamesItem.Click +=
delegate {
- ShowArgumentNames = !ShowArgumentNames;
- RefreshList();
- };
+ ShowArgumentNames = !ShowArgumentNames;
+ RefreshList();
+ };
ToolStripMenuItem argValuesItem;
argValuesItem = new ToolStripMenuItem();
- argValuesItem.Text = "Show argument values";
- argValuesItem.Checked = ShowArgumentValues;
+ argValuesItem.Text = "${res:MainWindow.Windows.Debug.CallStack.ShowArgumentValues}";
+ argValuesItem.Checked = ShowArgumentValues;
argValuesItem.Click +=
delegate {
- ShowArgumentValues = !ShowArgumentValues;
- RefreshList();
- };
+ ShowArgumentValues = !ShowArgumentValues;
+ RefreshList();
+ };
ToolStripMenuItem extMethodsItem;
extMethodsItem = new ToolStripMenuItem();
- extMethodsItem.Text = "Show external methods";
- extMethodsItem.Checked = ShowExternalMethods;
+ extMethodsItem.Text = "${res:MainWindow.Windows.Debug.CallStack.ShowExternalMethods}";
+ extMethodsItem.Checked = ShowExternalMethods;
extMethodsItem.Click +=
delegate {
- ShowExternalMethods = !ShowExternalMethods;
- RefreshList();
- };
+ ShowExternalMethods = !ShowExternalMethods;
+ RefreshList();
+ };
menu.Items.AddRange(new ToolStripItem[] {
argNamesItem,
@@ -189,7 +189,7 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads
{
RefreshList();
}
-
+
public void RefreshList()
{
bool showArgumentNames = ShowArgumentNames;
diff --git a/src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Pads/ExceptionHistoryPad.cs b/src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Pads/ExceptionHistoryPad.cs
index 53d385fd1d..110d07b163 100644
--- a/src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Pads/ExceptionHistoryPad.cs
+++ b/src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Pads/ExceptionHistoryPad.cs
@@ -38,9 +38,9 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads
public ExceptionHistoryPad()
{
- InitializeComponents();
- }
-
+ InitializeComponents();
+ }
+
void InitializeComponents()
{
debugger = (WindowsDebugger)DebuggerService.CurrentDebugger;
@@ -81,9 +81,9 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads
public override void RedrawContent()
{
- time.Text = "Time";
- exception.Text = "Exception";
- location.Text = "Location";
+ time.Text = ResourceService.GetString("MainWindow.Windows.Debug.ExceptionHistory.Time");
+ exception.Text = ResourceService.GetString("MainWindow.Windows.Debug.ExceptionHistory.Exception");
+ location.Text = ResourceService.GetString("AddIns.HtmlHelp2.Location");
}
void ExceptionHistoryListItemActivate(object sender, EventArgs e)
@@ -98,7 +98,7 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads
IWorkbenchWindow window = FileService.GetOpenFile(nextStatement.SourceFullFilename);
if (window != null) {
IViewContent content = window.ViewContent;
-
+
if (content is IPositionable) {
((IPositionable)content).JumpTo((int)nextStatement.StartLine - 1, (int)nextStatement.StartColumn - 1);
}
@@ -120,12 +120,12 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads
{
RefreshList();
}
-
+
public void RefreshList()
{
exceptionHistoryList.BeginUpdate();
exceptionHistoryList.Items.Clear();
-
+
foreach(Debugger.Exception exception in debugger.ExceptionHistory) {
string location;
if (exception.Location != null) {
@@ -141,9 +141,9 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads
item.ForeColor = Color.Red;
}
if (exception.ExceptionType == ExceptionType.DEBUG_EXCEPTION_FIRST_CHANCE ||
- exception.ExceptionType == ExceptionType.DEBUG_EXCEPTION_USER_FIRST_CHANCE) {
+ exception.ExceptionType == ExceptionType.DEBUG_EXCEPTION_USER_FIRST_CHANCE) {
item.ForeColor = Color.Blue;
- }
+ }
exceptionHistoryList.Items.Add(item);
}
diff --git a/src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Pads/LocalVarPad.cs b/src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Pads/LocalVarPad.cs
index d771e35fbc..d052ca1a83 100644
--- a/src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Pads/LocalVarPad.cs
+++ b/src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Pads/LocalVarPad.cs
@@ -112,9 +112,9 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads
public override void RedrawContent()
{
- name.Text = "Name";
- val.Text = "Value";
- type.Text = "Type";
+ name.Text = ResourceService.GetString("Global.Name");
+ val.Text = ResourceService.GetString("Dialog.HighlightingEditor.Properties.Value");
+ type.Text = ResourceService.GetString("ResourceEditor.ResourceEdit.TypeColumn");
}
private void localVarList_BeforeExpand(object sender, TreeListViewCancelEventArgs e)
diff --git a/src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Pads/RunningThreadsPad.cs b/src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Pads/RunningThreadsPad.cs
index 3341c35dc0..fa385ed301 100644
--- a/src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Pads/RunningThreadsPad.cs
+++ b/src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Pads/RunningThreadsPad.cs
@@ -43,7 +43,7 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads
{
InitializeComponents();
}
-
+
void InitializeComponents()
{
debugger = (WindowsDebugger)DebuggerService.CurrentDebugger;
@@ -90,16 +90,16 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads
public override void RedrawContent()
{
- id.Text = "ID";
- name.Text = "Name";
- location.Text = "Location";
- priority.Text = "Priority";
- breaked.Text = "Frozen";
+ id.Text = ResourceService.GetString("Global.ID");
+ name.Text = ResourceService.GetString("Global.Name");
+ location.Text = ResourceService.GetString("AddIns.HtmlHelp2.Location");
+ priority.Text = ResourceService.GetString("MainWindow.Windows.Debug.Threads.Priority");
+ breaked.Text = ResourceService.GetString("MainWindow.Windows.Debug.Threads.Frozen");
}
ContextMenuStrip CreateContextMenuStrip()
{
- ContextMenuStrip menu = new ContextMenuStrip();
+ ContextMenuStrip menu = new ContextMenuStrip();
menu.Opening += FillContextMenuStrip;
return menu;
}
@@ -120,26 +120,26 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads
ToolStripMenuItem freezeItem;
freezeItem = new ToolStripMenuItem();
- freezeItem.Text = "Freeze";
+ freezeItem.Text = ResourceService.GetString("MainWindow.Windows.Debug.Threads.Freeze");
freezeItem.Checked = (item.Tag as Thread).Suspended;
freezeItem.Click +=
delegate {
- ListView.SelectedListViewItemCollection selItems = runningThreadsList.SelectedItems;
- if (selItems.Count == 0) {
- return;
- }
- bool suspended = (selItems[0].Tag as Thread).Suspended;
-
- if (!debuggerCore.IsPaused) {
- MessageBox.Show("You can not freeze or thaw thread while the debugger is running.", "Thread freeze");
- return;
- }
-
- foreach(ListViewItem i in selItems) {
- (i.Tag as Thread).Suspended = !suspended;
- }
- RefreshList();
- };
+ ListView.SelectedListViewItemCollection selItems = runningThreadsList.SelectedItems;
+ if (selItems.Count == 0) {
+ return;
+ }
+ bool suspended = (selItems[0].Tag as Thread).Suspended;
+
+ if (!debuggerCore.IsPaused) {
+ MessageBox.Show("You can not freeze or thaw thread while the debugger is running.", "Thread freeze");
+ return;
+ }
+
+ foreach(ListViewItem i in selItems) {
+ (i.Tag as Thread).Suspended = !suspended;
+ }
+ RefreshList();
+ };
menu.Items.AddRange(new ToolStripItem[] {
freezeItem,
@@ -211,12 +211,31 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads
} else {
item.SubItems.Add("N/A");
}
- item.SubItems.Add(thread.Priority.ToString());
- item.SubItems.Add(thread.Suspended.ToString());
- return;
+ switch (thread.Priority) {
+ case System.Threading.ThreadPriority.Highest:
+ item.SubItems.Add(ResourceService.GetString("MainWindow.Windows.Debug.Threads.Priority.Highest"));
+ break;
+ case System.Threading.ThreadPriority.AboveNormal:
+ item.SubItems.Add(ResourceService.GetString("MainWindow.Windows.Debug.Threads.Priority.AboveNormal"));
+ break;
+ case System.Threading.ThreadPriority.Normal:
+ item.SubItems.Add(ResourceService.GetString("MainWindow.Windows.Debug.Threads.Priority.Normal"));
+ break;
+ case System.Threading.ThreadPriority.BelowNormal:
+ item.SubItems.Add(ResourceService.GetString("MainWindow.Windows.Debug.Threads.Priority.BelowNormal"));
+ break;
+ case System.Threading.ThreadPriority.Lowest:
+ item.SubItems.Add(ResourceService.GetString("MainWindow.Windows.Debug.Threads.Priority.Lowest"));
+ break;
+ default:
+ item.SubItems.Add(thread.Priority.ToString());
+ break;
+ }
+ item.SubItems.Add(StringParser.Parse(thread.Suspended ? "${res:Global.Yes}" : "${res:Global.No}"));
+ return;
}
- }
- AddThread(thread);
+ }
+ AddThread(thread);
}
void RemoveThread(Thread thread)
diff --git a/src/Main/Base/Project/Resources/FindPanel.xfrm b/src/Main/Base/Project/Resources/FindPanel.xfrm
index 9a2922084b..1ad097c940 100644
--- a/src/Main/Base/Project/Resources/FindPanel.xfrm
+++ b/src/Main/Base/Project/Resources/FindPanel.xfrm
@@ -5,12 +5,10 @@
-
-
+
-
@@ -24,7 +22,6 @@
-
@@ -33,42 +30,34 @@
-
-
+
-
-
-
-
-
-
-
@@ -81,7 +70,6 @@
-
@@ -91,21 +79,17 @@
-
-
-
-
+
-
-
+
@@ -118,7 +102,6 @@
-
@@ -135,7 +118,6 @@
-
diff --git a/src/Main/Base/Project/Resources/ReplacePanel.xfrm b/src/Main/Base/Project/Resources/ReplacePanel.xfrm
index 35fdb452f0..343acea8a0 100644
--- a/src/Main/Base/Project/Resources/ReplacePanel.xfrm
+++ b/src/Main/Base/Project/Resources/ReplacePanel.xfrm
@@ -14,7 +14,6 @@
-
@@ -24,11 +23,9 @@
-
-
@@ -41,7 +38,6 @@
-
@@ -50,42 +46,34 @@
-
-
+
-
-
-
+
-
-
-
-
-
@@ -98,7 +86,6 @@
-
@@ -108,26 +95,22 @@
-
-
-
-
+
-
-
+
-
+
@@ -135,7 +118,6 @@
-
@@ -152,7 +134,6 @@
-
diff --git a/src/Main/Base/Project/Src/TextEditor/SearchAndReplace/Gui/SearchAndReplacePanel.cs b/src/Main/Base/Project/Src/TextEditor/SearchAndReplace/Gui/SearchAndReplacePanel.cs
index 96927bb07c..fb44eb18a9 100644
--- a/src/Main/Base/Project/Src/TextEditor/SearchAndReplace/Gui/SearchAndReplacePanel.cs
+++ b/src/Main/Base/Project/Src/TextEditor/SearchAndReplace/Gui/SearchAndReplacePanel.cs
@@ -45,7 +45,8 @@ namespace SearchAndReplace
break;
}
- Get