diff options
author | Mark McLoughlin <markmc@redhat.com> | 2013-04-01 01:37:34 +0100 |
---|---|---|
committer | Mark McLoughlin <markmc@redhat.com> | 2013-04-01 11:37:06 -0400 |
commit | c51321ce9703dacea710e2afeb0281cb16c25341 (patch) | |
tree | 1f225b999de0c2480862d7754c8490ac3d569f36 | |
parent | a831e9d2608aa9fd6200ea873e3cb766322a6c3c (diff) | |
download | nova-c51321ce9703dacea710e2afeb0281cb16c25341.tar.gz nova-c51321ce9703dacea710e2afeb0281cb16c25341.tar.xz nova-c51321ce9703dacea710e2afeb0281cb16c25341.zip |
Sync latest gettextutils from oslo-incubator
Fixes bug #1076285
Ensure translations for strings under nova.openstack.common are
translated using the 'nova' translation domain rather than the
non-existent 'openstack-common' translation domain.
Change-Id: I6aee3061cbffd3bf940f1881e8540cd996d0b12a
-rw-r--r-- | nova/openstack/common/gettextutils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/openstack/common/gettextutils.py b/nova/openstack/common/gettextutils.py index d52309e62..b9993b491 100644 --- a/nova/openstack/common/gettextutils.py +++ b/nova/openstack/common/gettextutils.py @@ -26,7 +26,7 @@ Usual usage in an openstack.common module: import gettext -t = gettext.translation('openstack-common', 'locale', fallback=True) +t = gettext.translation('nova', 'locale', fallback=True) def _(msg): |