Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2003-10-21
10:51 • Closed ticket [809825ffff]: Patches to implement the root locale plus 8 othe... artifact: ce6f29c693 user: dgp
05:35 • Ticket [809825ffff]: 4 changes artifact: d852515795 user: dgp
05:19 • Ticket [809825ffff]: 4 changes artifact: bd0108285e user: dgp
04:34 • Ticket [809825ffff]: 4 changes artifact: 2f507d5b8d user: kennykb
04:34 • Add attachment 809825.patch to ticket [809825ffff] artifact: e6a1a94b23 user: kennykb
2003-09-24
06:27 • Ticket [809825ffff] Patches to implement the root locale status still Open w... artifact: 253a59b382 user: dgp
06:23 • Ticket [809825ffff]: 4 changes artifact: d234fc7343 user: dgp
2003-09-21
00:03 • Ticket [809825ffff]: 4 changes artifact: 30248159f0 user: kennykb
2003-09-20
17:03 • New ticket [809825ffff]. artifact: fe4e878711 user: kennykb

Patches to implement the root locale

Closed / Accepted809825ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2003-09-20 17:03:53
A forthcoming TIP proposes augmenting the message
catalog mechanism with a root locale, to be searched
if all searches in language-dependent locales fail.
This patch contains its reference implementation.
kennykbplain2003-09-21 00:03:54
File Added - 62048: msgcat.patch
dgpplain2003-09-24 06:23:15
Logged In: YES 
user_id=80530


This patch makes use of the "eq"
string equality operator that first
appeared in Tcl 8.4.

Either the patch should be modified
to use [string equal] instead, or the
Tcl requirement of msgcat should
also be patched to
[package require Tcl 8.4].
dgpplain2003-09-24 06:27:40
Logged In: YES 
user_id=80530

Acceptance of this patch will
also imply a bump to
version 1.4 of msgcat.
kennykbplain2003-10-21 04:34:18
File Deleted - 62048: 



File Added - 64921: 809825.patch
dgpplain2003-10-21 05:19:26
Logged In: YES 
user_id=80530


patch checks out fine on Linux,
including install into the
correct msgcat1.4 directory.

A refinement that might be
nice someday would be to
use the tcltest constraints to
mark tests with what version
requirement they have, so the
same test suite can test multiple
releases of msgcat.  Not a requirement
for this TIP, though.
dgpplain2003-10-21 05:35:48
Logged In: YES 
user_id=80530


oops!  my bad.

Seems the patch does not
include the update to
tcl/library/msgcat/pkgIndex.tcl

fix that before committing.
dgpplain2003-10-21 10:51:34
Logged In: YES 
user_id=80530


ok. I fixed it after commit. :)

probably missed my comment
in an SF maintenance period.
Log in (anonymous is fine) to add a comment.

Attachments: