Some modules use gettext directly instead of using oslo.i18n (or openstack.common.gettextutils)
Bug #1382476 reported by
Akihiro Motoki
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-neutronclient |
Fix Released
|
Low
|
Hideki Saito |
Bug Description
neutronclient/
The majority is to use oslo.i18n (or openstack.
Mixed usage of _ can be a problem on localization potentially.
import gettext
t = gettext.
try:
ugettext = t.ugettext # Python 2
except AttributeError:
ugettext = t.gettext # Python 3
def _(msg):
return ugettext(msg)
Changed in python-neutronclient: | |
assignee: | nobody → Hideki Saito (saitou) |
Changed in python-neutronclient: | |
milestone: | none → 2.3.9 |
Changed in python-neutronclient: | |
milestone: | 2.3.9 → 2.3.10 |
Changed in python-neutronclient: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/133342
Review: https:/