Browse Source

More untranslated strings moved to the translation database, fixed SD2-838: Untranslated resource strings in output window

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1460 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Daniel Grunwald 19 years ago
parent
commit
f678d9c8c7
  1. 2
      AddIns/ICSharpCode.SharpDevelop.addin
  2. BIN
      data/resources/StringResources.cz.resources
  3. BIN
      data/resources/StringResources.es-mx.resources
  4. BIN
      data/resources/StringResources.es.resources
  5. BIN
      data/resources/StringResources.nl.resources
  6. 2
      data/templates/file/CSharp/CSharp.WPFFlowDocument.xft
  7. 2
      data/templates/file/CSharp/CSharp.WPFPage.xft
  8. 2
      data/templates/file/CSharp/CSharp.WPFPageFunction.xft
  9. 4
      data/templates/file/CSharp/CSharp.WPFResourceDictionary.xft
  10. 2
      data/templates/file/CSharp/CSharp.WPFUserControl.xft
  11. 2
      data/templates/file/CSharp/CSharp.WPFWindow.xft
  12. 4
      data/templates/file/CSharp/CSharp.Web.WebControl.xft
  13. 4
      data/templates/file/CSharp/CSharp.Web.WebForm.xft
  14. 4
      data/templates/file/CSharp/CSharp.Web.WebService.xft
  15. 4
      data/templates/project/CSharp/WebpageProject.xpt
  16. 4
      src/AddIns/DisplayBindings/FormsDesigner/Project/Src/Gui/AddComponentsDialog.cs
  17. 2
      src/AddIns/DisplayBindings/FormsDesigner/Project/Src/ToolboxProvider.cs
  18. 4
      src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Pads/CallStackPad.cs
  19. 14
      src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Pads/LocalVarPad.cs
  20. 2
      src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Pads/RunningThreadsPad.Menu.cs
  21. 4
      src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Pads/RunningThreadsPad.cs
  22. 6
      src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Service/WindowsDebugger.cs
  23. 2
      src/AddIns/Misc/RegExpTk/Project/Resources/RegExpTkGroupForm.xfrm
  24. 6
      src/Main/Base/Project/Src/Commands/MenuItemBuilders.cs
  25. 2
      src/Main/Base/Project/Src/Gui/BrowserDisplayBinding/HtmlViewPane.cs
  26. 2
      src/Main/Base/Project/Src/Gui/Dialogs/NewProjectDialog.cs
  27. 2
      src/Main/Base/Project/Src/Gui/Pads/CompilerMessageView/CompilerMessageView.cs
  28. BIN
      src/Main/StartUp/Project/Resources/StringResources.resources

2
AddIns/ICSharpCode.SharpDevelop.addin

@ -108,7 +108,7 @@ @@ -108,7 +108,7 @@
<Path name = "/SharpDevelop/Workbench/Combine/FileFilter">
<FileFilter id = "Solution"
name = "Solutions (*.sln)"
name = "${res:SharpDevelop.FileFilter.SolutionFiles}"
class = "ICSharpCode.SharpDevelop.Project.LoadSolution"
extensions = "*.sln"/>

BIN
data/resources/StringResources.cz.resources

Binary file not shown.

BIN
data/resources/StringResources.es-mx.resources

Binary file not shown.

BIN
data/resources/StringResources.es.resources

Binary file not shown.

BIN
data/resources/StringResources.nl.resources

Binary file not shown.

2
data/templates/file/CSharp/CSharp.WPFFlowDocument.xft

@ -9,7 +9,7 @@ @@ -9,7 +9,7 @@
defaultname = "FlowDocument${Number}.xaml"
language = "XML"/>
<Description>A WinFX Flow Document</Description>
<Description>${res:Templates.File.WinFXFlowDocument.Name}</Description>
<!--
Special new file templates:

2
data/templates/file/CSharp/CSharp.WPFPage.xft

@ -9,7 +9,7 @@ @@ -9,7 +9,7 @@
defaultname = "Page${Number}.xaml"
language = "C#"/>
<Description>A WinFX Page</Description>
<Description>${res:Templates.File.WinFXPage.Name}</Description>
<!--
Special new file templates:

2
data/templates/file/CSharp/CSharp.WPFPageFunction.xft

@ -9,7 +9,7 @@ @@ -9,7 +9,7 @@
defaultname = "PageFunction${Number}.xaml"
language = "XML"/>
<Description>A WinFX Page Function</Description>
<Description>${res:Templates.File.WinFXPageFunction.Name}</Description>
<!--
Special new file templates:

4
data/templates/file/CSharp/CSharp.WPFResourceDictionary.xft

@ -2,14 +2,14 @@ @@ -2,14 +2,14 @@
<Template author="Mathias Simmack" version="1.0">
<Config
name = "WinFX Resource Dictionary"
name = "${res:Templates.File.WinFXResourceDictionary.Name}"
icon = "Icons.32x32.XMLFileIcon"
subcategory = "WinFX"
category = "C#"
defaultname = "Dictionary${Number}.xaml"
language = "XML"/>
<Description>A WinFX Resource Dictionary</Description>
<Description>${res:Templates.File.WinFXResourceDictionary.Name}</Description>
<!--
Special new file templates:

2
data/templates/file/CSharp/CSharp.WPFUserControl.xft

@ -9,7 +9,7 @@ @@ -9,7 +9,7 @@
defaultname = "UserControl${Number}.xaml"
language = "C#"/>
<Description>A WinFX Custom Control</Description>
<Description>${res:Templates.File.WinFXUserControl.Description}</Description>
<!--
Special new file templates:

2
data/templates/file/CSharp/CSharp.WPFWindow.xft

@ -9,7 +9,7 @@ @@ -9,7 +9,7 @@
defaultname = "Window${Number}.xaml"
language = "C#"/>
<Description>A WinFX Window</Description>
<Description>${res:Templates.File.WinFXWindow.Description}</Description>
<!--
Special new file templates:

4
data/templates/file/CSharp/CSharp.Web.WebControl.xft

@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
<Template author="Tom Schroeter" version="1.0">
<Config
name = "ASP.NET Web Control"
name = "${res:Templates.File.WebControl.Name}"
icon = "C#.File.NewClass"
category = "C#"
subcategory = "ASP.NET"
@ -10,7 +10,7 @@ @@ -10,7 +10,7 @@
language = "C#"
/>
<Description>Custom Web Control. Enter the name of a new control.</Description>
<Description>${res:Templates.File.WebControl.Description}</Description>
<!--
Special new file templates:
${StandardNamespace} -> Standardnamespace of the current project or FileNameWithoutExtension

4
data/templates/file/CSharp/CSharp.Web.WebForm.xft

@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
<Template author="Tom Schroeter" version="1.0">
<Config
name = "ASP.NET Web Form"
name = "${res:Templates.File.WebForm.Name}"
icon = "C#.File.NewClass"
category = "C#"
subcategory = "ASP.NET"
@ -10,7 +10,7 @@ @@ -10,7 +10,7 @@
language = "C#"
/>
<Description>Component Frame for ASPX Code Behind. Enter the name of a new page.</Description>
<Description>${res:Templates.File.WebForm.Description}</Description>
<!--
Special new file templates:
${StandardNamespace} -> Standardnamespace of the current project or FileNameWithoutExtension

4
data/templates/file/CSharp/CSharp.Web.WebService.xft

@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
<Template author="Tom Schroeter" version="1.0">
<Config
name = "ASP.NET Web Service"
name = "${res:Templates.File.WebService.Name}"
icon = "C#.File.NewClass"
category = "C#"
subcategory = "ASP.NET"
@ -10,7 +10,7 @@ @@ -10,7 +10,7 @@
language = "C#"
/>
<Description>Component Frame for ASMX Web Service. Enter the name of a new service.</Description>
<Description>${res:Templates.File.WebService.Description}</Description>
<!--
Special new file templates:
${StandardNamespace} -> Standardnamespace of the current project or FileNameWithoutExtension

4
data/templates/project/CSharp/WebpageProject.xpt

@ -5,12 +5,12 @@ @@ -5,12 +5,12 @@
<!-- Template Header -->
<TemplateConfiguration>
<Name>ASP.net webpage project</Name>
<Name>${res:Templates.Project.WebPage.Name}</Name>
<Category>C#</Category>
<Subcategory>ASP.NET</Subcategory>
<Icon>C#.Project.Form</Icon>
<LanguageName>C#</LanguageName>
<Description>ASP.net web application</Description>
<Description>${res:Templates.Project.WebPage.Description}</Description>
</TemplateConfiguration>
<!-- Actions -->

