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

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

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

Loading…
Cancel
Save