Browse Source

Remove _LI, _LW, _LE, _LC from i18n

Log translation is no longer used, remove translate functions

Change-Id: I910aed35ae1de39505cbadea19930a8270d95b82
changes/97/467097/1
Ngo Quoc Cuong 5 years ago
parent
commit
ec3057ac66
  1. 10
      octavia/i18n.py

10
octavia/i18n.py

@ -18,13 +18,3 @@ _translators = i18n.TranslatorFactory(domain='octavia')
# The primary translation function using the well-known name "_"
_ = _translators.primary
# Translators for log levels.
#
# The abbreviated names are meant to reflect the usual use of a short
# name like '_'. The "L" is for "log" and the other letter comes from
# the level.
_LI = _translators.log_info
_LW = _translators.log_warning
_LE = _translators.log_error
_LC = _translators.log_critical

Loading…
Cancel
Save