diff options
author | oehhar <harald.oehlmann@elmicron.de> | 2013-05-27 20:45:08 (GMT) |
---|---|---|
committer | oehhar <harald.oehlmann@elmicron.de> | 2013-05-27 20:45:08 (GMT) |
commit | eb279d0247abcef7014f739146c9c619b4d24320 (patch) | |
tree | cdd12a4b9dcbbc8b020a7f823bbb0ee484af9110 /doc | |
parent | 4a770ed0b5648f58f0ba0b07bb73cc904db339e0 (diff) | |
parent | b5df26a280112129ffcd34f74456cc6f2980e5be (diff) | |
download | tcl-eb279d0247abcef7014f739146c9c619b4d24320.zip tcl-eb279d0247abcef7014f739146c9c619b4d24320.tar.gz tcl-eb279d0247abcef7014f739146c9c619b4d24320.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')
-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 |