Browse Source

Add some strings to translation database.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1742 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Daniel Grunwald 20 years ago
parent
commit
e2f4e6b86e
  1. 4
      AddIns/ICSharpCode.SharpDevelop.addin
  2. BIN
      data/resources/StringResources.es-mx.resources
  3. BIN
      data/resources/StringResources.es.resources
  4. BIN
      data/resources/StringResources.nl.resources
  5. 2
      src/AddIns/Misc/CodeAnalysis/Src/FxCopLogger.cs
  6. 10
      src/AddIns/Misc/CodeCoverage/Project/CodeCoverage.addin
  7. 2
      src/AddIns/Misc/CodeCoverage/Project/Resources/CodeCoverageProjectOptionsPanel.xfrm
  8. 10
      src/AddIns/Misc/Debugger/Debugger.BooInterpreter/Project/Src/DebugeeInterpreterContext.cs
  9. 2
      src/Main/Base/Project/Src/Commands/MenuItemBuilders.cs
  10. 2
      src/Main/Base/Project/Src/Gui/Components/StringListEditor.cs
  11. BIN
      src/Main/StartUp/Project/Resources/StringResources.resources

4
AddIns/ICSharpCode.SharpDevelop.addin

@ -920,7 +920,7 @@
<ToolbarItem id="NavigateBack" <ToolbarItem id="NavigateBack"
type="SplitButton" type="SplitButton"
icon="Icons.16x16.NavigateBack" icon="Icons.16x16.NavigateBack"
tooltip="Navigate Back" tooltip="${res:XML.MainMenu.Navigation.Back}"
disabledIcon="Icons.16x16.NavigateBack" disabledIcon="Icons.16x16.NavigateBack"
loadclasslazy="false" loadclasslazy="false"
class="ICSharpCode.SharpDevelop.Commands.NavigateBack" class="ICSharpCode.SharpDevelop.Commands.NavigateBack"
@ -933,7 +933,7 @@
<Condition name="CanNavigateForward" action="Disable"> <Condition name="CanNavigateForward" action="Disable">
<ToolbarItem id="NavigateForward" <ToolbarItem id="NavigateForward"
icon="Icons.16x16.NavigateForward" icon="Icons.16x16.NavigateForward"
tooltip="Navigate Forward" tooltip="${res:XML.MainMenu.Navigation.Forward}"
loadclasslazy="false" loadclasslazy="false"
class="ICSharpCode.SharpDevelop.Commands.NavigateForward"/> class="ICSharpCode.SharpDevelop.Commands.NavigateForward"/>
</Condition> </Condition>

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
src/AddIns/Misc/CodeAnalysis/Src/FxCopLogger.cs

@ -53,7 +53,7 @@ namespace ICSharpCode.CodeAnalysis
public void Initialize(IEventSource eventSource) public void Initialize(IEventSource eventSource)
{ {
this.eventSource = eventSource; this.eventSource = eventSource;
engine.MessageView.AppendText("Running FxCop on " + Path.GetFileNameWithoutExtension(engine.CurrentProjectFile) + "\r\n"); engine.MessageView.AppendText("${res:ICSharpCode.CodeAnalysis.RunningFxCopOn} " + Path.GetFileNameWithoutExtension(engine.CurrentProjectFile) + "\r\n");
eventSource.ErrorRaised += OnError; eventSource.ErrorRaised += OnError;
eventSource.WarningRaised += OnWarning; eventSource.WarningRaised += OnWarning;
} }

10
src/AddIns/Misc/CodeCoverage/Project/CodeCoverage.addin

@ -37,15 +37,15 @@
<ToolbarItem id = "CodeCoveragePadDisplayOptions" <ToolbarItem id = "CodeCoveragePadDisplayOptions"
type = "DropDownButton" type = "DropDownButton"
icon = "Icons.16x16.Options" icon = "Icons.16x16.Options"
tooltip = "Display Options" tooltip = "${res:ICSharpCode.CodeCoverage.DisplayOptions}"
class = "ICSharpCode.CodeCoverage.ShowDisplayOptionsDropDown"> class = "ICSharpCode.CodeCoverage.ShowDisplayOptionsDropDown">
<MenuItem id = "ShowVisitCountOption" <MenuItem id = "ShowVisitCountOption"
type = "CheckBox" type = "CheckBox"
label = "Show Visit Count" label = "${res:ICSharpCode.CodeCoverage.ShowVisitCount}"
class = "ICSharpCode.CodeCoverage.ShowVisitCountCommand"/> class = "ICSharpCode.CodeCoverage.ShowVisitCountCommand"/>
<MenuItem id = "ShowSourceCodeOption" <MenuItem id = "ShowSourceCodeOption"
type = "CheckBox" type = "CheckBox"
label = "Show Source Code" label = "${res:ICSharpCode.CodeCoverage.ShowSourceCode}"
class = "ICSharpCode.CodeCoverage.ShowSourceCodeCommand"/> class = "ICSharpCode.CodeCoverage.ShowSourceCodeCommand"/>
</ToolbarItem> </ToolbarItem>
</Path> </Path>
@ -76,7 +76,7 @@
<Path name = "/SharpDevelop/Workbench/MainMenu/Edit/Format"> <Path name = "/SharpDevelop/Workbench/MainMenu/Edit/Format">
<MenuItem id = "ShowCodeCoverage" <MenuItem id = "ShowCodeCoverage"
insertafter = "Indent" insertafter = "Indent"
label = "Show Code Co&amp;verage" label = "${res:ICSharpCode.CodeCoverage.ShowCoverage}"
type = "CheckBox" type = "CheckBox"
class = "ICSharpCode.CodeCoverage.ToggleCodeCoverageCommand"/> class = "ICSharpCode.CodeCoverage.ToggleCodeCoverageCommand"/>
</Path> </Path>
@ -85,7 +85,7 @@
<MenuItem id = "ShowCodeCoverage" <MenuItem id = "ShowCodeCoverage"
insertafter = "Indent" insertafter = "Indent"
insertbefore = "FileMode" insertbefore = "FileMode"
label = "Show Code Co&amp;verage" label = "${res:ICSharpCode.CodeCoverage.ShowCoverage}"
type = "CheckBox" type = "CheckBox"
class = "ICSharpCode.CodeCoverage.ToggleCodeCoverageCommand"/> class = "ICSharpCode.CodeCoverage.ToggleCodeCoverageCommand"/>
</Path> </Path>

