Browse Source

Add strings from subversion AddIn to translation database.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2169 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Daniel Grunwald 19 years ago
parent
commit
61ee98484d
  1. 2
      AddIns/ICSharpCode.SharpDevelop.addin
  2. BIN
      data/resources/StringResources.de.resources
  3. BIN
      data/resources/StringResources.es-mx.resources
  4. BIN
      data/resources/StringResources.es.resources
  5. BIN
      data/resources/StringResources.nl.resources
  6. 66
      src/AddIns/Misc/SubversionAddIn/Project/ICSharpCode.Svn.addin
  7. 10
      src/AddIns/Misc/SubversionAddIn/Project/Resources/SubversionOptionsPanel.xfrm
  8. 2
      src/AddIns/Misc/SubversionAddIn/Project/Src/Gui/TortoiseSvnNotFoundForm.cs
  9. 2
      src/AddIns/Misc/SubversionAddIn/Project/Src/SubversionStateCondition.cs
  10. BIN
      src/Main/StartUp/Project/Resources/StringResources.resources

2
AddIns/ICSharpCode.SharpDevelop.addin

@ -1405,7 +1405,7 @@
<MenuItem id = "ConfigurationBuilder" type = "Builder" class = "ICSharpCode.SharpDevelop.Project.Commands.SetConfigurationMenuBuilder"/> <MenuItem id = "ConfigurationBuilder" type = "Builder" class = "ICSharpCode.SharpDevelop.Project.Commands.SetConfigurationMenuBuilder"/>
</MenuItem> </MenuItem>
<MenuItem id = "EditConfigurations" <MenuItem id = "EditConfigurations"
label = "Edit configurations/platforms" label = "${res:XML.MainMenu.BuildMenu.EditConfigurationsPlatforms}"
class = "ICSharpCode.SharpDevelop.Project.Commands.EditConfigurationsCommand"/> class = "ICSharpCode.SharpDevelop.Project.Commands.EditConfigurationsCommand"/>
</ComplexCondition> </ComplexCondition>
</MenuItem> <!-- end BUILD menu --> </MenuItem> <!-- end BUILD menu -->

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

Binary file not shown.

66
src/AddIns/Misc/SubversionAddIn/Project/ICSharpCode.Svn.addin

