Browse Source

working on #561: Add missing resource strings

pull/567/head
Siegfried Pammer 11 years ago
parent
commit
b30ac81066
  1. 42
      data/resources/StringResources.resx
  2. 2
      src/AddIns/BackendBindings/CSharpBinding/Project/CSharpBinding.addin
  3. 6
      src/AddIns/BackendBindings/CSharpBinding/Project/Src/FormattingStrategy/FormattingOptionBinding.cs
  4. 8
      src/AddIns/BackendBindings/CSharpBinding/Project/Src/Refactoring/SearchForIssuesDialog.xaml
  5. 7
      src/AddIns/Debugger/Debugger.AddIn/Service/ExecuteProcessWindow.xaml
  6. 2
      src/AddIns/Debugger/Debugger.AddIn/Visualizers/GridVisualizer/ColumnPicker.xaml
  7. 2
      src/AddIns/DisplayBindings/AvalonEdit.AddIn/Src/Options/HighlightingOptions.xaml
  8. 12
      src/Main/Base/Project/ICSharpCode.SharpDevelop.addin
  9. 6
      src/Main/Base/Project/ICSharpCode.SharpDevelop.csproj
  10. 14
      src/Main/Base/Project/Src/Gui/Dialogs/OptionPanels/IDEOptions/TaskListOptionsPanel.xaml
  11. 6
      src/Main/Base/Project/Src/Gui/Dialogs/OptionPanels/IDEOptions/TaskListOptionsPanel.xaml.cs
  12. 2
      src/Main/Base/Project/Src/Gui/Dialogs/OptionPanels/ProjectOptions/BuildOutput.xaml
  13. 4
      src/Main/Base/Project/Src/Gui/Dialogs/OptionPanels/ProjectOptions/ProjectCustomToolOptionsPanel.xaml
  14. 8
      src/Main/ICSharpCode.Core.Presentation/Menu/MenuService.cs

42
data/resources/StringResources.resx

@ -8254,4 +8254,46 @@ a line break</value>
<value>Update cursor ...</value> <value>Update cursor ...</value>
<comment>Text for the button that makes it possible to update the stored cursor</comment> <comment>Text for the button that makes it possible to update the stored cursor</comment>
</data> </data>
<data name="XML.MainMenu.SearchMenu.SearchForIssues" xml:space="preserve">
<value>Search For Issues...</value>
</data>
<data name="Dialog.SearchForIssues.AutoFix" xml:space="preserve">
<value>Automatically fix issues if possible</value>
</data>
<data name="Dialog.Options.ServicesReferencesText" xml:space="preserve">
<value>Service References</value>
</data>
<data name="XML.TextAreaContextMenu.Reformat" xml:space="preserve">
<value>Reformat</value>
</data>
<data name="Global.Reset" xml:space="preserve">
<value>Reset</value>
</data>
<data name="Dialog.ProjectOptions.CustomTool.RunOnBuild" xml:space="preserve">
<value>Run on Build</value>
</data>
<data name="Dialog.ProjectOptions.CustomTool.Filenames" xml:space="preserve">
<value>Filenames:</value>
</data>
<data name="Debugger.Visualizers.ColumnPickerLabel" xml:space="preserve">
<value>Columns:</value>
</data>
<data name="Global.Shortcuts.Ctrl" xml:space="preserve">
<value>Ctrl</value>
</data>
<data name="Global.Shortcuts.Shift" xml:space="preserve">
<value>Shift</value>
</data>
<data name="Global.Shortcuts.Alt" xml:space="preserve">
<value>Alt</value>
</data>
<data name="Global.Shortcuts.Win" xml:space="preserve">
<value>Win</value>
</data>
<data name="AddIns.Debugger.Console.Clear" xml:space="preserve">
<value>Clear console</value>
</data>
<data name="AddIns.Debugger.Console.DeleteHistory" xml:space="preserve">
<value>Delete history</value>
</data>
</root> </root>

2
src/AddIns/BackendBindings/CSharpBinding/Project/CSharpBinding.addin

