Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Wolf2017-06-14 13:36:03 -0400
committerThomas Wolf2017-06-18 07:44:14 -0400
commit34ce4d240ae48e30b601b9bd2ac02a5e0ebc537b (patch)
tree7196f137407d68359217d3193528dec8a7ce219c /org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/uitext.properties
parent1bf3ccac3b17a9dabf8b228526ee774094dc2d3e (diff)
downloadegit-34ce4d240ae48e30b601b9bd2ac02a5e0ebc537b.tar.gz
egit-34ce4d240ae48e30b601b9bd2ac02a5e0ebc537b.tar.xz
egit-34ce4d240ae48e30b601b9bd2ac02a5e0ebc537b.zip
Staging view: add toolbar buttons to stage/unstage all files
The buttons do not appear in the contextual action tooltip. The contextual actions operate on a selection, whereas the new "stage/unstage all" actions also operate on unselected files. Including it in the tooltip would give a confusing UI. Also, if this action were in the tooltip, a slight mis-click would stage/unstage not only the selected files but all of them. Although that would not be a severe problem (the changed files are selected after the operation in the target viewer, so undoing a "stage all" is as easy as using "unstage seleted files"), let's try to avoid this. Bug: 518213 Change-Id: I127dae880c28f851b078736a7940dc698ab42faa Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Diffstat (limited to 'org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/uitext.properties')
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/uitext.properties8
1 files changed, 6 insertions, 2 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/uitext.properties b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/uitext.properties
index 325a88c5d1..9953abb086 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/uitext.properties
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/uitext.properties
@@ -1835,11 +1835,15 @@ StagingView_ReplaceWith=Rep&lace With
StagingView_LinkSelection=Link with Editor and Selection
StagingView_replaceWithFileInGitIndex=Replace with &Index
StagingView_replaceWithHeadRevision=Replace with &HEAD Revision
+StagingView_UnstageAllItemMenuLabel=Remove All Files from Index
+StagingView_UnstageAllItemTooltip=Remove all files including not selected ones from the index
StagingView_UnstageItemMenuLabel=&Remove from Index
-StagingView_UnstageItemTooltip=Remove Selected Files from Index
+StagingView_UnstageItemTooltip=Remove selected files from the index
StagingView_UnstagedSort=Sort by state
+StagingView_StageAllItemMenuLabel=&Add All Files to Index
+StagingView_StageAllItemTooltip=Add all files including not selected ones to the index
StagingView_StageItemMenuLabel=&Add to Index
-StagingView_StageItemTooltip=Add Selected Files to Index
+StagingView_StageItemTooltip=Add selected files to the index
StagingView_IgnoreItemMenuLabel=&Ignore
StagingView_IgnoreFolderMenuLabel=Ignore &Folder
StagingView_DeleteItemMenuLabel=&Delete

Back to the top