Manifest of check-in
[daef4a2fce]
- * doc/msgcat.n: Clarified message catalog file encodings. [Bug 811457]
* library/msgcat/msgcat.tcl ([mcset], [ConvertLocale], [Init]):
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.3.2.
by
dgp on
2004-03-31 18:50:58.
B 9621fb37c566cca5e966df8c2374a579b279e63a
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\s([mcset],\s[ConvertLocale],\s[Init]):\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.3.2.\n
D 2004-03-31T18:50:58
F ChangeLog 7a35bf33ce849fb2e25b9d12a2270b744b71835c
F doc/msgcat.n b2b9b94a0e3871a9b2454fa261ddaeaa78db9d5f
F generic/tclObj.c a50df00f3adba793eb919d49edd147765df69b2b
F library/msgcat/msgcat.tcl 344ac794f10c4861a2b23c8e5f47171694bff597
F library/msgcat/pkgIndex.tcl 6b0f431e36635700404e7c4fd67a69142b777e4c
P fa32fbb4de91fd4f55e2263b80c5843888ceb008
U dgp
Z baabbff076d5ee3ad178d12149770810