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
This commit is contained in:
Mark McLoughlin
2013-04-01 01:37:34 +01:00
parent a831e9d260
commit c51321ce97

View File

@@ -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):