Tcl Source Code

Artifact [d158460874]
Login

Artifact d158460874213bbdcd96410c525d1f79b9d85eb9125bd80fd5134eb49a5d4685:

Attachment "msgcat.n.patch" to ticket [e0f728b381] added by anonymous 2021-09-30 06:42:01. (unpublished)
--- msgcat.n	2020-07-06 22:41:07.000000000 +0200
+++ msgcat.n.bak	2021-09-30 08:12:15.889668455 +0200
@@ -584,7 +584,7 @@
 namespace eval gui {
     msgcat::mcpackageconfig changecmd updateGUI
 
-    proc updateGui args {
+    proc updateGUI args {
         puts "New locale is '[lindex $args 0]'."
     }
 }
@@ -618,7 +618,7 @@
 .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