Tcl Source Code

Check-in [1eedc1f86b]
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Syntax error in msgcat documentation fixed. Ticket [af69c6966d]
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 1eedc1f86ba31132a457f933eea3945d40425d3598ed45b60ad78837d2b3c2d9
User & Date: oehhar 2018-05-03 16:24:05
References
2018-05-03
16:28 Ticket [af69c6966d] msgcat: make-manpage-section: ignoring .VS "TIP 412" after .TP status still Closed with 5 other changes artifact: 97c735b8ef user: oehhar
Context
2018-05-04
19:07
Update TZ info to tzdata2018e. check-in: e95474c36a user: jima tags: trunk
2018-05-03
16:24
Syntax error in msgcat documentation fixed. Ticket [af69c6966d] check-in: 1eedc1f86b user: oehhar tags: trunk
2018-05-02
13:53
close fork check-in: 4ea56471c2 user: dgp tags: core-8-branch
2018-05-01
18:43
merge 8.7 check-in: 6fe50c20de user: jan.nijtmans tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to doc/msgcat.n.

124
125
126
127
128
129
130
131
132

133
134
135
136
137
138
139
.TP
\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 GUIs, which may require that all buttons, for example, be a
fixed width (which will be the width of the widest button).
.TP
.VS "TIP 412"

\fB::msgcat::mcexists\fR ?\fB-exactnamespace\fR? ?\fB-exactlocale\fR? ?\fB-namespace\fR \fInamespace\fR? \fIsrc-string\fR
.
Return true, if there is a translation for the given \fIsrc-string\fR.
.PP
.RS
The search may be limited by the option \fB\-exactnamespace\fR to only check the current namespace and not any parent namespaces.
.PP






<

>







124
125
126
127
128
129
130

131
132
133
134
135
136
137
138
139
.TP
\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 GUIs, which may require that all buttons, for example, be a
fixed width (which will be the width of the widest button).

.VS "TIP 412"
.TP
\fB::msgcat::mcexists\fR ?\fB-exactnamespace\fR? ?\fB-exactlocale\fR? ?\fB-namespace\fR \fInamespace\fR? \fIsrc-string\fR
.
Return true, if there is a translation for the given \fIsrc-string\fR.
.PP
.RS
The search may be limited by the option \fB\-exactnamespace\fR to only check the current namespace and not any parent namespaces.
.PP