summaryrefslogtreecommitdiffstats
path: root/library/msgcat
Commit message (Collapse)AuthorAgeFilesLines
* * README: Bumped version number to 8.4b3 to distinguishdgp2002-08-201-1/+3
| | | | | | | | | | | | | | | | | | | | | * generic/tcl.h: HEAD from the 8.4b2 release. * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README.binary: * win/configure.in: * unix/configure: autoconf * win/configure: * library/http/http.tcl: Corrected installation directory of * library/msgcat/msgcat.tcl: the package tcltest 2.2. Added * library/opt/optparse.tcl: comments in other packages to remind * library/tcltest/tcltest.tcl: that installation directories need * unix/Makefile.in: updates to match increasing version * win/Makefile.in: numbers. [Bug 597450] * win/makefile.bc: * win/makefile.vc:
* Fix a comment that was causing problems for programs (like "mktclapp") thatdrh2002-07-171-3/+3
| | | | embed the initialization script in strings. No changes to code.
* * More Windows Registry locale codes from Bruno Haible.dgp2002-06-171-15/+127
|
* * Revised locale initialization to interpretdgp2002-06-172-81/+112
| | | | | | | | | environment variable locale values according to XPG4, and to recognize the LC_ALL and LC_MESSAGES values over that of LANG. Also added many Windows Registry locale values to those recognized by msgcat. Revised tests and docs. Bumped to version 1.3. Thanks to Bruno Haible for the report and assistance crafting the solution. [Bug 525522, 525525]
* * [mcmax] wasn't using the caller'sdgp2002-04-201-21/+29
| | | | | | namespace when determining the max translated length. Also made revisions for better use of namespace variables and more efficient [uplevel]s.
* * Added [mcload] to the export listdgp2002-04-192-4/+5
| | | | of msgcat; bumped to 1.2.3. [Bug 544727]
* Added checks for package dependencies.dgp2001-08-092-3/+5
| | | | | Bumped patchlevels of changed packages: http 2.3.2, msgcat 1.2.2, opt 0.4.3, tcltest 2.0.1. [Patch 448931]
* 2000-12-10 Don Porter <dgp@users.sourceforge.net>dgp2000-12-112-8/+8
| | | | | | | | | | | | | | * 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]
* * library/msgcat1.0/pkgIndex.tcl: Bumped version number to 1.2ericm2000-08-112-3/+3
| | | | | | | | [Bug: 6100]. * library/msgcat1.0/msgcat.tcl: Removed erroneous [package forget] in msgcat namespace initializer. Bumped version number to 1.2 [Bug: 6100].
* * library/msgcat1.0/msgcat.tcl: Removed erroneous [package forget]ericm2000-08-101-2/+1
| | | | in msgcat namespace initializer.
* * library/msgcat1.0/msgcat.tcl:ericm2000-07-171-4/+84
| | | | | | | | | | | * 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.
* * tests/msgcat.test:ericm2000-07-061-4/+11
| | | | | | | * 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].
* * doc/msgcat.n: Doc's for mcmax function.ericm2000-06-301-4/+26
| | | | | | * 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.n: Added docs for new behavior from patch in [Bug: 4158].ericm2000-04-111-7/+25
| | | | | | | | | | | | | * 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.
* 1999-08-18 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-08-191-4/+3
| | | | | | | | | | | | | * 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).
* merged tcl 8.1 branch back into the main trunkstanton1999-04-162-0/+178