mirror of
https://opendev.org/openstack/networking-baremetal.git
synced 2026-01-16 23:13:53 +00:00
Remove the unused oslo.i18n bits
There is a discussion to make get_available_languages optional since it pulls in Babel (which is very heavy). Change-Id: Iaa2fc4b467c43a1d3251ebc50040b39764f4b0e4
This commit is contained in:
parent
12d7aab08b
commit
04bc2a6f83
1 changed files with 0 additions and 12 deletions
|
|
@ -19,15 +19,3 @@ _translators = oslo_i18n.TranslatorFactory(domain=DOMAIN)
|
|||
|
||||
# The primary translation function using the well-known name "_"
|
||||
_ = _translators.primary
|
||||
|
||||
# The contextual translation function using the name "_C"
|
||||
# requires oslo.i18n >=2.1.0
|
||||
_C = _translators.contextual_form
|
||||
|
||||
# The plural translation function using the name "_P"
|
||||
# requires oslo.i18n >=2.1.0
|
||||
_P = _translators.plural_form
|
||||
|
||||
|
||||
def get_available_languages():
|
||||
return oslo_i18n.get_available_languages(DOMAIN)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue