diff options
author | oehhar <harald.oehlmann@elmicron.de> | 2013-05-08 14:52:51 (GMT) |
---|---|---|
committer | oehhar <harald.oehlmann@elmicron.de> | 2013-05-08 14:52:51 (GMT) |
commit | cac74426e876354e08d7bdbc00b12c430352498d (patch) | |
tree | 325e56e2937b93193f9447fefe7f6f41ef25dbb7 | |
parent | 41c4cbfb4857ab8b96ab086b4edb2750715eb602 (diff) | |
download | tcl-cac74426e876354e08d7bdbc00b12c430352498d.zip tcl-cac74426e876354e08d7bdbc00b12c430352498d.tar.gz tcl-cac74426e876354e08d7bdbc00b12c430352498d.tar.bz2 |
Document mcunknown format parameters
-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..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 |