summaryrefslogtreecommitdiffstats
path: root/Lib/gettext.py
Commit message (Collapse)AuthorAgeFilesLines
* Patch by Tim to shut up the compiler's DeprecationWarnings on theBarry Warsaw2002-08-141-18/+9
| | | | high-bit-set hex constants.
* Replace boolean test with is NoneRaymond Hettinger2002-06-011-1/+1
|
* Add a per-message fallback mechanism for translations.Martin v. Löwis2002-01-111-13/+50
|
* Add fallback argument to translation(). Request fallbacks on install.Martin v. Löwis2002-01-111-2/+5
| | | | Fixes #500595.
* added a few more __all__ listsSkip Montanaro2001-01-231-0/+3
| | | | fixed typo in ihooks docstring
* Whitespace normalization.Tim Peters2001-01-141-7/+7
|
* find(): Application of (slightly modified) SF patch #101928 by UlfBarry Warsaw2000-10-161-4/+4
| | | | | | Betlehem, verified by Peter Funk. Fixes preservation of language search order lost due to use of dictionary keys instead of a list. Closes SF bug #116964.
* translation(): Minor optimization patch which avoids instantiating theBarry Warsaw2000-10-051-1/+5
| | | | default value's instance unless it's absolutely necessary.
* Repaired comment.Tim Peters2000-09-011-1/+1
|
* GNUTranslations._parse(): Fix portability problems on 64-bit machinesBarry Warsaw2000-08-311-5/+14
| | | | by masking all unsigned integers with 0xffffffff.
* GNUTranslations.BE_MAGIC: don't be so clever in calculating this fromBarry Warsaw2000-08-311-1/+1
| | | | LE_MAGIC; it breaks on Tru64.
* Finalize this module for Python 2.0 based on feedback and input fromBarry Warsaw2000-08-301-173/+140
| | | | | Martin von Loewis, Peter Funk, James Henstridge, Francois Pinard, and Marc-Andre Lemburg.
* _expand_lang(), _find(): Added support for unaliasing and expanded theBarry Warsaw2000-08-251-4/+53
| | | | | language found in the environment variable, contributed by James Henstridge.
* Group consensus is that supporting alternative locale categories isBarry Warsaw2000-08-251-21/+2
| | | | | useless. So the category argument on _find() is removed, as is the dcgettext() function.
* Initial revision of gettext support for Python. This will undergoBarry Warsaw2000-08-251-0/+288
some changes.