aboutsummaryrefslogtreecommitdiff
path: root/lib/option.tcl
diff options
context:
space:
mode:
authorPat Thoyts <patthoyts@users.sourceforge.net>2016-10-03 23:40:50 +0100
committerPat Thoyts <patthoyts@users.sourceforge.net>2016-10-03 23:40:50 +0100
commit52f2445d5c70a204f614fd83cf98a27359dff04c (patch)
tree56fdf799654d24e1fcdc49658e9db215d54d45ba /lib/option.tcl
parent99ba48e397995a4b06a57f78e5611a29d239e5ea (diff)
parent9360fc22eaa5e8db33f1806a8e23afb83369a2f5 (diff)
downloadgit-52f2445d5c70a204f614fd83cf98a27359dff04c.tar.gz
git-52f2445d5c70a204f614fd83cf98a27359dff04c.tar.xz
Merge branch 'va/i18n_2' into pu
Diffstat (limited to 'lib/option.tcl')
-rw-r--r--lib/option.tcl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/option.tcl b/lib/option.tcl
index b5b6b2fea..e43971bfa 100644
--- a/lib/option.tcl
+++ b/lib/option.tcl
@@ -179,7 +179,7 @@ proc do_options {} {
i-* {
regexp -- {-(\d+)\.\.(\d+)$} $type _junk min max
${NS}::frame $w.$f.$optid
- ${NS}::label $w.$f.$optid.l -text "$text:"
+ ${NS}::label $w.$f.$optid.l -text [mc "%s:" $text]
pack $w.$f.$optid.l -side left -anchor w -fill x
tspinbox $w.$f.$optid.v \
-textvariable ${f}_config_new($name) \
@@ -194,7 +194,7 @@ proc do_options {} {
c -
t {
${NS}::frame $w.$f.$optid
- ${NS}::label $w.$f.$optid.l -text "$text:"
+ ${NS}::label $w.$f.$optid.l -text [mc "%s:" $text]
${NS}::entry $w.$f.$optid.v \
-width 20 \
-textvariable ${f}_config_new($name)
@@ -217,7 +217,7 @@ proc do_options {} {
s {
set opts [eval [lindex $option 3]]
${NS}::frame $w.$f.$optid
- ${NS}::label $w.$f.$optid.l -text "$text:"
+ ${NS}::label $w.$f.$optid.l -text [mc "%s:" $text]
if {$use_ttk} {
ttk::combobox $w.$f.$optid.v \
-textvariable ${f}_config_new($name) \
@@ -279,7 +279,7 @@ proc do_options {} {
[font configure $font -size]
${NS}::frame $w.global.$name
- ${NS}::label $w.global.$name.l -text "$text:"
+ ${NS}::label $w.global.$name.l -text [mc "%s:" $text]
${NS}::button $w.global.$name.b \
-text [mc "Change Font"] \
-command [list \