From d5e3652d12210df1625b854749e9552b6e3f315e Mon Sep 17 00:00:00 2001 From: "bhavani.cr" Date: Wed, 5 Jul 2017 16:55:13 +0530 Subject: [PATCH] Remove log translations Log messages are no longer being translated. This removes all use of the _LE, _LI, and _LW translation markers to simplify logging and to avoid confusion with new contributions. See: http://lists.openstack.org/pipermail/openstack-i18n/2016-November/002574.html http://lists.openstack.org/pipermail/openstack-dev/2017-March/113365.html Change-Id: I5407d08ff524f82146af4ac8153e17e7a801b1a0 refer:https://review.openstack.org/#/c/479262/ --- oslo_config/_i18n.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/oslo_config/_i18n.py b/oslo_config/_i18n.py index 21f8c86b..2145c5ad 100644 --- a/oslo_config/_i18n.py +++ b/oslo_config/_i18n.py @@ -35,16 +35,6 @@ _C = _translators.contextual_form # requires oslo.i18n >=2.1.0 _P = _translators.plural_form -# 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 - def get_available_languages(): return oslo_i18n.get_available_languages(DOMAIN)