4
src/AddIns/DisplayBindings/FormsDesigner/Project/Src/Gui/AddComponentsDialog.cs

@ -183,7 +183,7 @@ namespace ICSharpCode.FormsDesigner.Gui @@ -183,7 +183,7 @@ namespace ICSharpCode.FormsDesigner.Gui
void loadButtonClick(object sender, System.EventArgs e)
{
if (!System.IO.File.Exists(ControlDictionary["fileNameTextBox"].Text)) {
MessageBox.Show("Please enter a valid file name.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Warning);
MessageService.ShowWarning("${res:ICSharpCode.SharpDevelop.FormDesigner.Gui.AddSidebarComponents.EnterValidFilename}");
return;
}
@ -192,7 +192,7 @@ namespace ICSharpCode.FormsDesigner.Gui @@ -192,7 +192,7 @@ namespace ICSharpCode.FormsDesigner.Gui
Assembly asm = Assembly.LoadFrom(assemblyFileName);
FillComponents(asm, Path.GetDirectoryName(assemblyFileName));
} catch {
MessageBox.Show("Please enter the file name of a valid .NET assembly.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Warning);
MessageService.ShowWarning("${res:ICSharpCode.SharpDevelop.FormDesigner.Gui.AddSidebarComponents.FileIsNotAssembly}");
FillComponents(null, null);
}
}

2
src/AddIns/DisplayBindings/FormsDesigner/Project/Src/ToolboxProvider.cs

@ -124,7 +124,7 @@ namespace ICSharpCode.FormsDesigner @@ -124,7 +124,7 @@ namespace ICSharpCode.FormsDesigner
}
}
}
SideTabDesigner customTab = new CustomComponentsSideTab(SharpDevelopSideBar.SideBar, "Custom Components", toolboxService);
SideTabDesigner customTab = new CustomComponentsSideTab(SharpDevelopSideBar.SideBar, ResourceService.GetString("ICSharpCode.SharpDevelop.FormDesigner.ToolboxProvider.CustomComponents"), toolboxService);
customTab.ItemRemoved += SideTabItemRemoved;
customTab.ItemsExchanged += SideTabItemsExchanged;
SideTabs.Add(customTab);

4
src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Pads/CallStackPad.cs

@ -75,10 +75,10 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads @@ -75,10 +75,10 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads
debuggerCore.OnDebuggeeStateChanged(); // Force refresh of pads
}
} else {
MessageBox.Show("You can not switch to function without symbols", "Function switch");
MessageService.ShowMessage("${res:MainWindow.Windows.Debug.CallStack.CannotSwitchWithoutSymbols}", "${res:MainWindow.Windows.Debug.CallStack.FunctionSwitch}");
}
} else {
MessageBox.Show("You can not switch functions while the debugger is running.", "Function switch");
MessageService.ShowMessage("${res:MainWindow.Windows.Debug.CallStack.CannotSwitchWhileRunning}", "${res:MainWindow.Windows.Debug.CallStack.FunctionSwitch}");
}
}

14
src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Pads/LocalVarPad.cs

@ -57,11 +57,17 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads @@ -57,11 +57,17 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads
RedrawContent();
}
static string privateMembersName, staticMembersName, privateStaticMembersName;
public override void RedrawContent()
{
name.Text = ResourceService.GetString("Global.Name");
val.Text = ResourceService.GetString("Dialog.HighlightingEditor.Properties.Value");
type.Text = ResourceService.GetString("ResourceEditor.ResourceEdit.TypeColumn");
privateMembersName = StringParser.Parse("<${res:MainWindow.Windows.Debug.LocalVariables.PrivateMembers}>");
staticMembersName = StringParser.Parse("<${res:MainWindow.Windows.Debug.LocalVariables.StaticMembers}>");
privateStaticMembersName = StringParser.Parse("<${res:MainWindow.Windows.Debug.LocalVariables.PrivateStaticMembers}>");
}
// This is a walkarond for a visual issue
@ -88,9 +94,9 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads @@ -88,9 +94,9 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads
public static void AddVariableCollectionToTree(VariableCollection varCollection, TreeListViewItemCollection tree)
{
TreeListViewItem privateInstanceMenu = new TreeListViewItem("<Private Members>", 0);
TreeListViewItem staticMenu = new TreeListViewItem("<Static Members>", 0);
TreeListViewItem privateStaticMenu = new TreeListViewItem("<Private Static Members>", 0);
TreeListViewItem privateInstanceMenu = new TreeListViewItem(privateMembersName, 0);
TreeListViewItem staticMenu = new TreeListViewItem(staticMembersName, 0);
TreeListViewItem privateStaticMenu = new TreeListViewItem(privateStaticMembersName, 0);
AddVariableMethod addVariable = delegate(Variable variable) {
ClassVariable classVariable = variable as ClassVariable;
@ -146,7 +152,7 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads @@ -146,7 +152,7 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads
((TreeListViewDebuggerItem)e.Item).BeforeExpand();
}
} else {
MessageBox.Show("You can not explore variables while the debuggee is running.");
MessageService.ShowMessage("${res:MainWindow.Windows.Debug.LocalVariables.CannotExploreVariablesWhileRunning}");
e.Cancel = true;
}
}

