Skip to content

Commit ac459b9

Browse files
alshopovpatthoyts
authored andcommitted
git-gui: Mark 'All' in remote.tcl for translation
Signed-off-by: Alexander Shopov <[email protected]> Signed-off-by: Pat Thoyts <[email protected]>
1 parent 7f8da00 commit ac459b9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/remote.tcl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -246,22 +246,22 @@ proc update_all_remotes_menu_entry {} {
246246
if {$have_remote > 1} {
247247
make_sure_remote_submenues_exist $remote_m
248248
if {[$fetch_m type end] eq "command" \
249-
&& [$fetch_m entrycget end -label] ne "All"} {
249+
&& [$fetch_m entrycget end -label] ne [mc "All"]} {
250250

251251
$fetch_m insert end separator
252252
$fetch_m insert end command \
253-
-label "All" \
253+
-label [mc "All"] \
254254
-command fetch_from_all
255255

256256
$prune_m insert end separator
257257
$prune_m insert end command \
258-
-label "All" \
258+
-label [mc "All"] \
259259
-command prune_from_all
260260
}
261261
} else {
262262
if {[winfo exists $fetch_m]} {
263263
if {[$fetch_m type end] eq "command" \
264-
&& [$fetch_m entrycget end -label] eq "All"} {
264+
&& [$fetch_m entrycget end -label] eq [mc "All"]} {
265265

266266
delete_from_menu $fetch_m end
267267
delete_from_menu $fetch_m end

0 commit comments

Comments
 (0)