Manifest of check-in
[55d1d19622]
- * doc/msgcat.n: Clarified message catalog file encodings. [Bug 811457]
* library/msgcat/msgcat.tcl:
Updated internals to make use of [dict]s to store message catalog
data and to use [source -encoding utf-8] to access catalog files.
Thanks to Michael Sclenker. [Patch 875055, RFE 811459]
Corrected [mcset] to be able to successfully set a translation to
the empty string. [mcset $loc $src {}] was incorrectly set the
$loc translation of $src back to $src. Also changed [ConvertLocale]
to minimally require a non-empty "language" part in the locale value.
If not, an error raised prompts [Init] to keep looking for a valid
locale value, or ultimately fall back on the "C" locale. [Bug 811461].
* library/msgcat/pkgIndex.tcl: Bump to msgcat 1.4.1.
by
dgp on
2004-03-31 18:51:33.
B 45053de92d11f8392ee04d267e40e3b3e02b6e6b
C \s\s\s\s\s\s\s\s*\sdoc/msgcat.n:\sClarified\smessage\scatalog\sfile\sencodings.\s[Bug\s811457]\n\s\s\s\s\s\s\s\s*\slibrary/msgcat/msgcat.tcl:\n\s\s\s\s\s\s\s\sUpdated\sinternals\sto\smake\suse\sof\s[dict]s\sto\sstore\smessage\scatalog\n\s\s\s\s\s\s\s\sdata\sand\sto\suse\s[source\s-encoding\sutf-8]\sto\saccess\scatalog\sfiles.\n\s\s\s\s\s\s\s\sThanks\sto\sMichael\sSclenker.\s\s[Patch\s875055,\sRFE\s811459]\n\s\s\s\s\s\s\s\sCorrected\s[mcset]\sto\sbe\sable\sto\ssuccessfully\sset\sa\stranslation\sto\n\s\s\s\s\s\s\s\sthe\sempty\sstring.\s\s[mcset\s$loc\s$src\s{}]\swas\sincorrectly\sset\sthe\n\s\s\s\s\s\s\s\s$loc\stranslation\sof\s$src\sback\sto\s$src.\s\sAlso\schanged\s[ConvertLocale]\n\s\s\s\s\s\s\s\sto\sminimally\srequire\sa\snon-empty\s"language"\spart\sin\sthe\slocale\svalue.\n\s\s\s\s\s\s\s\sIf\snot,\san\serror\sraised\sprompts\s[Init]\sto\skeep\slooking\sfor\sa\svalid\n\s\s\s\s\s\s\s\slocale\svalue,\sor\sultimately\sfall\sback\son\sthe\s"C"\slocale.\s[Bug\s811461].\n\s\s\s\s\s\s\s\s*\slibrary/msgcat/pkgIndex.tcl:\s\sBump\sto\smsgcat\s1.4.1.\n
D 2004-03-31T18:51:33
F ChangeLog 7335235cb6f5a34d66c0b229d620419dd783345c
F doc/msgcat.n 065de0327281dbd8d58fd061d8b770ae99088cba
F generic/tcl.h ffa730181379e2285326a1f22bd9264063e7a61d
F library/msgcat/msgcat.tcl b161d887220615dc758583c4ebf804092b8ee5eb
P 82b2f2dd601e2a974e1c77544efddced12ef5269
U dgp
Z e6301286bf99da9ee6b0c5a690e20ee4