summaryrefslogtreecommitdiffstats
path: root/doc/msgcat.n
diff options
context:
space:
mode:
authoroehhar <harald.oehlmann@elmicron.de>2013-05-08 14:52:51 (GMT)
committeroehhar <harald.oehlmann@elmicron.de>2013-05-08 14:52:51 (GMT)
commit88149255f5ae41c5f0580c6564b56f69087efa73 (patch)
tree325e56e2937b93193f9447fefe7f6f41ef25dbb7 /doc/msgcat.n
parente2a50ce38b041d5de04fe4452ddf710c5a9ea999 (diff)
downloadtcl-88149255f5ae41c5f0580c6564b56f69087efa73.zip
tcl-88149255f5ae41c5f0580c6564b56f69087efa73.tar.gz
tcl-88149255f5ae41c5f0580c6564b56f69087efa73.tar.bz2
Document mcunknown format parameters
Diffstat (limited to 'doc/msgcat.n')
-rw-r--r--doc/msgcat.n7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/msgcat.n b/doc/msgcat.n
index 47b6bf7..44f96e6 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?\fargs\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?\fargs\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