Browse Source

worked on main menu translation.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@295 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Mike Krüger 20 years ago
parent
commit
c2dca0b34d
  1. 108
      AddIns/ICSharpCode.SharpDevelop.addin
  2. BIN
      data/resources/StringResources.ar.resources
  3. BIN
      data/resources/StringResources.bg.resources
  4. BIN
      data/resources/StringResources.cn-big.resources
  5. BIN
      data/resources/StringResources.cn-gb.resources
  6. BIN
      data/resources/StringResources.cz.resources
  7. BIN
      data/resources/StringResources.de.resources
  8. BIN
      data/resources/StringResources.dk.resources
  9. BIN
      data/resources/StringResources.es-mx.resources
  10. BIN
      data/resources/StringResources.es.resources
  11. BIN
      data/resources/StringResources.fi.resources
  12. BIN
      data/resources/StringResources.fr.resources
  13. BIN
      data/resources/StringResources.hu.resources
  14. BIN
      data/resources/StringResources.it.resources
  15. BIN
      data/resources/StringResources.jp.resources
  16. BIN
      data/resources/StringResources.kr.resources
  17. BIN
      data/resources/StringResources.lt.resources
  18. BIN
      data/resources/StringResources.nl.resources
  19. BIN
      data/resources/StringResources.pl.resources
  20. BIN
      data/resources/StringResources.pt-br.resources
  21. BIN
      data/resources/StringResources.pt.resources
  22. BIN
      data/resources/StringResources.ro.resources
  23. BIN
      data/resources/StringResources.ru.resources
  24. BIN
      data/resources/StringResources.se.resources
  25. BIN
      data/resources/StringResources.sl.resources
  26. BIN
      data/resources/StringResources.sr.resources
  27. BIN
      data/resources/StringResources.tr.resources
  28. 2
      src/Main/Base/Project/Src/Services/Debugger/DefaultDebugger.cs
  29. 3
      src/Main/Core/Project/Src/AddInTree/AddIn/DefaultDoozers/MenuItem/Gui/MenuCommand.cs
  30. BIN
      src/Main/StartUp/Project/Resources/StringResources.resources

108
AddIns/ICSharpCode.SharpDevelop.addin

