From: Petr Baudis Date: Wed, 24 Sep 2008 20:43:59 +0000 (+0200) Subject: git-gui: Clarify the Remote -> Delete... action X-Git-Tag: v1.6.1-rc1~3^2~37 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3c1c2a00b2cba9dfeee6e2a3c44a0ad52fcff4a8;p=git.git 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 Signed-off-by: Shawn O. Pearce --- 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