summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-10-18 07:51:23 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-10-18 07:51:23 (GMT)
commitaacc53e29a52b698fa7782d1ef45ecc06c552ab2 (patch)
tree9e7d4728bddc9955eb4b4b50afc9335b69f464f9 /doc
parent469e69030b1c9aa64e3faef7896a5006a8909460 (diff)
parent8fbe8df970a5b40d4cb092a3c12986e1cc154fb9 (diff)
downloadtcl-aacc53e29a52b698fa7782d1ef45ecc06c552ab2.zip
tcl-aacc53e29a52b698fa7782d1ef45ecc06c552ab2.tar.gz
tcl-aacc53e29a52b698fa7782d1ef45ecc06c552ab2.tar.bz2
Merge 8.7
Diffstat (limited to 'doc')
-rw-r--r--doc/msgcat.n4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/msgcat.n b/doc/msgcat.n
index 1384fa8..ac6dde7 100644
--- a/doc/msgcat.n
+++ b/doc/msgcat.n
@@ -735,7 +735,7 @@ To register to a callback, use:
namespace eval gui {
msgcat::mcpackageconfig changecmd updateGUI
- proc updateGui args {
+ proc updateGUI args {
puts "New locale is '[lindex $args 0]'."
}
}
@@ -769,7 +769,7 @@ msgcat::mcpackageconfig unknowncmd ""
.CE
As an example, the user requires the week day in a certain locale as follows:
.CS
-clock format clock seconds -format %A -locale fr
+clock format [clock seconds] -format %A -locale fr
.CE
\fBclock\fR sets the package locale to \fBfr\fR and looks for the day name as follows:
.CS