Usual usage in an openstack.common module:
- from /home/jsbryant/cinder-dev/gettextutilsSync/cinder/.openstack.common.gettextutils import _
+ from cinder.openstack.common.gettextutils import _
"""
import copy
# module within each application.
# Create the global translation functions.
-_translators = TranslatorFactory('/home/jsbryant/cinder-dev/gettextutilsSync/cinder/')
+_translators = TranslatorFactory('cinder')
# The primary translation function using the well-known name "_"
_ = _translators.primary
"""
def __new__(cls, msgid, msgtext=None, params=None,
- domain='/home/jsbryant/cinder-dev/gettextutilsSync/cinder/', *args):
+ domain='cinder', *args):
"""Create a new Message object.
In order for translation to work gettext requires a message ID, this