summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchenlx <chenlx@fiberhome.com>2017-03-21 14:35:52 +0800
committerSpyros Trigazis (strigazi) <strigazi@gmail.com>2017-07-28 09:50:08 +0000
commitf501b618fb344b36d2771ac4921746125e1a0871 (patch)
tree346ede7fb5fee6b43ff9bfe547eb5ac18c46f8ed
parent7927f357519e46741f21a3507c3c765c9e41cda4 (diff)
Remove log translations2.7.0
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: I8c1652b5758fcc881a32f507b51f8569561e677d
Notes
Notes (review): Code-Review+2: Madhuri Kumari <madhuri.kumari@intel.com> Code-Review+2: Spyros Trigazis (strigazi) <strigazi@gmail.com> Workflow+1: Spyros Trigazis (strigazi) <strigazi@gmail.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Fri, 28 Jul 2017 10:15:20 +0000 Reviewed-on: https://review.openstack.org/447882 Project: openstack/python-magnumclient Branch: refs/heads/master
-rw-r--r--magnumclient/i18n.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/magnumclient/i18n.py b/magnumclient/i18n.py
index 7a1d0a4..833c576 100644
--- a/magnumclient/i18n.py
+++ b/magnumclient/i18n.py
@@ -23,13 +23,3 @@ _translators = oslo_i18n.TranslatorFactory(domain='magnumclient')
23 23
24# The primary translation function using the well-known name "_" 24# The primary translation function using the well-known name "_"
25_ = _translators.primary 25_ = _translators.primary
26
27# Translators for log levels.
28#
29# The abbreviated names are meant to reflect the usual use of a short
30# name like '_'. The "L" is for "log" and the other letter comes from
31# the level.
32_LI = _translators.log_info
33_LW = _translators.log_warning
34_LE = _translators.log_error
35_LC = _translators.log_critical