aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Baudis <pasky@suse.cz>2008-09-24 22:43:59 +0200
committerShawn O. Pearce <spearce@spearce.org>2008-09-30 12:59:18 -0700
commit3c1c2a00b2cba9dfeee6e2a3c44a0ad52fcff4a8 (patch)
tree2f14cd301ad0068aca5df6affc58b1a424ea1eb1
parent34785f8ccabb12f684352902b7f201135b9ccd51 (diff)
downloadgit-3c1c2a00b2cba9dfeee6e2a3c44a0ad52fcff4a8.tar.gz
git-3c1c2a00b2cba9dfeee6e2a3c44a0ad52fcff4a8.tar.xz
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>
-rwxr-xr-xgit-gui.sh2
-rw-r--r--lib/remote_branch_delete.tcl4
2 files changed, 3 insertions, 3 deletions
diff --git a/git-gui.sh b/git-gui.sh
index 4d52f02dc..078636f23 100755
--- a/git-gui.sh
+++ b/git-gui.sh
@@ -2453,7 +2453,7 @@ if {[is_enabled transport]} {
-command do_push_anywhere \
-accelerator $M1T-P
.mbar.remote add command \
- -label [mc "Delete..."] \
+ -label [mc "Delete Branch..."] \
-command remote_branch_delete::dialog
}
diff --git a/lib/remote_branch_delete.tcl b/lib/remote_branch_delete.tcl
index c7b814869..fbcfb2715 100644
--- a/lib/remote_branch_delete.tcl
+++ b/lib/remote_branch_delete.tcl
@@ -26,12 +26,12 @@ constructor dialog {} {
global all_remotes M1B
make_toplevel top w
- wm title $top [append "[appname] ([reponame]): " [mc "Delete Remote Branch"]]
+ wm title $top [append "[appname] ([reponame]): " [mc "Delete Branch Remotely"]]
if {$top ne {.}} {
wm geometry $top "+[winfo rootx .]+[winfo rooty .]"
}
- label $w.header -text [mc "Delete Remote Branch"] -font font_uibold
+ label $w.header -text [mc "Delete Branch Remotely"] -font font_uibold
pack $w.header -side top -fill x
frame $w.buttons