summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-07-28 12:11:26 +0000
committerGerrit Code Review <review@openstack.org>2017-07-28 12:11:26 +0000
commit97dd5908f80ab7bb4b2e36c8bbf0c37739938439 (patch)
tree30fe6ea851f0aa9ad75ee8848c44f03fd2e51c84
parent13e0ed08fbdf3e2600b2c12da302a828862ad8db (diff)
parent80004296373ecfd14f81dd2a64c3efaf1e104467 (diff)
Merge "Remove log translations"2.12.0stable/pike
-rw-r--r--troveclient/_i18n.py10
-rw-r--r--troveclient/i18n.py10
2 files changed, 0 insertions, 20 deletions
diff --git a/troveclient/_i18n.py b/troveclient/_i18n.py
index c8abc94..3f323fb 100644
--- a/troveclient/_i18n.py
+++ b/troveclient/_i18n.py
@@ -35,16 +35,6 @@ _C = _translators.contextual_form
35# requires oslo.i18n >=2.1.0 35# requires oslo.i18n >=2.1.0
36_P = _translators.plural_form 36_P = _translators.plural_form
37 37
38# Translators for log levels.
39#
40# The abbreviated names are meant to reflect the usual use of a short
41# name like '_'. The "L" is for "log" and the other letter comes from
42# the level.
43_LI = _translators.log_info
44_LW = _translators.log_warning
45_LE = _translators.log_error
46_LC = _translators.log_critical
47
48 38
49def get_available_languages(): 39def get_available_languages():
50 return oslo_i18n.get_available_languages(DOMAIN) 40 return oslo_i18n.get_available_languages(DOMAIN)
diff --git a/troveclient/i18n.py b/troveclient/i18n.py
index 30c96a1..8d351b7 100644
--- a/troveclient/i18n.py
+++ b/troveclient/i18n.py
@@ -29,13 +29,3 @@ _translators = oslo_i18n.TranslatorFactory(domain='python-troveclient')
29 29
30# The primary translation function using the well-known name "_" 30# The primary translation function using the well-known name "_"
31_ = _translators.primary 31_ = _translators.primary
32
33# Translators for log levels.
34#
35# The abbreviated names are meant to reflect the usual use of a short
36# name like '_'. The "L" is for "log" and the other letter comes from
37# the level.
38_LI = _translators.log_info
39_LW = _translators.log_warning
40_LE = _translators.log_error
41_LC = _translators.log_critical