From 2bdca9dfc1dd3565672960643e6e860330bd10fe Mon Sep 17 00:00:00 2001 From: dgp Date: Fri, 19 Apr 2002 23:09:37 +0000 Subject: * Added [mcload] to the export list of msgcat; bumped to 1.2.3. [Bug 544727] --- ChangeLog | 7 +++++++ doc/msgcat.n | 4 ++++ library/msgcat/msgcat.tcl | 7 ++++--- library/msgcat/pkgIndex.tcl | 2 +- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 098c648..b8e7021 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2002-04-19 Don Porter + + * doc/msgcat.n: + * library/msgcat/msgcat.tcl: + * library/msgcat/pkgIndex.tcl: Added [mcload] to the export list + of msgcat; bumped to 1.2.3. [Bug 544727] + 2002-04-20 Daniel Steffen * generic/tclInt.decls: diff --git a/doc/msgcat.n b/doc/msgcat.n index 7bfe737..dddf499 100644 --- a/doc/msgcat.n +++ b/doc/msgcat.n @@ -13,6 +13,10 @@ .SH NAME msgcat \- Tcl message catalog .SH SYNOPSIS +\fBpackage require Tcl 8.2\fR +.sp +\fBpackage require msgcat 1.2\fR +.sp \fB::msgcat::mc \fIsrc-string\fR ?\fIarg arg ...\fR? .sp \fB::msgcat::mcmax ?\fIsrc-string src-string ...\fR? diff --git a/library/msgcat/msgcat.tcl b/library/msgcat/msgcat.tcl index 4622ea1..e1dbd16 100644 --- a/library/msgcat/msgcat.tcl +++ b/library/msgcat/msgcat.tcl @@ -10,13 +10,14 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: msgcat.tcl,v 1.11 2001/08/09 01:06:42 dgp Exp $ +# RCS: @(#) $Id: msgcat.tcl,v 1.12 2002/04/19 23:09:37 dgp Exp $ package require Tcl 8.2 -package provide msgcat 1.2.2 +package provide msgcat 1.2.3 namespace eval msgcat { - namespace export mc mcset mcmset mclocale mcpreferences mcunknown mcmax + namespace export mc mcload mclocale mcmax mcmset mcpreferences mcset \ + mcunknown # Records the current locale as passed to mclocale variable locale "" diff --git a/library/msgcat/pkgIndex.tcl b/library/msgcat/pkgIndex.tcl index d3f1d4b..cc1af0c 100644 --- a/library/msgcat/pkgIndex.tcl +++ b/library/msgcat/pkgIndex.tcl @@ -1,2 +1,2 @@ if {![package vsatisfies [package provide Tcl] 8.2]} {return} -package ifneeded msgcat 1.2.2 [list source [file join $dir msgcat.tcl]] +package ifneeded msgcat 1.2.3 [list source [file join $dir msgcat.tcl]] -- cgit v0.12