Browse Source

- updated English translation

- updated German translation
- fixed small bug in QueryView
- fixed localization issues in GeneralOptionsPanel

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4886 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Siegfried Pammer 16 years ago
parent
commit
75cec19ac1
  1. BIN
      data/resources/StringResources.de.resources
  2. BIN
      data/resources/StringResources.es-mx.resources
  3. BIN
      data/resources/StringResources.es.resources
  4. BIN
      data/resources/StringResources.fr.resources
  5. BIN
      data/resources/StringResources.kr.resources
  6. BIN
      data/resources/StringResources.nl.resources
  7. 22
      src/AddIns/Misc/Profiler/Frontend/AddIn/ICSharpCode.Profiler.AddIn.addin
  8. 2
      src/AddIns/Misc/Profiler/Frontend/AddIn/Src/OptionsPanels/GeneralOptionsPanel.xaml
  9. 11
      src/AddIns/Misc/Profiler/Frontend/Controls/QueryView.xaml.cs
  10. BIN
      src/Main/StartUp/Project/Resources/StringResources.resources

BIN
data/resources/StringResources.de.resources

Binary file not shown.

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.fr.resources

Binary file not shown.

BIN
data/resources/StringResources.kr.resources

Binary file not shown.

BIN
data/resources/StringResources.nl.resources

Binary file not shown.

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

@ -44,46 +44,46 @@ @@ -44,46 +44,46 @@
<Path name="/AddIns/Profiler/QueryView/ContextMenu">
<MenuItem
id="GoToDefinition"
label="{res:AddIns.Profiler.ProfilingView.ContextMenu.GoToDefinition}"
label="${res:AddIns.Profiler.ProfilingView.ContextMenu.GoToDefinition}"
class="ICSharpCode.Profiler.AddIn.Commands.GoToDefinition" />
<MenuItem
id="FindReferences"
label="{res:SharpDevelop.Refactoring.FindReferences}"
label="${res:SharpDevelop.Refactoring.FindReferences}"
class="ICSharpCode.Profiler.AddIn.Commands.FindReferences" />
<MenuItem type="Separator" id="Separator2" />
<MenuItem
id="SetAsRoot"
label="{res:AddIns.Profiler.ProfilingView.ContextMenu.SetAsRoot}"
label="${res:AddIns.Profiler.ProfilingView.ContextMenu.SetAsRoot}"
class="ICSharpCode.Profiler.AddIn.Commands.SetAsRoot" />
<MenuItem
id="FindCallsOfSelected"
label="{res:AddIns.Profiler.ProfilingView.ContextMenu.FindCallsOfSelected}"
label="${res:AddIns.Profiler.ProfilingView.ContextMenu.FindCallsOfSelected}"
class="ICSharpCode.Profiler.AddIn.Commands.FindCallsOfSelected" />
<MenuItem
id="ShowFunctions"
label="{res:AddIns.Profiler.ProfilingView.ContextMenu.ShowFunctions}"
label="${res:AddIns.Profiler.ProfilingView.ContextMenu.ShowFunctions}"
class="ICSharpCode.Profiler.AddIn.Commands.ShowFunctions" />
<MenuItem type="Separator" id="Separator1" />
<MenuItem
id="CopyStacktrace"
label="{res:AddIns.Profiler.ProfilingView.ContextMenu.CopyStacktrace}"
label="${res:AddIns.Profiler.ProfilingView.ContextMenu.CopyStacktrace}"
class="ICSharpCode.Profiler.AddIn.Commands.CopyStacktrace" />
<MenuItem
id="CopySelectedData"
label="{res:AddIns.Profiler.ProfilingView.ContextMenu.CopySelectedData}"
label="${res:AddIns.Profiler.ProfilingView.ContextMenu.CopySelectedData}"
class="ICSharpCode.Profiler.AddIn.Commands.CopySelectedData" />
</Path>
<Path name="/SharpDevelop/Workbench/FileFilter">
<FileFilter id = "SharpDevelopProfingSession"
<FileFilter id = "SharpDevelopProfilingSession"
insertbefore="AllFiles"
name = "{res:AddIns.Profiler.FileExtensionDescription}"
name = "${res:AddIns.Profiler.FileExtensionDescription}"
extensions = "*.sdps"/>
</Path>
<Path name="/SharpDevelop/Dialogs/OptionsDialog">
<DialogPanel id = "Profiling"
label = "{res:AddIns.Profiler.Options.Title}"
label = "${res:AddIns.Profiler.Options.Title}"
class = "ICSharpCode.Profiler.AddIn.OptionsPanels.General"
insertbefore = "TextEditorOptions" />
</Path>
@ -97,7 +97,7 @@ @@ -97,7 +97,7 @@
</Not>
</And>
<MenuItem id = "RunWithProfiler"
label = "{res:AddIns.Profiler.UnitTests.RunWithProfiler}"
label = "${res:AddIns.Profiler.UnitTests.RunWithProfiler}"
class = "ICSharpCode.Profiler.AddIn.Commands.RunTestWithProfilerCommand"/>
</ComplexCondition>
</Path>

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

@ -21,7 +21,7 @@ @@ -21,7 +21,7 @@
HorizontalAlignment="Left"
VerticalAlignment="Top"
Content="{sd:Localize AddIns.Profiler.Options.General.DataCollection.SizeOfStorageDescription}" />
<Slider Margin="3" Width="150"
<Slider Margin="3" Width="100"
Name="slSharedMemorySize"
IsDirectionReversed="False"
TickPlacement="Both"

11
src/AddIns/Misc/Profiler/Frontend/Controls/QueryView.xaml.cs

@ -212,8 +212,13 @@ namespace ICSharpCode.Profiler.Controls @@ -212,8 +212,13 @@ namespace ICSharpCode.Profiler.Controls
if ((RangeEnd < 0 && RangeEnd >= Provider.DataSets.Count) &&
(RangeStart < 0 && RangeStart >= Provider.DataSets.Count))
return;
Debug.Assert(RangeStart <= RangeEnd);
if (Provider.DataSets.Count == 0)
return;
RangeEnd = Math.Min(RangeEnd, Provider.DataSets.Count - 1);
RangeStart = Math.Max(RangeStart, 0);
Stopwatch watch = new Stopwatch();
watch.Start();
LoadData();
@ -250,7 +255,7 @@ namespace ICSharpCode.Profiler.Controls @@ -250,7 +255,7 @@ namespace ICSharpCode.Profiler.Controls
{
try {
if (compiler.Compile()) {
var data = compiler.ExecuteQuery(provider, rangeStart, rangeEnd - 1);
var data = compiler.ExecuteQuery(provider, rangeStart, rangeEnd);
var nodes = data.Select(i => new CallTreeNodeViewModel(i, null)).ToList();
return new HierarchyList<CallTreeNodeViewModel>(nodes);
}

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

Binary file not shown.
Loading…
Cancel
Save