Remove translation logging prefixes from i18n
Related-Bug: #1694193 Change-Id: I3c2ab7e1838dc750f201f4bdf0063f5526885d09
This commit is contained in:
parent
aa3c903441
commit
c7441f030a
@ -16,15 +16,5 @@ import oslo_i18n as i18n
|
|||||||
|
|
||||||
_translators = i18n.TranslatorFactory(domain='barbican')
|
_translators = i18n.TranslatorFactory(domain='barbican')
|
||||||
|
|
||||||
# The primary translation function using the well-known name "_"
|
# The translation function using the well-known name "_"
|
||||||
_ = _translators.primary
|
_ = _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…
x
Reference in New Issue
Block a user