2
src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Pads/RunningThreadsPad.Menu.cs

@ -56,7 +56,7 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads @@ -56,7 +56,7 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads
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");
MessageService.ShowMessage("${res:MainWindow.Windows.Debug.Threads.CannotFreezeWhileRunning}", "${res:MainWindow.Windows.Debug.Threads.Freeze}");
return;
}

4
src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Pads/RunningThreadsPad.cs

@ -97,7 +97,7 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads @@ -97,7 +97,7 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads
debuggerCore.OnDebuggeeStateChanged(); // Force refresh of pads
}
} else {
MessageBox.Show("You can not switch threads while the debugger is running.", "Thread switch");
MessageService.ShowMessage("${res:MainWindow.Windows.Debug.Threads.CannotSwitchWhileRunning}", "${res:MainWindow.Windows.Debug.Threads.ThreadSwitch}");
}
}
@ -147,7 +147,7 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads @@ -147,7 +147,7 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads
item.SubItems.Add(thread.Priority.ToString());
break;
}
item.SubItems.Add(StringParser.Parse(thread.Suspended ? "${res:Global.Yes}" : "${res:Global.No}"));
item.SubItems.Add(ResourceService.GetString(thread.Suspended ? "Global.Yes" : "Global.No"));
return;
}
}

6
src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Service/WindowsDebugger.cs

