summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorharald.oehlmann@elmicron.de <oehhar>2013-05-08 14:52:51 (GMT)
committerharald.oehlmann@elmicron.de <oehhar>2013-05-08 14:52:51 (GMT)
commitc72e8ea5b6c5e095e5a8d588c8988ed525b57449 (patch)
tree325e56e2937b93193f9447fefe7f6f41ef25dbb7
parent27c914e1d664023daba928ed8be8a12c2e612bd5 (diff)
downloadtcl-c72e8ea5b6c5e095e5a8d588c8988ed525b57449.zip
tcl-c72e8ea5b6c5e095e5a8d588c8988ed525b57449.tar.gz
tcl-c72e8ea5b6c5e095e5a8d588c8988ed525b57449.tar.bz2
Document mcunknown format parameters
-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