Ticket UUID: | 809825 | |||
Title: | Patches to implement the root locale | |||
Type: | Patch | Version: | TIP Implementation | |
Submitter: | kennykb | Created on: | 2003-09-20 17:03:53 | |
Subsystem: | 30. msgcat Package | Assigned To: | kennykb | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2003-10-21 10:51:34 | |
Resolution: | Accepted | Closed By: | dgp | |
Closed on: | 2003-10-21 03:51:34 | |||
Description: |
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. | |||
User Comments: |
dgp added on 2003-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. dgp added on 2003-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. dgp added on 2003-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. kennykb added on 2003-10-21 04:34:18: File Deleted - 62048: File Added - 64921: 809825.patch dgp added on 2003-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. dgp added on 2003-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]. kennykb added on 2003-09-21 00:03:54: File Added - 62048: msgcat.patch |
Attachments:
- 809825.patch [download] added by kennykb on 2003-10-21 04:34:18. [details]