@ -35,26 +35,26 @@
<Condition name = "SubversionState" state = "Modified;Added;Replaced"> <Condition name = "SubversionState" state = "Modified;Added;Replaced">
<MenuItem id = "SvnCommit" <MenuItem id = "SvnCommit"
label = "Commit..." label = "${res:AddIns.Subversion.Commit}..."
icon = "Svn.Commit" icon = "Svn.Commit"
class = "ICSharpCode.Svn.Commands.CommitCommand"/> class = "ICSharpCode.Svn.Commands.CommitCommand"/>
</Condition> </Condition>
<Condition name = "SubversionState" state = "Modified;Conflicted;Added;Replaced"> <Condition name = "SubversionState" state = "Modified;Conflicted;Added;Replaced">
<Condition name = "SubversionState" state = "Modified" item = "File"> <Condition name = "SubversionState" state = "Modified" item = "File">
<MenuItem id = "SvnDiff" <MenuItem id = "SvnDiff"
label = "Diff" label = "${res:AddIns.Subversion.Diff}"
class = "ICSharpCode.Svn.Commands.DiffCommand"/> class = "ICSharpCode.Svn.Commands.DiffCommand"/>
</Condition> </Condition>
<Condition name = "SubversionState" state = "Conflicted" item = "File"> <Condition name = "SubversionState" state = "Conflicted" item = "File">
<MenuItem id = "SvnEditConflicts" <MenuItem id = "SvnEditConflicts"
label = "Edit conflicts" label = "${res:AddIns.Subversion.EditConflicts}"
class = "ICSharpCode.Svn.Commands.EditConflictsCommand"/> class = "ICSharpCode.Svn.Commands.EditConflictsCommand"/>
<MenuItem id = "SvnResolveConflicts" <MenuItem id = "SvnResolveConflicts"
label = "Mark conflicts as resolved..." label = "${res:AddIns.Subversion.MarkConflictsAsResolved}"
class = "ICSharpCode.Svn.Commands.ResolveConflictsCommand"/> class = "ICSharpCode.Svn.Commands.ResolveConflictsCommand"/>
</Condition> </Condition>
<MenuItem id = "SvnRevert" <MenuItem id = "SvnRevert"
label = "Revert..." label = "${res:AddIns.Subversion.Revert}"
icon = "Icons.16x16.UndoIcon" icon = "Icons.16x16.UndoIcon"
class = "ICSharpCode.Svn.Commands.RevertCommand"/> class = "ICSharpCode.Svn.Commands.RevertCommand"/>
</Condition> </Condition>
@ -65,13 +65,13 @@
<Condition name = "SubversionState" state = "Unversioned;Ignored"/> <Condition name = "SubversionState" state = "Unversioned;Ignored"/>
</Not> </Not>
<MenuItem id = "SvnRepoBrowser" <MenuItem id = "SvnRepoBrowser"
label = "Repo-browser" label = "${res:AddIns.Subversion.RepositoryBrowser}"
class = "ICSharpCode.Svn.Commands.RepoBrowserCommand"/> class = "ICSharpCode.Svn.Commands.RepoBrowserCommand"/>
<MenuItem id = "SvnRepoStatus" <MenuItem id = "SvnRepoStatus"
label = "Check for modifications" label = "${res:AddIns.Subversion.CheckForModifications}"
class = "ICSharpCode.Svn.Commands.RepoStatusCommand"/> class = "ICSharpCode.Svn.Commands.RepoStatusCommand"/>
<MenuItem id = "SvnRevisionGraph" <MenuItem id = "SvnRevisionGraph"
label = "Revision graph" label = "${res:AddIns.Subversion.RevisionGraph}"
class = "ICSharpCode.Svn.Commands.RevisionGraphCommand"/> class = "ICSharpCode.Svn.Commands.RevisionGraphCommand"/>
<MenuItem id = "Sep1" type = "Separator"/> <MenuItem id = "Sep1" type = "Separator"/>
<MenuItem id = "SvnUpdate" <MenuItem id = "SvnUpdate"
@ -79,31 +79,31 @@
icon = "Svn.Update" icon = "Svn.Update"
class = "ICSharpCode.Svn.Commands.UpdateCommand"/> class = "ICSharpCode.Svn.Commands.UpdateCommand"/>
<MenuItem id = "SvnUpdateToRev" <MenuItem id = "SvnUpdateToRev"
label = "Update to revision..." label = "${res:AddIns.Subversion.UpdateToRevision}..."
icon = "Svn.Update" icon = "Svn.Update"
class = "ICSharpCode.Svn.Commands.UpdateToRevisionCommand"/> class = "ICSharpCode.Svn.Commands.UpdateToRevisionCommand"/>
<MenuItem id = "SvnShowLog" <MenuItem id = "SvnShowLog"
label = "Show Log" label = "${res:AddIns.Subversion.ShowLog}"
class = "ICSharpCode.Svn.Commands.ShowLogCommand"/> class = "ICSharpCode.Svn.Commands.ShowLogCommand"/>
<MenuItem id = "SvnCleanup" <MenuItem id = "SvnCleanup"
label = "Clean up" label = "${res:AddIns.Subversion.CleanUp}"
class = "ICSharpCode.Svn.Commands.CleanupCommand"/> class = "ICSharpCode.Svn.Commands.CleanupCommand"/>
<MenuItem id = "Sep2" type = "Separator"/> <MenuItem id = "Sep2" type = "Separator"/>
<MenuItem id = "SvnBranch" <MenuItem id = "SvnBranch"
label = "Branch/tag..." label = "${res:AddIns.Subversion.BranchOrTag}..."
class = "ICSharpCode.Svn.Commands.BranchCommand"/> class = "ICSharpCode.Svn.Commands.BranchCommand"/>
<MenuItem id = "SvnSwitch" <MenuItem id = "SvnSwitch"
label = "Switch..." label = "${res:AddIns.Subversion.Switch}..."
class = "ICSharpCode.Svn.Commands.SwitchCommand"/> class = "ICSharpCode.Svn.Commands.SwitchCommand"/>
<MenuItem id = "SvnMerge" <MenuItem id = "SvnMerge"
label = "Merge..." label = "${res:AddIns.Subversion.Merge}..."
class = "ICSharpCode.Svn.Commands.MergeCommand"/> class = "ICSharpCode.Svn.Commands.MergeCommand"/>
<Condition name = "SubversionState" item = "File"> <Condition name = "SubversionState" item = "Folder">
<MenuItem id = "SvnExport" <MenuItem id = "SvnExport"
label = "Export..." label = "${res:AddIns.Subversion.Export}..."
class = "ICSharpCode.Svn.Commands.ExportWorkingCopyCommand"/> class = "ICSharpCode.Svn.Commands.ExportWorkingCopyCommand"/>
<MenuItem id = "SvnRelocate" <MenuItem id = "SvnRelocate"
label = "Relocate..." label = "${res:AddIns.Subversion.Relocate}..."
class = "ICSharpCode.Svn.Commands.RelocateCommand"/> class = "ICSharpCode.Svn.Commands.RelocateCommand"/>
</Condition> </Condition>
<MenuItem id = "Sep3" type = "Separator"/> <MenuItem id = "Sep3" type = "Separator"/>
@ -111,27 +111,27 @@
<Condition name = "SubversionState" state = "Unversioned;Ignored"> <Condition name = "SubversionState" state = "Unversioned;Ignored">
<MenuItem id = "SvnAdd" <MenuItem id = "SvnAdd"
label = "Add..." label = "${res:Global.AddButtonText}..."
class = "ICSharpCode.Svn.Commands.AddCommand"/> class = "ICSharpCode.Svn.Commands.AddCommand"/>
</Condition> </Condition>
<Condition name = "SubversionState" state = "Unversioned"> <Condition name = "SubversionState" state = "Unversioned">
<MenuItem id = "SvnIgnore" <MenuItem id = "SvnIgnore"
label = "Add to ignore list" label = "${res:AddIns.Subversion.AddToIgnoreList}"
class = "ICSharpCode.Svn.Commands.IgnoreCommand"/> class = "ICSharpCode.Svn.Commands.IgnoreCommand"/>
</Condition> </Condition>
<Condition name = "SubversionState" state = "Ignored"> <Condition name = "SubversionState" state = "Ignored">
<MenuItem id = "SvnIgnore" <MenuItem id = "SvnIgnore"
label = "Remove from ignore list" label = "${res:AddIns.Subversion.RemoveFromIgnoreList}"
class = "ICSharpCode.Svn.Commands.UnignoreCommand"/> class = "ICSharpCode.Svn.Commands.UnignoreCommand"/>
</Condition> </Condition>
<Condition name = "SubversionState" state = "Modified;Normal" item = "File"> <Condition name = "SubversionState" state = "Modified;Normal" item = "File">
<MenuItem id = "SvnBlame" <MenuItem id = "SvnBlame"
label = "Blame..." label = "${res:AddIns.Subversion.Blame}..."
class = "ICSharpCode.Svn.Commands.BlameCommand"/> class = "ICSharpCode.Svn.Commands.BlameCommand"/>
</Condition> </Condition>
<Condition name = "SubversionState" state = "Modified;Conflicted;Added;Replaced"> <Condition name = "SubversionState" state = "Modified;Conflicted;Added;Replaced">
<MenuItem id = "SvnCreatePatch" <MenuItem id = "SvnCreatePatch"
label = "Create patch..." label = "${res:AddIns.Subversion.CreatePatch}..."
icon = "Svn.CreatePatch" icon = "Svn.CreatePatch"
class = "ICSharpCode.Svn.Commands.CreatePatchCommand"/> class = "ICSharpCode.Svn.Commands.CreatePatchCommand"/>
</Condition> </Condition>
@ -143,14 +143,14 @@
</Condition>--> </Condition>-->
<MenuItem id = "Sep4" type = "Separator"/> <MenuItem id = "Sep4" type = "Separator"/>
<MenuItem id = "SvnHelp" <MenuItem id = "SvnHelp"
label = "Help" label = "${res:MainWindow.Windows.HelpScoutLabel}"
icon = "Icons.16x16.HelpIcon" icon = "Icons.16x16.HelpIcon"
class = "ICSharpCode.Svn.Commands.HelpCommand"/> class = "ICSharpCode.Svn.Commands.HelpCommand"/>
<MenuItem id = "SvnSettings" <MenuItem id = "SvnSettings"
label = "Settings" label = "${res:Dialog.Options.IDEOptions.ProjectAndSolutionOptions.SettingsGroupBox}"
class = "ICSharpCode.Svn.Commands.SettingsCommand"/> class = "ICSharpCode.Svn.Commands.SettingsCommand"/>
<MenuItem id = "SvnAbout" <MenuItem id = "SvnAbout"
label = "About" label = "${res:ComponentInspector.AboutDialog.Title}"
class = "ICSharpCode.Svn.Commands.AboutCommand"/> class = "ICSharpCode.Svn.Commands.AboutCommand"/>
</MenuItem> </MenuItem>
</Condition> </Condition>
@ -172,14 +172,10 @@
<Include id = "SubversionInclude" path = "/SharpDevelop/Pads/ProjectBrowser/ContextMenu/SubversionItem"/> <Include id = "SubversionInclude" path = "/SharpDevelop/Pads/ProjectBrowser/ContextMenu/SubversionItem"/>
</Path> </Path>
<Path name = "/SharpDevelop/Dialogs/OptionsDialog"> <Path name = "/SharpDevelop/Dialogs/OptionsDialog/Tools">
<DialogPanel id = "Subversion Options" <DialogPanel id = "SubversionOptionsPanel"
label = "Subversion Options"> label = "${res:AddIns.Subversion.Options.Title}"
<DialogPanel id = "SubversionOptionsPanel" class = "ICSharpCode.Svn.Gui.SubversionOptionsPanel"/>
label = "Subversion Options"
class = "ICSharpCode.Svn.Gui.SubversionOptionsPanel"/>
</DialogPanel>
</Path> </Path>
<Path name = "/SharpDevelop/Workbench/MainMenu/Tools"> <Path name = "/SharpDevelop/Workbench/MainMenu/Tools">
@ -188,11 +184,11 @@
insertbefore = "LastSeparator" insertbefore = "LastSeparator"
type="Menu"> type="Menu">
<MenuItem id = "SvnExport" <MenuItem id = "SvnExport"
label = "Export" label = "${res:AddIns.Subversion.Export}..."
icon = "Svn.Export" icon = "Svn.Export"
class = "ICSharpCode.Svn.Commands.ExportCommand"/> class = "ICSharpCode.Svn.Commands.ExportCommand"/>
<MenuItem id = "SvnCheckout" <MenuItem id = "SvnCheckout"
label = "Checkout" label = "${res:AddIns.Subversion.Checkout}..."
icon = "Svn.Checkout" icon = "Svn.Checkout"
class = "ICSharpCode.Svn.Commands.CheckoutCommand"/> class = "ICSharpCode.Svn.Commands.CheckoutCommand"/>
</MenuItem> </MenuItem>

