summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Shopov <ash@kambanaria.org>2016-10-13 21:43:48 +0300
committerPat Thoyts <patthoyts@users.sourceforge.net>2016-10-20 11:13:03 +0100
commitac459b9c5f27b88c36b297a7427b824e1636ba57 (patch)
treeb9f29ab9e3ef3375fc7046f9f2fb0865797562bc
parent7f8da001843c43f3ebac00b30e3fde707385b6dd (diff)
downloadgit-ac459b9c5f27b88c36b297a7427b824e1636ba57.tar.gz
git-gui: Mark 'All' in remote.tcl for translation
Signed-off-by: Alexander Shopov <ash@kambanaria.org> Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
-rw-r--r--lib/remote.tcl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/remote.tcl b/lib/remote.tcl
index 4e5c784418..ef77ed7399 100644
--- a/lib/remote.tcl
+++ b/lib/remote.tcl
@@ -246,22 +246,22 @@ proc update_all_remotes_menu_entry {} {
if {$have_remote > 1} {
make_sure_remote_submenues_exist $remote_m
if {[$fetch_m type end] eq "command" \
- && [$fetch_m entrycget end -label] ne "All"} {
+ && [$fetch_m entrycget end -label] ne [mc "All"]} {
$fetch_m insert end separator
$fetch_m insert end command \
- -label "All" \
+ -label [mc "All"] \
-command fetch_from_all
$prune_m insert end separator
$prune_m insert end command \
- -label "All" \
+ -label [mc "All"] \
-command prune_from_all
}
} else {
if {[winfo exists $fetch_m]} {
if {[$fetch_m type end] eq "command" \
- && [$fetch_m entrycget end -label] eq "All"} {
+ && [$fetch_m entrycget end -label] eq [mc "All"]} {
delete_from_menu $fetch_m end
delete_from_menu $fetch_m end