2
src/AddIns/Misc/CodeCoverage/Project/Resources/CodeCoverageProjectOptionsPanel.xfrm

@ -13,7 +13,7 @@
<System.Windows.Forms.Label> <System.Windows.Forms.Label>
<Name value="excludedAttributesListLabel" /> <Name value="excludedAttributesListLabel" />
<Location value="{X=12,Y=69}" /> <Location value="{X=12,Y=69}" />
<Text value="Excluded Attributes:" /> <Text value="${res:ICSharpCode.CodeCoverage.ProjectOptionsPanel.ExcludeAttributes}:" />
<Anchor value="Top, Left, Right" /> <Anchor value="Top, Left, Right" />
<Size value="{Width=317, Height=20}" /> <Size value="{Width=317, Height=20}" />
<TabIndex value="2" /> <TabIndex value="2" />

10
src/AddIns/Misc/Debugger/Debugger.BooInterpreter/Project/Src/DebugeeInterpreterContext.cs

@ -28,8 +28,8 @@ namespace Debugger
public DebugeeInterpreterContext() public DebugeeInterpreterContext()
{ {
this.Title = "Debuggee"; this.Title = "${res:ICSharpCode.BooInterpreter.Debuggee.Title}";
this.ToolTipText = "Runs commands in the debugged progam"; this.ToolTipText = "${res:ICSharpCode.BooInterpreter.Debuggee.ToolTip}";
this.Image = ICSharpCode.Core.ResourceService.GetBitmap("Boo.ProjectIcon"); this.Image = ICSharpCode.Core.ResourceService.GetBitmap("Boo.ProjectIcon");
} }
@ -42,16 +42,16 @@ namespace Debugger
bool InjectInterpreter() bool InjectInterpreter()
{ {
if (!DebuggerService.IsDebuggerLoaded) { if (!DebuggerService.IsDebuggerLoaded) {
PrintLine("Error: 'Debugger is not loaded'"); PrintLine("${res:ICSharpCode.BooInterpreter.Debuggee.ErrorDebuggerNotLoaded}");
return false; return false;
} }
WindowsDebugger winDebugger = DebuggerService.CurrentDebugger as WindowsDebugger; WindowsDebugger winDebugger = DebuggerService.CurrentDebugger as WindowsDebugger;
if (winDebugger == null) { if (winDebugger == null) {
PrintLine("Error: 'Incompatible debugger'"); PrintLine("${res:ICSharpCode.BooInterpreter.Debuggee.ErrorIncompatibleDebugger}");
return false; return false;
} }
if (winDebugger.DebuggedProcess == null) { if (winDebugger.DebuggedProcess == null) {
PrintLine("Error: 'No program is debugged'"); PrintLine("${res:ICSharpCode.BooInterpreter.Debuggee.ErrorNoProgramDebugged}");
return false; return false;
} }
process = winDebugger.DebuggedProcess; process = winDebugger.DebuggedProcess;

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

@ -119,7 +119,7 @@ namespace ICSharpCode.SharpDevelop.Commands
items[i++] = new ToolStripSeparator(); items[i++] = new ToolStripSeparator();
// additional item 2 // additional item 2
cmd = new MenuCommand("Clear Navigation History", new EventHandler(ClearHistory)); cmd = new MenuCommand("${res:XML.MainMenu.Navigation.ClearHistory}", new EventHandler(ClearHistory));
items[i++] = cmd; items[i++] = cmd;
return items; return items;

2
src/Main/Base/Project/Src/Gui/Components/StringListEditor.cs

@ -283,7 +283,7 @@ namespace ICSharpCode.SharpDevelop.Gui
void BrowseButtonClick(object sender, EventArgs e) void BrowseButtonClick(object sender, EventArgs e)
{ {
FolderDialog fdiag = new FolderDialog(); FolderDialog fdiag = new FolderDialog();
if (fdiag.DisplayDialog("Select folder") == DialogResult.OK) { if (fdiag.DisplayDialog("${res:Dialog.ProjectOptions.SelectFolderTitle}") == DialogResult.OK) {
string path = fdiag.Path; string path = fdiag.Path;
if (!path.EndsWith("\\") && !path.EndsWith("/")) if (!path.EndsWith("\\") && !path.EndsWith("/"))
path += "\\"; path += "\\";

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

Binary file not shown.
Loading…
Cancel
Save