Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 205305 Details for
Bug 361013
[client] inconsistent terminology: "Remove" vs. "delete"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Fix v01
361013.patch (text/plain), 3.81 KB, created by
Tomasz Zarna
on 2011-10-17 06:33:10 EDT
(
hide
)
Description:
Fix v01
Filename:
MIME Type:
Creator:
Tomasz Zarna
Created:
2011-10-17 06:33:10 EDT
Size:
3.81 KB
patch
obsolete
>diff --git a/bundles/org.eclipse.orion.client.git/web/orion/git/gitCommands.js b/bundles/org.eclipse.orion.client.git/web/orion/git/gitCommands.js >index 04b8521..9032d3b 100644 >--- a/bundles/org.eclipse.orion.client.git/web/orion/git/gitCommands.js >+++ b/bundles/org.eclipse.orion.client.git/web/orion/git/gitCommands.js >@@ -318,12 +318,12 @@ var exports = {}; > commandService.addCommand(addBranchCommand, "object"); > > var removeBranchCommand = new mCommands.Command({ >- name: "Remove", // "Remove Branch" >- tooltip: "Remove the local branch from the repository", >+ name: "Delete", // "Delete Branch" >+ tooltip: "Delete the local branch from the clone", > imageClass: "core-sprite-delete", > id: "eclipse.removeBranch", > callback: function(item) { >- if(confirm("Are you sure you want to remove branch " + item.Name+"?")) >+ if(confirm("Are you sure you want to delete branch " + item.Name+"?")) > serviceRegistry.getService("orion.git.provider").then( > function(service) { > service.removeBranch(item.Location).then( >@@ -341,12 +341,12 @@ var exports = {}; > commandService.addCommand(removeBranchCommand, "object"); > > var removeRemoteBranchCommand = new mCommands.Command({ >- name: "Remove", // "Remove Remote Branch", >- tooltip: "Remove the remote tracking branch from the repository", >+ name: "Delete", // "Delete Remote Branch", >+ tooltip: "Delete the remote tracking branch from the clone", > imageClass: "core-sprite-delete", > id: "eclipse.removeRemoteBranch", > callback: function(item) { >- if(confirm("You're going to remove remote branch " + item.Name+" and push the change.\n\nAre you sure?")) >+ if(confirm("You're going to delete remote branch " + item.Name+" and push the change.\n\nAre you sure?")) > exports.getDefaultSshOptions(serviceRegistry).then(function(options){ > var func = arguments.callee; > serviceRegistry.getService("orion.git.provider").then(function(gitService) { >@@ -357,7 +357,7 @@ var exports = {}; > function(jsonData){ > if (jsonData.Result.Severity == "Ok") > dojo.hitch(explorer, explorer.changedItem)(item.parent); >- }, func, "Remove Remote Branch"); >+ }, func, "Delete Remote Branch"); > }); > }); > }); >@@ -396,12 +396,12 @@ var exports = {}; > commandService.addCommand(addRemoteCommand, "object"); > > var removeRemoteCommand = new mCommands.Command({ >- name: "Remove", // "Remove Remote", >- tooltip: "Remove the remote from the repository", >+ name: "Delete", // "Delete Remote", >+ tooltip: "Delete the remote from the clone", > imageClass: "core-sprite-delete", > id: "eclipse.removeRemote", > callback: function(item) { >- if(confirm("Are you sure you want to remove remote " + item.Name+"?")) >+ if(confirm("Are you sure you want to delete remote " + item.Name+"?")) > serviceRegistry.getService("orion.git.provider").then( > function(service) { > service.removeRemote(item.Location).then( >@@ -1153,7 +1153,7 @@ var exports = {}; > > var resetIndexCommand = new mCommands.Command({ > name : "Reset", >- tooltip: "Reset your active branch to the state of the selected branch. Remove all staged and unstaged changes.", >+ tooltip: "Reset your active branch to the state of the selected branch. Discard all staged and unstaged changes.", > imageClass: "git-sprite-refresh", > spriteClass: "gitCommandSprite", > id : "eclipse.orion.git.resetIndex", >@@ -1667,8 +1667,8 @@ var exports = {}; > commandService.addCommand(initGitRepositoryCommand, "dom"); > > var deleteCommand = new mCommands.Command({ >- name: "Remove", // "Remove Clone" >- tooltip: "Remove the repository", >+ name: "Delete", // "Delete Clone" >+ tooltip: "Delete the clone", > imageClass: "core-sprite-delete", > id: "eclipse.git.deleteClone", > visibleWhen: function(item) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 361013
:
205305
|
205306
|
205439