Group consensus is that supporting alternative locale categories is

useless.  So the test of the dcgettext() function is removed.
This commit is contained in:
Barry Warsaw 2000-08-25 19:53:51 +00:00
parent 84314b72d6
commit 1dce09da61

View file

@ -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)