git-gui: Clarify the Remote -> Delete... action
Currently, it was not really clear what all does this perform. We rename "Delete..." to "Delete Branch..." (since this does not delete the remote as a whole) and relabel the window from "Delete Remote Branch" to "Delete Branch Remotely" (since the action also involves pushing the delete out). Signed-off-by: Petr Baudis <petr.baudis@novartis.com> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Petr Baudis committed
Sep 24, 2008 at 22:43 UTC
3c1c2a00b2cba9dfeee6e2a3c44a0ad52fcff4a8
2 files changed
+3
-3
git-gui.sh
+1
-1
@@ -2453,7 +2453,7 @@ if {[is_enabled transport]} {
2453
-command do_push_anywhere \
2454
-accelerator $M1T-P
2455
.mbar.remote add command \
2456
- -label [mc "Delete..."] \
2456
+ -label [mc "Delete Branch..."] \
2457
-command remote_branch_delete::dialog
2458
}
2459
lib/remote_branch_delete.tcl
+2
-2
@@ -26,12 +26,12 @@ constructor dialog {} {
26
global all_remotes M1B
27
28
make_toplevel top w
29
- wm title $top [append "[appname] ([reponame]): " [mc "Delete Remote Branch"]]
29
+ wm title $top [append "[appname] ([reponame]): " [mc "Delete Branch Remotely"]]
30
if {$top ne {.}} {
31
wm geometry $top "+[winfo rootx .]+[winfo rooty .]"
32
}
33
34
- label $w.header -text [mc "Delete Remote Branch"] -font font_uibold
34
+ label $w.header -text [mc "Delete Branch Remotely"] -font font_uibold
35
pack $w.header -side top -fill x
36
37
frame $w.buttons