summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/msgcat.n4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/msgcat.n b/doc/msgcat.n
index 0811bae..9d7291a 100644
--- a/doc/msgcat.n
+++ b/doc/msgcat.n
@@ -584,7 +584,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]'."
}
}
@@ -618,7 +618,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