diff options
author | liyi <liyi8611@gmail.com> | 2017-03-21 13:01:13 +0800 |
---|---|---|
committer | liyi <liyi8611@gmail.com> | 2017-03-23 11:39:51 +0800 |
commit | fb5e3908917199810c54ffbdc433e9cd327133b1 (patch) | |
tree | 939adb1ba722f69d6d43f862eb0305ff9609723c /heatclient/_i18n.py | |
parent | a795a9a30485a8b3f4e612a66eddfe2843efb306 (diff) | |
download | python-heatclient-fb5e3908917199810c54ffbdc433e9cd327133b1.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: I601eee9f1fca65d5fb53e6b75482b74283908a29
Diffstat (limited to 'heatclient/_i18n.py')
-rw-r--r-- | heatclient/_i18n.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/heatclient/_i18n.py b/heatclient/_i18n.py index 1177be4..f8c6269 100644 --- a/heatclient/_i18n.py +++ b/heatclient/_i18n.py @@ -28,16 +28,6 @@ _translators = oslo_i18n.TranslatorFactory(domain='heatclient') # 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 - def get_available_languages(): return oslo_i18n.get_available_languages('heatclient') |