@ -165,7 +165,7 @@
<Path path = "/SharpDevelop/Workbench/MainMenu/Search"> <Path path = "/SharpDevelop/Workbench/MainMenu/Search">
<MenuItem id = "SearchForIssues" <MenuItem id = "SearchForIssues"
label="Search For Issues..." label="${res:XML.MainMenu.SearchMenu.SearchForIssues}"
class="CSharpBinding.Refactoring.SearchForIssuesCommand"/> class="CSharpBinding.Refactoring.SearchForIssuesCommand"/>
</Path> </Path>

6
src/AddIns/BackendBindings/CSharpBinding/Project/Src/FormattingStrategy/FormattingOptionBinding.cs

@ -22,6 +22,7 @@ using System.Windows;
using System.Windows.Controls; using System.Windows.Controls;
using System.Windows.Controls.Primitives; using System.Windows.Controls.Primitives;
using ICSharpCode.NRefactory.CSharp; using ICSharpCode.NRefactory.CSharp;
using ICSharpCode.SharpDevelop;
using CSharpBinding.OptionPanels; using CSharpBinding.OptionPanels;
namespace CSharpBinding.FormattingStrategy namespace CSharpBinding.FormattingStrategy
@ -143,9 +144,8 @@ namespace CSharpBinding.FormattingStrategy
static void FillBoolComboValues(ComboBox comboBox) static void FillBoolComboValues(ComboBox comboBox)
{ {
// TODO Add located resources! comboBox.Items.Add(new ComboBoxItem { Content = SD.ResourceService.GetString("Global.Yes"), Tag = true });
comboBox.Items.Add(new ComboBoxItem { Content = "Yes", Tag = true }); comboBox.Items.Add(new ComboBoxItem { Content = SD.ResourceService.GetString("Global.No"), Tag = false });
comboBox.Items.Add(new ComboBoxItem { Content = "No", Tag = false });
} }
static void FillIntComboValues(ComboBox comboBox) static void FillIntComboValues(ComboBox comboBox)

8
src/AddIns/BackendBindings/CSharpBinding/Project/Src/Refactoring/SearchForIssuesDialog.xaml

@ -11,7 +11,7 @@
WindowStartupLocation="CenterOwner" WindowStartupLocation="CenterOwner"
Closing="Window_Closing" Closing="Window_Closing"
MinHeight="250" MinWidth="200" MinHeight="250" MinWidth="200"
Height="450" Width="400" Title="Search For Issues"> Height="450" Width="400" Title="{core:Localize XML.MainMenu.SearchMenu.SearchForIssues}">
<Grid Margin="6"> <Grid Margin="6">
<Grid.RowDefinitions> <Grid.RowDefinitions>
<RowDefinition Height="Auto" /> <RowDefinition Height="Auto" />
@ -24,15 +24,15 @@
<ColumnDefinition Width="*" /> <ColumnDefinition Width="*" />
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<Label Content="Search In:" /> <Label Content="{core:Localize Dialog.NewProject.SearchReplace.SearchIn}" />
<widgets:RadioButtonGroup Name="searchInRBG" Margin="0,6,0,0" sd:EnumBinding.EnumType="local:SearchForIssuesTarget" /> <widgets:RadioButtonGroup Name="searchInRBG" Margin="0,6,0,0" sd:EnumBinding.EnumType="local:SearchForIssuesTarget" />
</StackPanel> </StackPanel>
<Label Content="Issues:" Grid.Row="1" HorizontalAlignment="Left" /> <Label Content="Issues:" Grid.Row="1" HorizontalAlignment="Left" />
<tv:SharpTreeView Name="treeView" Grid.Row="2" Margin="4,0,4,4" /> <tv:SharpTreeView Name="treeView" Grid.Row="2" Margin="4,0,4,4" />
<CheckBox Name="fixCheckBox" Grid.Row="3" Margin="8,0,0,0" Checked="FixCheckBox_Checked" Unchecked="FixCheckBox_Unchecked" <CheckBox Name="fixCheckBox" Grid.Row="3" Margin="8,0,0,0" Checked="FixCheckBox_Checked" Unchecked="FixCheckBox_Unchecked"
HorizontalAlignment="Left" Content="Automatically fix issues if possible" /> HorizontalAlignment="Left" Content="{core:Localize Dialog.SearchForIssues.AutoFix}" />
<StackPanel Grid.Row="4" Margin="4" HorizontalAlignment="Right" Orientation="Horizontal"> <StackPanel Grid.Row="4" Margin="4" HorizontalAlignment="Right" Orientation="Horizontal">
<Button Content="Search" Style="{x:Static core:GlobalStyles.ButtonStyle}" Name="searchButton" IsDefault="True" Click="searchButton_Click" Margin="0,0,5,0" /> <Button Content="{core:Localize MainWindow.Windows.ClassBrowser.CommitSearch.ToolTip}" Style="{x:Static core:GlobalStyles.ButtonStyle}" Name="searchButton" IsDefault="True" Click="searchButton_Click" Margin="0,0,5,0" />
<Button Content="{core:Localize Global.CloseButtonText}" Style="{x:Static core:GlobalStyles.ButtonStyle}" IsCancel="True" /> <Button Content="{core:Localize Global.CloseButtonText}" Style="{x:Static core:GlobalStyles.ButtonStyle}" IsCancel="True" />
</StackPanel> </StackPanel>
</Grid> </Grid>

