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>

Alexander Shopov committed Oct 13, 2016 at 21:43 UTC ac459b9c5f27b88c36b297a7427b824e1636ba57
1 file changed +4 -4
lib/remote.tcl
+4 -4
@@ -246,22 +246,22 @@ proc update_all_remotes_menu_entry {} {
246 if {$have_remote > 1} {
247 make_sure_remote_submenues_exist $remote_m
248 if {[$fetch_m type end] eq "command" \
249 - && [$fetch_m entrycget end -label] ne "All"} {
249 + && [$fetch_m entrycget end -label] ne [mc "All"]} {
250
251 $fetch_m insert end separator
252 $fetch_m insert end command \
253 - -label "All" \
253 + -label [mc "All"] \
254 -command fetch_from_all
255
256 $prune_m insert end separator
257 $prune_m insert end command \
258 - -label "All" \
258 + -label [mc "All"] \
259 -command prune_from_all
260 }
261 } else {
262 if {[winfo exists $fetch_m]} {
263 if {[$fetch_m type end] eq "command" \
264 - && [$fetch_m entrycget end -label] eq "All"} {
264 + && [$fetch_m entrycget end -label] eq [mc "All"]} {
265
266 delete_from_menu $fetch_m end
267 delete_from_menu $fetch_m end