summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2003-04-24 18:13:39 +0000
committerBarry Warsaw <barry@python.org>2003-04-24 18:13:39 +0000
commitc4acc2bd32f14c22f9cd7a95021184809e096ebe (patch)
treee51f109f210992aa53a0ca66b37cdb16c9fcd915 /Python
parentedb155fda199f7fa481d0020e911a6eec0705dfa (diff)
downloadcpython-git-c4acc2bd32f14c22f9cd7a95021184809e096ebe.tar.gz
GNUTranslations:
__init__(): Removed since we no longer need the coerce flag. Message ids and strings are now always coerced to Unicode, /if/ the catalog specified a charset parameter. gettext(), ngettext(): Since the message strings are Unicodes in the catalog, coerce back to encoded 8-bit strings on return. ugettext(), ungettext(): Coerce the message ids to Unicode when there's no entry for the id in the catalog. Minor code cleanups; use booleans where appropriate.
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions