Browse Source

fixed some localization issues in Profiler options panels

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4890 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts 3.1-RC2
Siegfried Pammer 16 years ago
parent
commit
9e12c504eb
  1. 2
      src/AddIns/Misc/Profiler/Frontend/AddIn/ICSharpCode.Profiler.AddIn.addin
  2. 20
      src/AddIns/Misc/Profiler/Frontend/AddIn/Src/OptionsPanels/GeneralOptionsPanel.xaml

2
src/AddIns/Misc/Profiler/Frontend/AddIn/ICSharpCode.Profiler.AddIn.addin

@ -81,7 +81,7 @@ @@ -81,7 +81,7 @@
extensions = "*.sdps"/>
</Path>
<Path name="/SharpDevelop/Dialogs/OptionsDialog">
<Path name="/SharpDevelop/Dialogs/OptionsDialog/ToolsOptions">
<DialogPanel id = "Profiling"
label = "${res:AddIns.Profiler.Options.Title}"
class = "ICSharpCode.Profiler.AddIn.OptionsPanels.General"

20
src/AddIns/Misc/Profiler/Frontend/AddIn/Src/OptionsPanels/GeneralOptionsPanel.xaml

@ -9,18 +9,20 @@ @@ -9,18 +9,20 @@
Orientation="Vertical">
<CheckBox Margin="3"
Name="chkEnableDC"
VerticalAlignment="Top"
Content="{sd:Localize AddIns.Profiler.Options.General.DataCollection.EnableDC}" />
VerticalAlignment="Top">
<TextBlock TextWrapping="Wrap" Text="{sd:Localize AddIns.Profiler.Options.General.DataCollection.EnableDC}" />
</CheckBox>
<CheckBox Margin="3"
Name="chkEnableDCAtStartup"
VerticalAlignment="Top">
<TextBlock TextWrapping="Wrap" Text="{sd:Localize AddIns.Profiler.Options.General.DataCollection.EnableDCAtStartup}" />
</CheckBox>
<Label Margin="3"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Content="{sd:Localize AddIns.Profiler.Options.General.DataCollection.EnableDCAtStartup}" />
Content="{sd:Localize AddIns.Profiler.Options.General.DataCollection.SizeOfStorageDescription}" />
<StackPanel Margin="3"
Orientation="Horizontal">
<Label Margin="3"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Content="{sd:Localize AddIns.Profiler.Options.General.DataCollection.SizeOfStorageDescription}" />
<Slider Margin="3" Width="100"
Name="slSharedMemorySize"
IsDirectionReversed="False"
@ -33,9 +35,9 @@ @@ -33,9 +35,9 @@
IsSnapToTickEnabled="True"
VerticalAlignment="Top" />
<TextBlock Margin="3"
HorizontalAlignment="Right"
HorizontalAlignment="Left"
Text="{Binding Value, ElementName=slSharedMemorySize, StringFormat=\{0\} MB}"
VerticalAlignment="Top" />
VerticalAlignment="Center" />
</StackPanel>
<CheckBox Margin="3"
Name="chkDoNotProfileNetInternals"

Loading…
Cancel
Save