summaryrefslogtreecommitdiffstats
path: root/doc/msgcat.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2007-10-30 23:50:54 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2007-10-30 23:50:54 (GMT)
commitf95c8ba1376420a635bd78510c85454cf7b9cd2d (patch)
treef0fa3a450027c54c3753aef4af7fd335ed74ed7e /doc/msgcat.n
parent9823630f3a0f827e324e3475f6819d4fbf619af1 (diff)
downloadtcl-f95c8ba1376420a635bd78510c85454cf7b9cd2d.zip
tcl-f95c8ba1376420a635bd78510c85454cf7b9cd2d.tar.gz
tcl-f95c8ba1376420a635bd78510c85454cf7b9cd2d.tar.bz2
Spread the idiom, make the rendering to HTML reliable!
Diffstat (limited to 'doc/msgcat.n')
-rw-r--r--doc/msgcat.n2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/msgcat.n b/doc/msgcat.n
index 72101d7..ce8ef6e 100644
--- a/doc/msgcat.n
+++ b/doc/msgcat.n
@@ -55,6 +55,7 @@ Returns a translation of \fIsrc-string\fR according to the
user's current locale. If additional arguments past \fIsrc-string\fR
are given, the \fBformat\fR command is used to substitute the
additional arguments in the translation of \fIsrc-string\fR.
+.RS
.PP
\fB::msgcat::mc\fR will search the messages defined
in the current namespace for a translation of \fIsrc-string\fR; if
@@ -69,6 +70,7 @@ application can pass the English string through \fB::msgcat::mc\fR and
use the result. If an application is written for a single language in
this fashion, then it is easy to add support for additional languages
later simply by defining new message catalog entries.
+.RE
.TP
\fB::msgcat::mcmax ?\fIsrc-string src-string ...\fR?
Given several source strings, \fB::msgcat::mcmax\fR returns the length