Tk Source Code

View Ticket
Login
Ticket UUID: 546333
Title: message catalogs not namespaced
Type: Bug Version: obsolete: 8.4a5
Submitter: dgp Created on: 2002-04-19 22:48:50
Subsystem: 79. L10N Assigned To: bagnonm
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2002-04-27 01:28:47
Resolution: Fixed Closed By: dgp
    Closed on: 2002-04-26 18:28:47
Description:
The [mcset] command of the msgcat package uses
its namespace context to keep message catalogs
from different packages from conflicting with
one another.  In order for this to work, the
message catalogs provided by each package need
to be evaluated in the namespace of that package.

This means each file matching tk/library/msgs/*msg
ought to have its contents enclosed in a

namespace eval ::tk { ... }

If desired, the catalogs could be broken down
further according to the internal namespaces of
Tk, but the simple step above is sufficient.
User Comments: dgp added on 2002-04-27 01:28:47:
Logged In: YES 
user_id=80530

thanks!

bagnonm added on 2002-04-26 23:39:42:
Logged In: YES 
user_id=187881

The message catalog files have been updated as requested. On
tk.tcl, the ::tk namespace is created before loading the
message catalog.