10
src/AddIns/Misc/SubversionAddIn/Project/Resources/SubversionOptionsPanel.xfrm

@ -6,7 +6,7 @@
<System.Windows.Forms.CheckBox> <System.Windows.Forms.CheckBox>
<Name value="useHistoryDisplayBindingCheckBox" /> <Name value="useHistoryDisplayBindingCheckBox" />
<Location value="8, 135" /> <Location value="8, 135" />
<Text value="Add &amp;history tab to version-controlled files" /> <Text value="${res:AddIns.Subversion.Options.UseHistoryDisplayBinding}" />
<TabIndex value="6" /> <TabIndex value="6" />
<Size value="280, 24" /> <Size value="280, 24" />
<UseVisualStyleBackColor value="True" /> <UseVisualStyleBackColor value="True" />
@ -15,7 +15,7 @@
<System.Windows.Forms.CheckBox> <System.Windows.Forms.CheckBox>
<Name value="autoRenameFilesCheckBox" /> <Name value="autoRenameFilesCheckBox" />
<Location value="8, 63" /> <Location value="8, 63" />
<Text value="&amp;Keep history for renamed files (rename in Subversion)" /> <Text value="${res:AddIns.Subversion.Options.RenameInsideSubversion}" />
<TabIndex value="5" /> <TabIndex value="5" />
<Size value="280, 24" /> <Size value="280, 24" />
<Anchor value="Top, Left, Right" /> <Anchor value="Top, Left, Right" />
@ -24,7 +24,7 @@
<System.Windows.Forms.CheckBox> <System.Windows.Forms.CheckBox>
<Name value="autoDeleteFilesCheckBox" /> <Name value="autoDeleteFilesCheckBox" />
<Location value="8, 33" /> <Location value="8, 33" />
<Text value="Automatically &amp;delete removed files" /> <Text value="${res:AddIns.Subversion.Options.AutoDelete}" />
<TabIndex value="3" /> <TabIndex value="3" />
<Size value="280, 24" /> <Size value="280, 24" />
<Anchor value="Top, Left, Right" /> <Anchor value="Top, Left, Right" />
@ -32,7 +32,7 @@
<System.Windows.Forms.CheckBox> <System.Windows.Forms.CheckBox>
<Name value="autoReloadProjectCheckBox" /> <Name value="autoReloadProjectCheckBox" />
<Location value="8, 105" /> <Location value="8, 105" />
<Text value="&amp;Re-load project after projectfile change" /> <Text value="${res:AddIns.Subversion.Options.ReloadProjectAfterChanges}" />
<TabIndex value="4" /> <TabIndex value="4" />
<Size value="280, 24" /> <Size value="280, 24" />
<Anchor value="Top, Left, Right" /> <Anchor value="Top, Left, Right" />
@ -40,7 +40,7 @@
<System.Windows.Forms.CheckBox> <System.Windows.Forms.CheckBox>
<Name value="autoAddFilesCheckBox" /> <Name value="autoAddFilesCheckBox" />
<Location value="8, 3" /> <Location value="8, 3" />
<Text value="Automatically &amp;add new files" /> <Text value="${res:AddIns.Subversion.Options.AutoAdd}" />
<TabIndex value="2" /> <TabIndex value="2" />
<Size value="280, 24" /> <Size value="280, 24" />
<Anchor value="Top, Left, Right" /> <Anchor value="Top, Left, Right" />

