Correct the translation domain for loading messages

Change-Id: If7fa8fd1915378bda3fc6e361049c2d90cdec8af
This commit is contained in:
Doug Hellmann 2014-12-22 11:24:07 -05:00
parent 6301575fef
commit 1649c6b45f
2 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ See http://docs.openstack.org/developer/oslo.i18n/usage.html .
from oslo import i18n
_translators = i18n.TranslatorFactory(domain='oslo_log')
_translators = i18n.TranslatorFactory(domain='oslo.log')
# The primary translation function using the well-known name "_"
_ = _translators.primary

View File

@ -40,10 +40,10 @@ upload-dir = doc/build/html
[compile_catalog]
directory = oslo.log/locale
domain = oslo_log
domain = oslo.log
[update_catalog]
domain = oslo_log
domain = oslo.log
output_dir = oslo.log/locale
input_file = oslo.log/locale/oslo.log.pot