Browse Source

Add some strings to StringResources.

pull/18/head
Daniel Grunwald 14 years ago
parent
commit
43511c4ef5
  1. 4
      data/templates/file/SharpDevelop/AddInOptions.xft
  2. 4
      data/templates/file/SharpDevelop/ExampleMenuCommand.xft
  3. 4
      data/templates/file/SharpDevelop/ExampleOptionPanel.xft
  4. 4
      data/templates/file/SharpDevelop/ExamplePad.xft
  5. 4
      data/templates/file/SharpDevelop/ExampleView.xft
  6. 4
      data/templates/file/SharpDevelop/SimpleCommand.xft
  7. 2
      src/AddIns/Analysis/CodeAnalysis/CodeAnalysis.addin
  8. 2
      src/AddIns/Analysis/SourceAnalysis/SourceAnalysis.addin
  9. 14
      src/AddIns/DisplayBindings/AvalonEdit.AddIn/Src/NewLineConsistencyCheck.cs

4
data/templates/file/SharpDevelop/AddInOptions.xft

@ -2,13 +2,13 @@ @@ -2,13 +2,13 @@
<Template author="Mike Krueger" version="1.0">
<Config
name = "${res:Templates.File.#Develop.AddInOptions.Name}"
name = "${res:Templates.File.SharpDevelop.AddInOptions.Name}"
icon = "C#.File.FullFile"
category = "#Develop"
defaultname = "AddInOptions${Number}.cs"
language = "C#"/>
<Description>${res:Templates.File.#Develop.AddInOptions.Description}</Description>
<Description>${res:Templates.File.SharpDevelop.AddInOptions.Description}</Description>
<!--
Special new file templates:

4
data/templates/file/SharpDevelop/ExampleMenuCommand.xft

@ -2,13 +2,13 @@ @@ -2,13 +2,13 @@
<Template author="Mike Krueger" version="1.0">
<Config
name = "${res:Templates.File.#Develop.MenuCommand.Name}"
name = "${res:Templates.File.SharpDevelop.MenuCommand.Name}"
icon = "C#.File.FullFile"
category = "#Develop"
defaultname = "Class${Number}.cs"
language = "C#"/>
<Description>${res:Templates.File.#Develop.MenuCommand.Description}</Description>
<Description>${res:Templates.File.SharpDevelop.MenuCommand.Description}</Description>
<!--
Special new file templates:

4
data/templates/file/SharpDevelop/ExampleOptionPanel.xft

@ -2,13 +2,13 @@ @@ -2,13 +2,13 @@
<Template author="Mike Krueger" version="1.0">
<Config
name = "${res:Templates.File.#Develop.OptionPanel.Name}"
name = "${res:Templates.File.SharpDevelop.OptionPanel.Name}"
icon = "C#.File.FullFile"
category = "#Develop"
defaultname = "NewOptionPanel${Number}.cs"
language = "C#"/>
<Description>${res:Templates.File.#Develop.OptionPanel.Description}</Description>
<Description>${res:Templates.File.SharpDevelop.OptionPanel.Description}</Description>
<!--
Special new file templates:

4
data/templates/file/SharpDevelop/ExamplePad.xft

@ -2,13 +2,13 @@ @@ -2,13 +2,13 @@
<Template author="Mike Krueger" version="1.0">
<Config
name = "${res:Templates.File.#Develop.SimplePad.Name}"
name = "${res:Templates.File.SharpDevelop.SimplePad.Name}"
icon = "C#.File.FullFile"
category = "#Develop"
defaultname = "NewPad${Number}.cs"
language = "C#"/>
<Description>${res:Templates.File.#Develop.SimplePad.Description}</Description>
<Description>${res:Templates.File.SharpDevelop.SimplePad.Description}</Description>
<!--
Special new file templates:

4
data/templates/file/SharpDevelop/ExampleView.xft

@ -2,13 +2,13 @@ @@ -2,13 +2,13 @@
<Template author="Mike Krueger" version="1.0">
<Config
name = "${res:Templates.File.#Develop.View.Name}"
name = "${res:Templates.File.SharpDevelop.View.Name}"
icon = "C#.File.FullFile"
category = "#Develop"
defaultname = "View${Number}.cs"
language = "C#"/>
<Description>${res:Templates.File.#Develop.View.Description}</Description>
<Description>${res:Templates.File.SharpDevelop.View.Description}</Description>
<!--
Special new file templates:

4
data/templates/file/SharpDevelop/SimpleCommand.xft

@ -2,13 +2,13 @@ @@ -2,13 +2,13 @@
<Template author="Mike Krueger" version="1.0">
<Config
name = "${res:Templates.File.#Develop.SimpleCommand.Name}"
name = "${res:Templates.File.SharpDevelop.SimpleCommand.Name}"
icon = "C#.File.FullFile"
category = "#Develop"
defaultname = "SimpleCommand${Number}.cs"
language = "C#"/>
<Description>${res:Templates.File.#Develop.SimpleCommand.Description}</Description>
<Description>${res:Templates.File.SharpDevelop.SimpleCommand.Description}</Description>
<Files>
<File name="${FullName}" language="C#"><![CDATA[${StandardHeader.C#}

2
src/AddIns/Analysis/CodeAnalysis/CodeAnalysis.addin

@ -34,7 +34,7 @@ @@ -34,7 +34,7 @@
<Path name = "/SharpDevelop/Workbench/MainMenu/Analysis">
<Condition name = "ProjectActive" activeproject="*" action="Disable">
<MenuItem id = "CheckWithFxCop"
label = "Check current project with FxCop"
label = "${res:ICSharpCode.CodeAnalysis.CheckProjectWithFxCop}"
class = "ICSharpCode.CodeAnalysis.CheckCurrentProjectCommand"/>
</Condition>
</Path>

2
src/AddIns/Analysis/SourceAnalysis/SourceAnalysis.addin

@ -35,7 +35,7 @@ @@ -35,7 +35,7 @@
<Condition name = "ProjectActive" activeproject="*" />
</And>
<MenuItem id = "CheckWithStyleCop"
label = "Check current project with StyleCop"
label = "${res:AddIns.SourceAnalysis.CheckProjectWithStyleCop}"
class = "MattEverson.SourceAnalysis.CheckCurrentProjectCommand"/>
</ComplexCondition>
</Path>

14
src/AddIns/DisplayBindings/AvalonEdit.AddIn/Src/NewLineConsistencyCheck.cs

@ -74,11 +74,11 @@ namespace ICSharpCode.AvalonEdit.AddIn @@ -74,11 +74,11 @@ namespace ICSharpCode.AvalonEdit.AddIn
{
if (editor.Document == null)
return; // editor was disposed
// TODO: translate
groupBox = new GroupBox();
groupBox.Background = SystemColors.WindowBrush;
groupBox.Foreground = SystemColors.WindowTextBrush;
groupBox.Header = "Inconsistent NewLines";
groupBox.Header = ResourceService.GetString("AddIns.AvalonEdit.InconsistentNewlines.Header");
groupBox.HorizontalAlignment = HorizontalAlignment.Right;
groupBox.VerticalAlignment = VerticalAlignment.Bottom;
groupBox.MaxWidth = 300;
@ -95,13 +95,17 @@ namespace ICSharpCode.AvalonEdit.AddIn @@ -95,13 +95,17 @@ namespace ICSharpCode.AvalonEdit.AddIn
Content = ResourceService.GetString("Dialog.Options.IDEOptions.LoadSaveOptions.UnixRadioButton")
};
normalizeButton = new Button { Content = "Normalize" };
normalizeButton = new Button { Content = ResourceService.GetString("AddIns.AvalonEdit.InconsistentNewlines.Normalize") };
cancelButton = new Button { Content = ResourceService.GetString("Global.CancelButtonText") };
groupBox.Content = new StackPanel {
Children = {
new TextBlock { Text = "This file contains inconsistent newlines.", TextWrapping = TextWrapping.WrapWithOverflow },
windows, unix,
new TextBlock {
Text = ResourceService.GetString("AddIns.AvalonEdit.InconsistentNewlines.Description"),
TextWrapping = TextWrapping.WrapWithOverflow
},
windows,
unix,
new StackPanel {
Margin = new Thickness(0, 2, 0, 0),
Orientation = Orientation.Horizontal,

Loading…
Cancel
Save