diff options
author | jenglish <jenglish@flightlab.com> | 2002-07-01 18:24:38 (GMT) |
---|---|---|
committer | jenglish <jenglish@flightlab.com> | 2002-07-01 18:24:38 (GMT) |
commit | 67fad087ab438ebbeb8d38658e7bfe9183c1b8b7 (patch) | |
tree | 0b85a12ebaae6394723689fc31593c4ec7ebed17 /doc/msgcat.n | |
parent | d01a31dd2c3c0984c9ef185aec47a4c008e70b67 (diff) | |
download | tcl-67fad087ab438ebbeb8d38658e7bfe9183c1b8b7.zip tcl-67fad087ab438ebbeb8d38658e7bfe9183c1b8b7.tar.gz tcl-67fad087ab438ebbeb8d38658e7bfe9183c1b8b7.tar.bz2 |
Spell-check, fixed typos (Updates from Larry Virden).
Diffstat (limited to 'doc/msgcat.n')
-rw-r--r-- | doc/msgcat.n | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/msgcat.n b/doc/msgcat.n index cba5a45..1c11f17 100644 --- a/doc/msgcat.n +++ b/doc/msgcat.n @@ -66,7 +66,7 @@ returned from \fB::msgcat::mcunknown\fR is returned. .PP \fB::msgcat::mc\fR is the main function used to localize an application. Instead of using an English string directly, an -applicaton can pass the English string through \fB::msgcat::mc\fR and +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. @@ -74,7 +74,7 @@ later simply by defining new message catalog entries. \fB::msgcat::mcmax ?\fIsrc-string src-string ...\fR? Given several source strings, \fB::msgcat::mcmax\fR returns the length of the longest translated string. This is useful when designing -localized GUI's, which may require that all buttons, for example, be a +localized GUIs, which may require that all buttons, for example, be a fixed width (which will be the width of the widest button). .TP \fB::msgcat::mclocale \fR?\fInewLocale\fR? @@ -131,8 +131,8 @@ current locale. The default action is to return \fIsrc-string\fR. 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 vaue -of \fB::msgcat::mcunknown\fR is used as the return vaue for the call +same stack context as the call to \fB::msgcat::mc\fR. The return value +of \fB::msgcat::mcunknown\fR is used as the return value for the call to \fB::msgcat::mc\fR. .SH "LOCALE SPECIFICATION" @@ -266,7 +266,7 @@ initialization script: ::msgcat::mcload [file join [file dirname [info script]] msgs] .CE -.SH "POSTITIONAL CODES FOR FORMAT AND SCAN COMMANDS" +.SH "POSITIONAL CODES FOR FORMAT AND SCAN COMMANDS" .PP It is possible that a message string used as an argument to \fBformat\fR might have positionally dependent parameters that |