2
src/AddIns/Misc/SubversionAddIn/Project/Src/Gui/TortoiseSvnNotFoundForm.cs

@ -20,7 +20,7 @@ namespace ICSharpCode.Svn
{ {
SetupFromXmlStream(this.GetType().Assembly.GetManifestResourceStream("ICSharpCode.Svn.Resources.TortoiseSvnNotFoundForm.xfrm")); SetupFromXmlStream(this.GetType().Assembly.GetManifestResourceStream("ICSharpCode.Svn.Resources.TortoiseSvnNotFoundForm.xfrm"));
((Label)ControlDictionary["messageLabel"]).Text = StringParser.Parse("TortoiseSVN needs to be installed to execute this action."); ((Label)ControlDictionary["messageLabel"]).Text = StringParser.Parse("${res:AddIns.Subversion.TortoiseSVNRequired}");
((PictureBox)ControlDictionary["iconPictureBox"]).Image = ResourceService.GetBitmap("Icons.32x32.Information"); ((PictureBox)ControlDictionary["iconPictureBox"]).Image = ResourceService.GetBitmap("Icons.32x32.Information");
((LinkLabel)ControlDictionary["linkLabel"]).Click += LinkLabelClicked; ((LinkLabel)ControlDictionary["linkLabel"]).Click += LinkLabelClicked;
} }

2
src/AddIns/Misc/SubversionAddIn/Project/Src/SubversionStateCondition.cs

@ -85,7 +85,7 @@ namespace ICSharpCode.Svn
bool Test(Condition condition, string fileName) bool Test(Condition condition, string fileName)
{ {
string[] allowedStatus = condition.Properties["state"].Split(';'); string[] allowedStatus = condition.Properties["state"].Split(';');
if (allowedStatus.Length == 0) { if (allowedStatus.Length == 0 || (allowedStatus.Length == 1 && allowedStatus[0].Length == 0)) {
return true; return true;
} }
string status; string status;

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

Binary file not shown.
Loading…
Cancel
Save