mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
Group consensus is that supporting alternative locale categories is
useless. So the test of the dcgettext() function is removed.
This commit is contained in:
parent
84314b72d6
commit
1dce09da61
1 changed files with 0 additions and 6 deletions
|
@ -43,12 +43,6 @@ gettext message catalog library.''')
|
|||
|
||||
print gettext.dgettext('gettext', 'nudge nudge')
|
||||
|
||||
# dcgettext
|
||||
##import locale
|
||||
##if gettext.dcgettext('gettext', 'nudge nudge',
|
||||
## locale.LC_MESSAGES) <> 'wink wink':
|
||||
## print _('dcgettext failed')
|
||||
|
||||
# test the alternative interface
|
||||
fp = open(os.path.join(mofile), 'rb')
|
||||
t = gettext.GNUTranslations(fp)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue