i18n - Use new translation functions
Bug #1314300 reported by
Kurt Griffiths
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zaqar |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
We need to learn about the new i18n stuff in Oslo and update our code accordingly.
Changed in marconi: | |
milestone: | none → juno-2 |
status: | Fix Committed → Fix Released |
Changed in zaqar: | |
milestone: | juno-2 → 2014.2 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/105498 /git.openstack. org/cgit/ openstack/ marconi/ commit/ ?id=ef9d5247e9f 6fe8592e5e7b755 69c02dbbd8251d
Committed: https:/
Submitter: Jenkins
Branch: master
commit ef9d5247e9f6fe8 592e5e7b75569c0 2dbbd8251d
Author: Flavio Percoco <email address hidden>
Date: Tue Jul 8 18:02:41 2014 +0200
Switch over oslo.i18n
oslo.i18n has recently been released. This patch switches marconi over
oslo.i18n. As per oslo.i18n's instructions, a new i18n module has been
added under marconi. This module defines the translation globals and
imports the necessary functions from oslo.i18n.
The patch doesn't change the way Marconi does translation, this means
that a `_` function is still being injected to the builtins.
Note that the gettextutils module is still a required module from
oslo-inc because there are oslo-inc modules that depend on the old
gettextutils module.
Closes-bug: #1314300
Change-Id: Ifb8f3296d1a0e2 483ebd1c8d868b7 359ecc99fb5