diff options
author | loooosy <syluo5695@fiberhome.com> | 2017-03-21 13:56:33 +0800 |
---|---|---|
committer | Siyi Luo <syluo5695@fiberhome.com> | 2017-03-22 14:17:23 +0000 |
commit | fd2e1f8a04b78185e0c516c8c65e443f74f99340 (patch) | |
tree | bb246c00264670d47348eb464601bf2ba0326ef7 | |
parent | 07de1eed161be9304ca03d04b00168a01242b6ad (diff) | |
download | oslo-log-fd2e1f8a04b78185e0c516c8c65e443f74f99340.tar.gz |
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: Icd0b501fe919d0857990302b4cc78d54248b8d22
-rw-r--r-- | oslo_log/_i18n.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/oslo_log/_i18n.py b/oslo_log/_i18n.py index 15c84e7..935a5f9 100644 --- a/oslo_log/_i18n.py +++ b/oslo_log/_i18n.py @@ -25,13 +25,3 @@ _translators = oslo_i18n.TranslatorFactory(domain='oslo_log') # 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 |