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>maint
parent
7f8da00184
commit
ac459b9c5f
|
@ -246,22 +246,22 @@ proc update_all_remotes_menu_entry {} {
|
||||||
if {$have_remote > 1} {
|
if {$have_remote > 1} {
|
||||||
make_sure_remote_submenues_exist $remote_m
|
make_sure_remote_submenues_exist $remote_m
|
||||||
if {[$fetch_m type end] eq "command" \
|
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 separator
|
||||||
$fetch_m insert end command \
|
$fetch_m insert end command \
|
||||||
-label "All" \
|
-label [mc "All"] \
|
||||||
-command fetch_from_all
|
-command fetch_from_all
|
||||||
|
|
||||||
$prune_m insert end separator
|
$prune_m insert end separator
|
||||||
$prune_m insert end command \
|
$prune_m insert end command \
|
||||||
-label "All" \
|
-label [mc "All"] \
|
||||||
-command prune_from_all
|
-command prune_from_all
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if {[winfo exists $fetch_m]} {
|
if {[winfo exists $fetch_m]} {
|
||||||
if {[$fetch_m type end] eq "command" \
|
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
|
||||||
|
|
Loading…
Reference in New Issue