7
src/AddIns/Debugger/Debugger.AddIn/Service/ExecuteProcessWindow.xaml

@ -1,6 +1,9 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Window <Window
x:Class="ICSharpCode.SharpDevelop.Services.ExecuteProcessWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Class="ICSharpCode.SharpDevelop.Services.ExecuteProcessWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:core="http://icsharpcode.net/sharpdevelop/core"
Title="Select process to debug..." Title="Select process to debug..."
WindowStartupLocation="CenterOwner" WindowStartupLocation="CenterOwner"
WindowState="Normal" WindowState="Normal"
@ -105,7 +108,7 @@
<Button <Button
DockPanel.Dock="Right" DockPanel.Dock="Right"
x:Name="CancelButton" x:Name="CancelButton"
Content="Cancel" Content="{core:Localize Global.CancelButtonText}"
Click="CancelButton_Click" Click="CancelButton_Click"
Width="100" /> Width="100" />
</DockPanel> </DockPanel>

2
src/AddIns/Debugger/Debugger.AddIn/Visualizers/GridVisualizer/ColumnPicker.xaml

@ -165,7 +165,7 @@
IsHitTestVisible="false" IsHitTestVisible="false"
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"
ContentStringFormat="{TemplateBinding SelectionBoxItemStringFormat}" ContentStringFormat="{TemplateBinding SelectionBoxItemStringFormat}"
Content="Columns" /> Content="{core:Localize Debugger.Visualizers.ColumnPickerLabel}" />
</Grid> </Grid>
<ControlTemplate.Triggers> <ControlTemplate.Triggers>
<Trigger Property="HasDropShadow" SourceName="PART_Popup" Value="true"> <Trigger Property="HasDropShadow" SourceName="PART_Popup" Value="true">

2
src/AddIns/DisplayBindings/AvalonEdit.AddIn/Src/Options/HighlightingOptions.xaml

@ -48,7 +48,7 @@
Content="{core:Localize Dialog.HighlightingEditor.ColorDlg.Underline}"/> Content="{core:Localize Dialog.HighlightingEditor.ColorDlg.Underline}"/>
<Button Name="resetButton" IsEnabled="{Binding IsCustomized}" HorizontalAlignment="Left" <Button Name="resetButton" IsEnabled="{Binding IsCustomized}" HorizontalAlignment="Left"
Click="ResetButtonClick" Style="{x:Static core:GlobalStyles.ButtonStyle}" Margin="0,4" Click="ResetButtonClick" Style="{x:Static core:GlobalStyles.ButtonStyle}" Margin="0,4"
Content="Reset" /> Content="{core:Localize Global.Reset}" />
<Label Content="{core:StringParse ${res:Dialog.HighlightingEditor.SampleText}:}" /> <Label Content="{core:StringParse ${res:Dialog.HighlightingEditor.SampleText}:}" />
<core:RestrictDesiredSize Height="50" MinWidth="200"> <core:RestrictDesiredSize Height="50" MinWidth="200">
<avalonedit:TextEditor Name="textEditor" IsReadOnly="True" /> <avalonedit:TextEditor Name="textEditor" IsReadOnly="True" />

