| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
namespace when determining the max translated length. Also
made revisions for better use of namespace variables and more
efficient [uplevel]s.
|
|
|
|
| |
of msgcat; bumped to 1.2.3. [Bug 544727]
|
|
|
|
|
| |
Bumped patchlevels of changed packages: http 2.3.2, msgcat 1.2.2,
opt 0.4.3, tcltest 2.0.1. [Patch 448931]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* library/init.tcl:
* library/msgcat/msgcat.tcl:
* library/msgcat/pkgIndex.tcl:
* library/opt/optparse.tcl:
* library/opt/pkgIndex.tcl: Where [uplevel] is used in a proc
to evaluate a Tcl built-in command in the caller's context,
the built-in commands are now fully namespace-qualified. This
prevents problems when the caller context is in a namespace where
the built-in command name has been used by a command in the
namespace. (For example, [::ns::set] might be called instead
of the intended [::set]). [Bug #119422, Patch #102545]
|
|
|
|
|
|
|
|
| |
[Bug: 6100].
* library/msgcat1.0/msgcat.tcl: Removed erroneous [package forget]
in msgcat namespace initializer. Bumped version number to 1.2
[Bug: 6100].
|
|
|
|
| |
in msgcat namespace initializer.
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/msgcat.n:
* tests/msgcat.test: Applied patches from Chris Nelson, to provide
the mcmset function, which allows the translator to set multiple
string translations in a single function call, rather than
requiring many calls to mcset. [RFE: 6000, 5993]. In addition,
these patches correct mcload to use utf-8 encoding on when reading
message catalog files, and provides for better default behavior
for determining the locale on a Windows system.
|
|
|
|
|
|
|
| |
* library/msgcat1.0/msgcat.tcl: Applied patch from Christian
Krone, to provide extended args support for msgcat::unknown, which
is used for strings without a known translation in the current
locale [Bug: 5984].
|
|
|
|
|
|
| |
* library/msgcat1.0/msgcat.tcl: Applied patches from Laurent
Duperval, to add mcmax function, which computes the length of the
longest of several translated strings. Bumped version number to 1.1.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* msgcat.test: Added tests for new behavior from patch in [Bug:
4158].
* msgcat.tcl: Applied patch from [Bug: 4158], which enables
msgcat::mc to search the entire namespace ancestry chain for
message translations (ie, first it checks the current namespace,
then the parent, then the parent's parent, etc). Also allows the
specification of additional args for msgcat::mc; if extra args are
given, the [format] command is used to substitute the additional
args in the translated message.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* library/auto.tcl:
* library/init.tcl:
* library/ldAout.tcl:
* library/package.tcl:
* library/safe.tcl:
* library/word.tcl:
* library/http2.1/http.tcl:
* library/msgcat1.0/msgcat.tcl: updated libraries to better
Tcl style guide (no more string comparisons with == or !=, spacing
changes).
|
|
|