diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2013-05-28 07:18:42 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2013-05-28 07:18:42 (GMT) |
commit | 104f9ce8bbc20c20c7b7135ad40599abdc4f24e2 (patch) | |
tree | 4642dc4f7c036b26de0ae0e6c53f8602b6960ada /doc | |
parent | b84188df73518793902f5a7cbff9027cc321fb17 (diff) | |
parent | 9692cbbcbfdd7589c53a58c40ddd06b77e6a0fca (diff) | |
download | tcl-104f9ce8bbc20c20c7b7135ad40599abdc4f24e2.zip tcl-104f9ce8bbc20c20c7b7135ad40599abdc4f24e2.tar.gz tcl-104f9ce8bbc20c20c7b7135ad40599abdc4f24e2.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.
FossilOrigin-Name: 82b537d31b3fbc4c5e5eb38fe2f9a7ba309dc1c9
Diffstat (limited to 'doc')
-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 |