12
src/Main/Base/Project/ICSharpCode.SharpDevelop.addin

@ -1001,7 +1001,7 @@
class = "ICSharpCode.SharpDevelop.Dom.ClassBrowser.PermanentlyAddModuleToWorkspaceCommand"/> class = "ICSharpCode.SharpDevelop.Dom.ClassBrowser.PermanentlyAddModuleToWorkspaceCommand"/>
</Condition> </Condition>
<MenuItem id = "RemoveAssembly" <MenuItem id = "RemoveAssembly"
label = "Remove" label = "${res:Global.RemoveButtonText}"
icon = "Icons.16x16.DeleteIcon" icon = "Icons.16x16.DeleteIcon"
class = "ICSharpCode.SharpDevelop.Dom.ClassBrowser.RemoveAssemblyCommand"/> class = "ICSharpCode.SharpDevelop.Dom.ClassBrowser.RemoveAssemblyCommand"/>
</Path> </Path>
@ -1313,7 +1313,7 @@
<OptionPanel id = "TaskListOptions" <OptionPanel id = "TaskListOptions"
label = "${res:Dialog.Options.IDEOptions.TaskListOptions.PanelName}" label = "${res:Dialog.Options.IDEOptions.TaskListOptions.PanelName}"
class = "ICSharpCode.SharpDevelop.Gui.OptionPanels.TaskListXaml"/> class = "ICSharpCode.SharpDevelop.Gui.OptionPanels.TaskListOptionsPanel"/>
<OptionPanel id = "OutputWindowOptions" <OptionPanel id = "OutputWindowOptions"
@ -1346,7 +1346,7 @@
class = "ICSharpCode.SharpDevelop.Gui.OptionPanels.ExternalToolPanel"/> class = "ICSharpCode.SharpDevelop.Gui.OptionPanels.ExternalToolPanel"/>
<OptionPanel id = "ServiceReferences" <OptionPanel id = "ServiceReferences"
label = "Service References" label = "${res:Dialog.Options.ServicesReferencesText}"
class = "ICSharpCode.SharpDevelop.Gui.OptionPanels.ServiceReference.ServiceReferenceOptionsPanel"/> class = "ICSharpCode.SharpDevelop.Gui.OptionPanels.ServiceReference.ServiceReferenceOptionsPanel"/>
</OptionPanel> </OptionPanel>
</Path> </Path>
@ -2078,7 +2078,7 @@
shortcut = "Control|I" shortcut = "Control|I"
class = "ICSharpCode.SharpDevelop.Editor.Commands.IndentSelection" /> class = "ICSharpCode.SharpDevelop.Editor.Commands.IndentSelection" />
<MenuItem id = "Reformat" <MenuItem id = "Reformat"
label = "Reformat" label = "${res:XML.TextAreaContextMenu.Reformat}"
shortcut = "Control|Shift|I" shortcut = "Control|Shift|I"
class = "ICSharpCode.SharpDevelop.Editor.Commands.ReformatSelection" /> class = "ICSharpCode.SharpDevelop.Editor.Commands.ReformatSelection" />
</Path> </Path>
@ -2373,11 +2373,11 @@
<Path name="/SharpDevelop/Pads/CommonConsole/ToolBar"> <Path name="/SharpDevelop/Pads/CommonConsole/ToolBar">
<ToolbarItem id = "ClearConsole" <ToolbarItem id = "ClearConsole"
tooltip = "Clear console" tooltip = "${res:AddIns.Debugger.Console.ClearConsole}"
class = "ICSharpCode.SharpDevelop.Gui.ClearConsoleCommand" class = "ICSharpCode.SharpDevelop.Gui.ClearConsoleCommand"
icon = "OutputPad.Toolbar.ClearOutputWindow" /> icon = "OutputPad.Toolbar.ClearOutputWindow" />
<ToolbarItem id = "DeleteHistory" <ToolbarItem id = "DeleteHistory"
tooltip = "Delete history" tooltip = "${res:AddIns.Debugger.Console.DeleteHistory}"
class = "ICSharpCode.SharpDevelop.Gui.DeleteHistoryCommand" class = "ICSharpCode.SharpDevelop.Gui.DeleteHistoryCommand"
icon = "Icons.16x16.DeleteHistory" /> icon = "Icons.16x16.DeleteHistory" />
<ToolbarItem type="Separator" /> <ToolbarItem type="Separator" />

6
src/Main/Base/Project/ICSharpCode.SharpDevelop.csproj

@ -444,8 +444,8 @@
<DependentUpon>SelectStylePanel.xaml</DependentUpon> <DependentUpon>SelectStylePanel.xaml</DependentUpon>
<SubType>Code</SubType> <SubType>Code</SubType>
</Compile> </Compile>
<Compile Include="Src\Gui\Dialogs\OptionPanels\IDEOptions\TaskListOptionsl.xaml.cs"> <Compile Include="Src\Gui\Dialogs\OptionPanels\IDEOptions\TaskListOptionsPanel.xaml.cs">
<DependentUpon>TaskListOptionsl.xaml</DependentUpon> <DependentUpon>TaskListOptionsPanel.xaml</DependentUpon>
<SubType>Code</SubType> <SubType>Code</SubType>
</Compile> </Compile>
<Compile Include="Src\Gui\Dialogs\OptionPanels\ProjectOptions\ApplicationSettings.xaml.cs"> <Compile Include="Src\Gui\Dialogs\OptionPanels\ProjectOptions\ApplicationSettings.xaml.cs">
@ -901,7 +901,7 @@
<Page Include="Src\Gui\Dialogs\OptionPanels\IDEOptions\CodeGenerationPanel.xaml" /> <Page Include="Src\Gui\Dialogs\OptionPanels\IDEOptions\CodeGenerationPanel.xaml" />
<Page Include="Src\Gui\Dialogs\OptionPanels\IDEOptions\EditStandardHeaderPanel.xaml" /> <Page Include="Src\Gui\Dialogs\OptionPanels\IDEOptions\EditStandardHeaderPanel.xaml" />
<Page Include="Src\Gui\Dialogs\OptionPanels\IDEOptions\SelectStylePanel.xaml" /> <Page Include="Src\Gui\Dialogs\OptionPanels\IDEOptions\SelectStylePanel.xaml" />
<Page Include="Src\Gui\Dialogs\OptionPanels\IDEOptions\TaskListOptionsl.xaml" /> <Page Include="Src\Gui\Dialogs\OptionPanels\IDEOptions\TaskListOptionsPanel.xaml" />
<Page Include="Src\Gui\Dialogs\OptionPanels\OutputWindowOptionsPanel.xaml" /> <Page Include="Src\Gui\Dialogs\OptionPanels\OutputWindowOptionsPanel.xaml" />
<Page Include="Src\Gui\Dialogs\OptionPanels\ProjectOptions\ApplicationSettings.xaml" /> <Page Include="Src\Gui\Dialogs\OptionPanels\ProjectOptions\ApplicationSettings.xaml" />
<Page Include="Src\Gui\Dialogs\OptionPanels\ProjectOptions\BuildAdvanced.xaml" /> <Page Include="Src\Gui\Dialogs\OptionPanels\ProjectOptions\BuildAdvanced.xaml" />

14
src/Main/Base/Project/Src/Gui/Dialogs/OptionPanels/IDEOptions/TaskListOptionsl.xaml → src/Main/Base/Project/Src/Gui/Dialogs/OptionPanels/IDEOptions/TaskListOptionsPanel.xaml

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<gui:OptionPanel <gui:OptionPanel
x:Class="ICSharpCode.SharpDevelop.Gui.OptionPanels.TaskListXaml" x:Class="ICSharpCode.SharpDevelop.Gui.OptionPanels.TaskListOptionsPanel"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:core="http://icsharpcode.net/sharpdevelop/core" xmlns:core="http://icsharpcode.net/sharpdevelop/core"
xmlns:sd="clr-namespace:ICSharpCode.SharpDevelop" xmlns:sd="clr-namespace:ICSharpCode.SharpDevelop"
@ -9,7 +9,7 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:ICSharpCode.SharpDevelop.Gui.OptionPanels"> xmlns:local="clr-namespace:ICSharpCode.SharpDevelop.Gui.OptionPanels">
<GroupBox <GroupBox
Header="Comment Tags"> Header="{core:Localize Dialog.Options.IDEOptions.TaskListOptions.CommentTagsGroupBox}">
<Grid <Grid
Margin="5"> Margin="5">
<Grid.RowDefinitions> <Grid.RowDefinitions>
@ -31,7 +31,7 @@
<ColumnDefinition></ColumnDefinition> <ColumnDefinition></ColumnDefinition>
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<TextBlock <TextBlock
Text="Token List"></TextBlock> Text="{core:Localize Dialog.Options.IDEOptions.TaskListOptions.TokenListLabel}"></TextBlock>
<ListView <ListView
x:Name="listView" x:Name="listView"
Margin="5,0,5,5" Margin="5,0,5,5"
@ -39,7 +39,7 @@
Grid.RowSpan="6" Grid.RowSpan="6"
SelectionChanged="ListView_SelectionChanged"></ListView> SelectionChanged="ListView_SelectionChanged"></ListView>
<TextBlock <TextBlock
Text="Name" Text="{core:Localize Dialog.Options.IDEOptions.TaskListOptions.NameLabel}"
Margin="5,0,0,0" Margin="5,0,0,0"
Grid.Column="1"></TextBlock> Grid.Column="1"></TextBlock>
<TextBox <TextBox
@ -48,14 +48,14 @@
Grid.Column="1" Grid.Column="1"
Grid.Row="1"></TextBox> Grid.Row="1"></TextBox>
<Button <Button
Content="Add" Content="{core:Localize Global.AddButtonText}"
Click="AddButton_Click" Click="AddButton_Click"
Margin="5,2,5, 3" Margin="5,2,5, 3"
Grid.Row="3" Grid.Row="3"
Grid.Column="1"></Button> Grid.Column="1"></Button>
<Button <Button
x:Name="changeBtn" x:Name="changeBtn"
Content="Change" Content="{core:Localize Global.ChangeButtonText}"
IsEnabled="False" IsEnabled="False"
Click="ChangeBtn_Click" Click="ChangeBtn_Click"
Grid.Row="4" Grid.Row="4"
@ -65,7 +65,7 @@
x:Name="removeBtn" x:Name="removeBtn"
Click="RemoveBtn_Click" Click="RemoveBtn_Click"
Margin="5,2,5,5" Margin="5,2,5,5"
Content="Remove" Content="{core:Localize Global.RemoveButtonText}"
Grid.Row="5" Grid.Row="5"
Grid.Column="1" Grid.Column="1"
IsEnabled="False"></Button> IsEnabled="False"></Button>

6
src/Main/Base/Project/Src/Gui/Dialogs/OptionPanels/IDEOptions/TaskListOptionsl.xaml.cs → src/Main/Base/Project/Src/Gui/Dialogs/OptionPanels/IDEOptions/TaskListOptionsPanel.xaml.cs

@ -26,11 +26,11 @@ using ICSharpCode.SharpDevelop.Parser;
namespace ICSharpCode.SharpDevelop.Gui.OptionPanels namespace ICSharpCode.SharpDevelop.Gui.OptionPanels
{ {
/// <summary> /// <summary>
/// Interaction logic for TaskListXaml.xaml /// Interaction logic for TaskListOptionsPanel.xaml
/// </summary> /// </summary>
public partial class TaskListXaml : OptionPanel public partial class TaskListOptionsPanel : OptionPanel
{ {
public TaskListXaml() public TaskListOptionsPanel()
{ {
InitializeComponent(); InitializeComponent();
foreach (var token in SD.ParserService.TaskListTokens) { foreach (var token in SD.ParserService.TaskListTokens) {

2
src/Main/Base/Project/Src/Gui/Dialogs/OptionPanels/ProjectOptions/BuildOutput.xaml

@ -69,7 +69,7 @@
IsEnabled="False"></ComboBox> IsEnabled="False"></ComboBox>
<Button Margin="3,0,3,0" VerticalAlignment="Center" <Button Margin="3,0,3,0" VerticalAlignment="Center"
Content="Change" Content="{core:Localize Global.ChangeButtonText}"
Command="{Binding UpdateProjectCommand}" Command="{Binding UpdateProjectCommand}"
Style="{x:Static core:GlobalStyles.ButtonStyle}"></Button> Style="{x:Static core:GlobalStyles.ButtonStyle}"></Button>
</StackPanel> </StackPanel>

4
src/Main/Base/Project/Src/Gui/Dialogs/OptionPanels/ProjectOptions/ProjectCustomToolOptionsPanel.xaml

@ -17,12 +17,12 @@
<CheckBox <CheckBox
Margin="10, 20, 10, 5" Margin="10, 20, 10, 5"
IsChecked="{Binding RunCustomToolOnBuild}" IsChecked="{Binding RunCustomToolOnBuild}"
Content="Run on Build" /> Content="{core:Localize Dialog.ProjectOptions.CustomTool.RunOnBuild}" />
<Label <Label
Margin="5, 5, 5, 0" Margin="5, 5, 5, 0"
Grid.Row="1" Grid.Row="1"
Content="Filenames:" /> Content="{core:Localize Dialog.ProjectOptions.CustomTool.Filenames}" />
<TextBox <TextBox
Margin="10, 0" Margin="10, 0"

8
src/Main/ICSharpCode.Core.Presentation/Menu/MenuService.cs

@ -266,13 +266,13 @@ namespace ICSharpCode.Core.Presentation
string text = KeyCodeConversion.KeyToUnicode(kg.Key.ToKeys()); string text = KeyCodeConversion.KeyToUnicode(kg.Key.ToKeys());
if (text != null && !text.Any(ch => char.IsWhiteSpace(ch))) { if (text != null && !text.Any(ch => char.IsWhiteSpace(ch))) {
if ((kg.Modifiers & ModifierKeys.Alt) == ModifierKeys.Alt) if ((kg.Modifiers & ModifierKeys.Alt) == ModifierKeys.Alt)
text = "Alt+" + text; text = StringParser.Format("${res:Global.Shortcuts.Alt}+{0}", text);
if ((kg.Modifiers & ModifierKeys.Shift) == ModifierKeys.Shift) if ((kg.Modifiers & ModifierKeys.Shift) == ModifierKeys.Shift)
text = "Shift+" + text; text = StringParser.Format("${res:Global.Shortcuts.Shift}+{0}", text);
if ((kg.Modifiers & ModifierKeys.Control) == ModifierKeys.Control) if ((kg.Modifiers & ModifierKeys.Control) == ModifierKeys.Control)
text = "Ctrl+" + text; text = StringParser.Format("${res:Global.Shortcuts.Ctrl}+{0}", text);
if ((kg.Modifiers & ModifierKeys.Windows) == ModifierKeys.Windows) if ((kg.Modifiers & ModifierKeys.Windows) == ModifierKeys.Windows)
text = "Win+" + text; text = StringParser.Format("${res:Global.Shortcuts.Win}+{0}", text);
return text; return text;
} }
return old; return old;

Loading…
Cancel
Save