@ -120,7 +120,7 @@ namespace ICSharpCode.SharpDevelop.Services @@ -120,7 +120,7 @@ namespace ICSharpCode.SharpDevelop.Services
public void StepInto()
{
if (debugger.SelectedFunction == null || debugger.IsRunning) {
MessageBox.Show("You can not step because there is no function selected to be stepped","Step into");
MessageService.ShowMessage("${res:MainWindow.Windows.Debug.Threads.CannotStepNoActiveFunction}", "${res:XML.MainMenu.DebugMenu.StepInto}");
} else {
debugger.StepInto();
}
@ -129,7 +129,7 @@ namespace ICSharpCode.SharpDevelop.Services @@ -129,7 +129,7 @@ namespace ICSharpCode.SharpDevelop.Services
public void StepOver()
{
if (debugger.SelectedFunction == null || debugger.IsRunning) {
MessageBox.Show("You can not step because there is no function selected to be stepped","Step over");
MessageService.ShowMessage("${res:MainWindow.Windows.Debug.Threads.CannotStepNoActiveFunction}", "${res:XML.MainMenu.DebugMenu.StepOver.Description}");
} else {
debugger.StepOver();
}
@ -138,7 +138,7 @@ namespace ICSharpCode.SharpDevelop.Services @@ -138,7 +138,7 @@ namespace ICSharpCode.SharpDevelop.Services
public void StepOut()
{
if (debugger.SelectedFunction == null || debugger.IsRunning) {
MessageBox.Show("You can not step because there is no function selected to be stepped","Step out");
MessageService.ShowMessage("${res:MainWindow.Windows.Debug.Threads.CannotStepNoActiveFunction}", "${res:XML.MainMenu.DebugMenu.StepOut}");
} else {
debugger.StepOut();
}

2
src/AddIns/Misc/RegExpTk/Project/Resources/RegExpTkGroupForm.xfrm

@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
<System.Windows.Forms.Form>
<Name value="GroupsForm" />
<FormBorderStyle value="SizableToolWindow" />
<Text value="Groups" />
<Text value="${res:RegExpTk.MainDialog.GroupsColumn}" />
<ClientSize value="{Width=460, Height=222}" />
<Controls>
<System.Windows.Forms.Button>

6
src/Main/Base/Project/Src/Commands/MenuItemBuilders.cs

@ -104,7 +104,7 @@ namespace ICSharpCode.SharpDevelop.Commands @@ -104,7 +104,7 @@ namespace ICSharpCode.SharpDevelop.Commands
Process p = (Process)sender;
string output = p.StandardOutput.ReadToEnd();
TaskService.BuildMessageViewCategory.AppendText(output + Environment.NewLine + "Exited with code:" + p.ExitCode + Environment.NewLine);
TaskService.BuildMessageViewCategory.AppendText(output + Environment.NewLine + "${res:XML.MainMenu.ToolMenu.ExternalTools.ExitedWithCode} " + p.ExitCode + Environment.NewLine);
}
void ToolEvt(object sender, EventArgs e)
@ -149,7 +149,7 @@ namespace ICSharpCode.SharpDevelop.Commands @@ -149,7 +149,7 @@ namespace ICSharpCode.SharpDevelop.Commands
if (tool.PromptForArguments) {
InputBox box = new InputBox();
box.Text = tool.MenuCommand;
box.Label.Text = "Enter arguments for the tool:";
box.Label.Text = ResourceService.GetString("XML.MainMenu.ToolMenu.ExternalTools.EnterArguments");
box.TextBox.Text = args;
if (box.ShowDialog() != DialogResult.OK)
return;
@ -177,7 +177,7 @@ namespace ICSharpCode.SharpDevelop.Commands @@ -177,7 +177,7 @@ namespace ICSharpCode.SharpDevelop.Commands
}
process.Start();
} catch (Exception ex) {
MessageService.ShowError("External program execution failed.\nError while starting:\n '" + command + " " + args + "'\n" + ex.Message);
MessageService.ShowError("${res:XML.MainMenu.ToolMenu.ExternalTools.ExecutionFailed} '" + command + " " + args + "'\n" + ex.Message);
}
break;
}

2
src/Main/Base/Project/Src/Gui/BrowserDisplayBinding/HtmlViewPane.cs

@ -98,7 +98,7 @@ namespace ICSharpCode.SharpDevelop.BrowserDisplayBinding @@ -98,7 +98,7 @@ namespace ICSharpCode.SharpDevelop.BrowserDisplayBinding
if (title != null)
title = title.Trim();
if (title == null || title.Length == 0)
TitleName = "Browser";
TitleName = ResourceService.GetString("ICSharpCode.SharpDevelop.BrowserDisplayBinding.Browser");
else
TitleName = title;
}

2
src/Main/Base/Project/Src/Gui/Dialogs/NewProjectDialog.cs

@ -347,7 +347,7 @@ namespace ICSharpCode.SharpDevelop.Project.Dialogs @@ -347,7 +347,7 @@ namespace ICSharpCode.SharpDevelop.Project.Dialogs
{
// Changes Shankar
FolderDialog fd = new FolderDialog();
if (fd.DisplayDialog("Select the directory in which the project will be created.") == DialogResult.OK) {
if (fd.DisplayDialog("${res:Dialog.NewProject.SelectDirectoryForProject}") == DialogResult.OK) {
((TextBox)ControlDictionary["locationTextBox"]).Text = fd.Path;
}
// End

2
src/Main/Base/Project/Src/Gui/Pads/CompilerMessageView/CompilerMessageView.cs

@ -63,7 +63,7 @@ namespace ICSharpCode.SharpDevelop.Gui @@ -63,7 +63,7 @@ namespace ICSharpCode.SharpDevelop.Gui
set {
if (selectedCategory != value) {
selectedCategory = value;
textEditorControl.Text = (value < 0) ? "" : messageCategories[value].Text;
textEditorControl.Text = (value < 0) ? "" : StringParser.Parse(messageCategories[value].Text);
//textEditorControl.Refresh();
OnSelectedCategoryIndexChanged(EventArgs.Empty);
}

BIN
src/Main/StartUp/Project/Resources/StringResources.resources

Binary file not shown.
Loading…
Cancel
Save