@ -1171,34 +1171,34 @@ @@ -1171,34 +1171,34 @@
</And>
<Condition name = "CombineOpen" iscombineopen="True"/>
</Or>
<MenuItem id = "Build"
label = "&amp;Build Solution"
<MenuItem id = "Build"
label = "${res:XML.MainMenu.BuildMenu.BuildSolution}"
shortcut = "F8"
icon = "Icons.16x16.BuildCombine"
class = "ICSharpCode.SharpDevelop.Project.Commands.Build"/>
<MenuItem id = "Rebuild"
label = "&amp;Rebuild Solution"
icon = "Icons.16x16.BuildCombine"
class = "ICSharpCode.SharpDevelop.Project.Commands.Build"/>
<MenuItem id = "Rebuild"
label = "${res:XML.MainMenu.BuildMenu.RebuildSolution}"
shortcut = "Alt|F8"
class = "ICSharpCode.SharpDevelop.Project.Commands.Rebuild"/>
<MenuItem id = "Clean"
label = "&amp;Clean Solution"
class = "ICSharpCode.SharpDevelop.Project.Commands.Rebuild"/>
<MenuItem id = "Clean"
label = "${res:XML.MainMenu.BuildMenu.CleanSolution}"
class = "ICSharpCode.SharpDevelop.Project.Commands.Clean"/>
<Condition name = "ProjectActive" activeproject="*">
<MenuItem id = "Separator1" type = "Separator" />
<MenuItem id = "Build project"
label = "B&amp;uild ${CurrentProjectName}"
<MenuItem id = "Build project"
label = "${res:XML.MainMenu.BuildMenu.BuildProject}"
shortcut = "F9"
icon = "Icons.16x16.BuildCurrentSelectedProject"
class = "ICSharpCode.SharpDevelop.Project.Commands.BuildProject"/>
<MenuItem id = "Rebuild project"
label = "R&amp;ebuild ${CurrentProjectName}"
icon = "Icons.16x16.BuildCurrentSelectedProject"
class = "ICSharpCode.SharpDevelop.Project.Commands.BuildProject"/>
<MenuItem id = "Rebuild project"
label = "${res:XML.MainMenu.BuildMenu.RebuildProject}"
shortcut = "ALT|F9"
class = "ICSharpCode.SharpDevelop.Project.Commands.RebuildProject"/>
<MenuItem id = "Clean project"
label = "Clea&amp;n ${CurrentProjectName}"
class = "ICSharpCode.SharpDevelop.Project.Commands.RebuildProject"/>
<MenuItem id = "Clean project"
label = "${res:XML.MainMenu.BuildMenu.CleanProject}"
class = "ICSharpCode.SharpDevelop.Project.Commands.CleanProject"/>
<MenuItem id = "Publis&amp;h project"
label = "Publish ${CurrentProjectName}"
<MenuItem id = "Publis&amp;h project"
label = "${res:XML.MainMenu.BuildMenu.PublishProject}"
class = "ICSharpCode.SharpDevelop.Project.Commands.PublishProject"/>
</Condition>
</ComplexCondition>
@ -1217,32 +1217,32 @@ @@ -1217,32 +1217,32 @@
</And>
<Condition name = "CombineOpen" iscombineopen="True"/>
</Or>
<Condition name="DebuggerSupports" debuggersupports = "Start">
<Condition name="IsProcessRunning" isdebugging="False" action="Disable">
<MenuItem id = "Run"
label = "${res:XML.MainMenu.RunMenu.Run}"
icon = "Icons.16x16.RunProgramIcon"
<MenuItem id = "Run"
label = "${res:XML.MainMenu.RunMenu.Run}"
icon = "Icons.16x16.RunProgramIcon"
shortcut = "F5"
class = "ICSharpCode.SharpDevelop.Project.Commands.Execute"/>
class = "ICSharpCode.SharpDevelop.Project.Commands.Execute"/>
</Condition>
</Condition>
<Condition name="DebuggerSupports" debuggersupports = "StartWithoutDebugging">
<Condition name="IsProcessRunning" isdebugging="False" action="Disable">
<MenuItem id = "RunWithoutDebugger"
label = "${res:XML.MainMenu.DebugMenu.RunWithoutDebug}"
icon = "Icons.16x16.Debug.StartWithoutDebugging"
<Condition name="IsProcessRunning" isdebugging="False" action="Disable">
<MenuItem id = "RunWithoutDebugger"
label = "${res:XML.MainMenu.DebugMenu.RunWithoutDebug}"
icon = "Icons.16x16.Debug.StartWithoutDebugging"
shortcut = "Control|F5"
class = "ICSharpCode.SharpDevelop.Project.Commands.ExecuteWithoutDebugger"/>
class = "ICSharpCode.SharpDevelop.Project.Commands.ExecuteWithoutDebugger"/>
</Condition>
</Condition>
<Condition name="DebuggerSupports" debuggersupports = "Stop">
<Condition name="IsProcessRunning" isdebugging="True" action="Disable">
<MenuItem id = "Stop"
<MenuItem id = "Stop"
label = "${res:XML.MainMenu.DebugMenu.Stop}"
icon="Icons.16x16.StopProcess"
icon = "Icons.16x16.StopProcess"
class = "ICSharpCode.SharpDevelop.Project.Commands.StopDebuggingCommand"/>
</Condition>
</Condition>
@ -1250,39 +1250,39 @@ @@ -1250,39 +1250,39 @@
<Condition name="DebuggerSupports" debuggersupports = "ExecutionControl">
<MenuItem id = "ExecutionControlSeparator" type = "Separator" />
<Condition name="IsProcessRunning" isprocessrunning = "True" isdebugging = "True" action = "Disable">
<MenuItem id = "Break"
label = "Break"
icon="Icons.16x16.Debug.Break"
<MenuItem id = "Break"
label = "Break"
icon = "Icons.16x16.Debug.Break"
shortcut = "Control|Alt|B"
class = "ICSharpCode.SharpDevelop.Project.Commands.BreakDebuggingCommand"/>
class = "ICSharpCode.SharpDevelop.Project.Commands.BreakDebuggingCommand"/>
</Condition>
<Condition name="IsProcessRunning" isprocessrunning = "False" isdebugging = "True" action = "Disable">
<MenuItem id = "Continue"
label = "${res:XML.MainMenu.DebugMenu.Continue}"
icon="Icons.16x16.Debug.Continue"
<MenuItem id = "Continue"
label = "${res:XML.MainMenu.DebugMenu.Continue}"
icon = "Icons.16x16.Debug.Continue"
shortcut = "F6"
class = "ICSharpCode.SharpDevelop.Project.Commands.ContinueDebuggingCommand"/>
class = "ICSharpCode.SharpDevelop.Project.Commands.ContinueDebuggingCommand"/>
</Condition>
</Condition>
<Condition name="DebuggerSupports" debuggersupports = "Stepping">
<Condition name="IsProcessRunning" isprocessrunning = "False" isdebugging = "True" action = "Disable">
<MenuItem id = "BeforeSteppingSeparator" type = "Separator" />
<MenuItem id = "Step"
label = "Step"
icon="Icons.16x16.Debug.StepOver"
<MenuItem id = "Step"
label = "${res:XML.MainMenu.DebugMenu.Step}"
icon = "Icons.16x16.Debug.StepOver"
shortcut = "F10"
class = "ICSharpCode.SharpDevelop.Project.Commands.StepDebuggingCommand"/>
<MenuItem id = "Step into"
label = "Step into"
icon="Icons.16x16.Debug.StepInto"
class = "ICSharpCode.SharpDevelop.Project.Commands.StepDebuggingCommand"/>
<MenuItem id = "Step into"
label = "${res:XML.MainMenu.DebugMenu.StepInto}"
icon = "Icons.16x16.Debug.StepInto"
shortcut = "F11"
class = "ICSharpCode.SharpDevelop.Project.Commands.StepIntoDebuggingCommand"/>
<MenuItem id = "Step out"
label = "Step out"
icon="Icons.16x16.Debug.StepOut"
class = "ICSharpCode.SharpDevelop.Project.Commands.StepIntoDebuggingCommand"/>
<MenuItem id = "Step out"
label = "${res:XML.MainMenu.DebugMenu.StepOut}"
icon = "Icons.16x16.Debug.StepOut"
shortcut = "Shift|F11"
class = "ICSharpCode.SharpDevelop.Project.Commands.StepOutDebuggingCommand"/>
class = "ICSharpCode.SharpDevelop.Project.Commands.StepOutDebuggingCommand"/>
</Condition>
</Condition>
</ComplexCondition>

