Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git-gui: Mark 'All' in remote.tcl for translation
author
Alexander Shopov
<ash@kambanaria.org>
Thu, 13 Oct 2016 18:43:48 +0000
(21:43 +0300)
committer
Pat Thoyts
<patthoyts@users.sourceforge.net>
Thu, 20 Oct 2016 10:13:03 +0000
(11:13 +0100)
Signed-off-by: Alexander Shopov <ash@kambanaria.org>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
lib/remote.tcl
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
7f8da00
)
diff --git
a/lib/remote.tcl
b/lib/remote.tcl
index 4e5c7844188ee2eab0c9f6e00835b99c69bbdfc2..ef77ed7399c5b0cc1bdd06f1471d275ffd0ab3ad 100644
(file)
--- 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" \
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 \
$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 \
-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" \
-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
delete_from_menu $fetch_m end
delete_from_menu $fetch_m end