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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user