diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-05-28 07:18:42 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-05-28 07:18:42 (GMT) |
commit | ff256dde107faf2fff2f4ccac6bc1c74d4d167f4 (patch) | |
tree | 4642dc4f7c036b26de0ae0e6c53f8602b6960ada /doc/msgcat.n | |
parent | 34f334f734754916d0bfbe6f2879f65150fe493c (diff) | |
parent | b5df26a280112129ffcd34f74456cc6f2980e5be (diff) | |
download | tcl-ff256dde107faf2fff2f4ccac6bc1c74d4d167f4.zip tcl-ff256dde107faf2fff2f4ccac6bc1c74d4d167f4.tar.gz tcl-ff256dde107faf2fff2f4ccac6bc1c74d4d167f4.tar.bz2 |
3036566 - Get msgcat locale for Win Vista+ first from gui language registry key.
Bumped msgcat to version 1.5.2.
Minor manpage corrections.
Diffstat (limited to 'doc/msgcat.n')
-rw-r--r-- | doc/msgcat.n | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/msgcat.n b/doc/msgcat.n index 47b6bf7..bfd94ae 100644 --- a/doc/msgcat.n +++ b/doc/msgcat.n @@ -35,7 +35,7 @@ msgcat \- Tcl message catalog \fB::msgcat::mcflmset \fIsrc-trans-list\fR .VE "TIP 404" .sp -\fB::msgcat::mcunknown \fIlocale src-string\fR +\fB::msgcat::mcunknown \fIlocale src-string\fR ?\fIarg arg ...\fR? .BE .SH DESCRIPTION .PP @@ -157,12 +157,13 @@ translate-string\fR ?\fIsrc-string translate-string ...\fR?} of \fB::msgcat::mcflset\fR. The function returns the number of translations set. .VE "TIP 404" .TP -\fB::msgcat::mcunknown \fIlocale src-string\fR +\fB::msgcat::mcunknown \fIlocale src-string\fR ?\fIarg arg ...\fR? . This routine is called by \fB::msgcat::mc\fR in the case when a translation for \fIsrc-string\fR is not defined in the current locale. The default action is to return -\fIsrc-string\fR. This procedure can be redefined by the +\fIsrc-string\fR passed by format if there are any arguments. This +procedure can be redefined by the application, for example to log error messages for each unknown string. The \fB::msgcat::mcunknown\fR procedure is invoked at the same stack context as the call to \fB::msgcat::mc\fR. The return value |