BIN
data/resources/StringResources.ar.resources

Binary file not shown.

BIN
data/resources/StringResources.bg.resources

Binary file not shown.

BIN
data/resources/StringResources.cn-big.resources

Binary file not shown.

BIN
data/resources/StringResources.cn-gb.resources

Binary file not shown.

BIN
data/resources/StringResources.cz.resources

Binary file not shown.

BIN
data/resources/StringResources.de.resources

Binary file not shown.

BIN
data/resources/StringResources.dk.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.fi.resources

Binary file not shown.

BIN
data/resources/StringResources.fr.resources

Binary file not shown.

BIN
data/resources/StringResources.hu.resources

Binary file not shown.

BIN
data/resources/StringResources.it.resources

Binary file not shown.

BIN
data/resources/StringResources.jp.resources

Binary file not shown.

BIN
data/resources/StringResources.kr.resources

Binary file not shown.

BIN
data/resources/StringResources.lt.resources

Binary file not shown.

BIN
data/resources/StringResources.nl.resources

Binary file not shown.

BIN
data/resources/StringResources.pl.resources

Binary file not shown.

BIN
data/resources/StringResources.pt-br.resources

Binary file not shown.

BIN
data/resources/StringResources.pt.resources

Binary file not shown.

BIN
data/resources/StringResources.ro.resources

Binary file not shown.

BIN
data/resources/StringResources.ru.resources

Binary file not shown.

BIN
data/resources/StringResources.se.resources

Binary file not shown.

BIN
data/resources/StringResources.sl.resources

Binary file not shown.

BIN
data/resources/StringResources.sr.resources

Binary file not shown.

BIN
data/resources/StringResources.tr.resources

Binary file not shown.

2
src/Main/Base/Project/Src/Services/Debugger/DefaultDebugger.cs

@ -77,7 +77,7 @@ namespace ICSharpCode.Core @@ -77,7 +77,7 @@ namespace ICSharpCode.Core
public bool SupportsStartWithoutDebugging {
get {
return false;
return true;
}
}

3
src/Main/Core/Project/Src/AddInTree/AddIn/DefaultDoozers/MenuItem/Gui/MenuCommand.cs

@ -127,12 +127,14 @@ namespace ICSharpCode.Core @@ -127,12 +127,14 @@ namespace ICSharpCode.Core
public virtual void UpdateStatus()
{
// Console.Write("Update status of : " + localizedText);
if (codon != null) {
if (Image == null && codon.Properties.Contains("icon")) {
Image = ResourceService.GetBitmap(codon.Properties["icon"]);
}
ConditionFailedAction failedAction = codon.GetFailedAction(caller);
Visible = failedAction != ConditionFailedAction.Exclude;
// Console.Write(" failed action " + failedAction + " Visible : " + Visible);
if (localizedText == null) {
localizedText = codon.Properties["label"];
@ -141,6 +143,7 @@ namespace ICSharpCode.Core @@ -141,6 +143,7 @@ namespace ICSharpCode.Core
if (localizedText != null) {
Text = StringParser.Parse(localizedText);
}
// Console.WriteLine();
}
}
}

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

Binary file not shown.
Loading…
Cancel
Save