From c51321ce9703dacea710e2afeb0281cb16c25341 Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Mon, 1 Apr 2013 01:37:34 +0100 Subject: 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 --- nova/openstack/common/gettextutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- cgit