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:
- 809825.patch [download] added by kennykb on 2003-10-21 04:34:18. [details]