diff options
author | Gustavo Niemeyer <gustavo@niemeyer.net> | 2004-07-22 18:44:01 +0000 |
---|---|---|
committer | Gustavo Niemeyer <gustavo@niemeyer.net> | 2004-07-22 18:44:01 +0000 |
commit | 895b2faf57d64935616cb1e98919ca66cfa15604 (patch) | |
tree | d9563eaa8f4b67260dae289ff96dcfc6813f1850 /pyconfig.h.in | |
parent | 9c23abff33b146cb173bf3a27b1cbeefef4a5c66 (diff) | |
download | cpython-895b2faf57d64935616cb1e98919ca66cfa15604.tar.gz |
This change implements the following gettext features, as
discussed recently in python-dev:
In _locale module:
- bind_textdomain_codeset() binding
In gettext module:
- bind_textdomain_codeset() function
- lgettext(), lngettext(), ldgettext(), ldngettext(),
which return translated strings encoded in
preferred system encoding, if
bind_textdomain_codeset() was not used.
- Added equivalent functionality in translate()
function and catalog classes.
Every change was also documented.
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r-- | pyconfig.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in index 4918ab7fca..5e1a43c4b8 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -37,6 +37,9 @@ /* Define this if your time.h defines altzone. */ #undef HAVE_ALTZONE +/* Define to 1 if you have the `bind_textdomain_codeset' function. */ +#undef HAVE_BIND_TEXTDOMAIN_CODESET + /* Define to 1 if you have the <bluetooth/bluetooth.h> header file. */ #undef HAVE_BLUETOOTH_BLUETOOTH_H |