@@ -10140,26 +10140,26 @@ proc doprefs {} {
10140
10140
grid $top .cdisp - -sticky w -pady 10
10141
10141
label $top .bg -padx 40 -relief sunk -background $bgcolor
10142
10142
button $top .bgbut -text [mc " Background" ] -font optionfont \
10143
- -command [list choosecolor bgcolor {} $top .bg background setbg]
10143
+ -command [list choosecolor bgcolor {} $top .bg [mc " background" ] setbg]
10144
10144
grid x $top .bgbut $top .bg -sticky w
10145
10145
label $top .fg -padx 40 -relief sunk -background $fgcolor
10146
10146
button $top .fgbut -text [mc " Foreground" ] -font optionfont \
10147
- -command [list choosecolor fgcolor {} $top .fg foreground setfg]
10147
+ -command [list choosecolor fgcolor {} $top .fg [mc " foreground" ] setfg]
10148
10148
grid x $top .fgbut $top .fg -sticky w
10149
10149
label $top .diffold -padx 40 -relief sunk -background [lindex $diffcolors 0]
10150
10150
button $top .diffoldbut -text [mc " Diff: old lines" ] -font optionfont \
10151
- -command [list choosecolor diffcolors 0 $top .diffold " diff old lines" \
10151
+ -command [list choosecolor diffcolors 0 $top .diffold [mc " diff old lines" ] \
10152
10152
[list $ctext tag conf d0 -foreground]]
10153
10153
grid x $top .diffoldbut $top .diffold -sticky w
10154
10154
label $top .diffnew -padx 40 -relief sunk -background [lindex $diffcolors 1]
10155
10155
button $top .diffnewbut -text [mc " Diff: new lines" ] -font optionfont \
10156
- -command [list choosecolor diffcolors 1 $top .diffnew " diff new lines" \
10156
+ -command [list choosecolor diffcolors 1 $top .diffnew [mc " diff new lines" ] \
10157
10157
[list $ctext tag conf dresult -foreground]]
10158
10158
grid x $top .diffnewbut $top .diffnew -sticky w
10159
10159
label $top .hunksep -padx 40 -relief sunk -background [lindex $diffcolors 2]
10160
10160
button $top .hunksepbut -text [mc " Diff: hunk header" ] -font optionfont \
10161
10161
-command [list choosecolor diffcolors 2 $top .hunksep \
10162
- " diff hunk header" \
10162
+ [mc " diff hunk header" ] \
10163
10163
[list $ctext tag conf hunksep -foreground]]
10164
10164
grid x $top .hunksepbut $top .hunksep -sticky w
10165
10165
label $top .markbgsep -padx 40 -relief sunk -background $markbgcolor
@@ -10170,7 +10170,7 @@ proc doprefs {} {
10170
10170
grid x $top .markbgbut $top .markbgsep -sticky w
10171
10171
label $top .selbgsep -padx 40 -relief sunk -background $selectbgcolor
10172
10172
button $top .selbgbut -text [mc " Select bg" ] -font optionfont \
10173
- -command [list choosecolor selectbgcolor {} $top .selbgsep background setselbg]
10173
+ -command [list choosecolor selectbgcolor {} $top .selbgsep [mc " background" ] setselbg]
10174
10174
grid x $top .selbgbut $top .selbgsep -sticky w
10175
10175
10176
10176
label $top .cfont -text [mc " Fonts: press to choose" ]
0 commit comments