~ubuntu-branches/ubuntu/vivid/ironic/vivid-updates

« back to all changes in this revision

Viewing changes to ironic/openstack/common/_i18n.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2015-03-30 11:14:57 UTC
  • mfrom: (1.2.6)
  • Revision ID: package-import@ubuntu.com-20150330111457-kr4ju3guf22m4vbz
Tags: 2015.1~b3-0ubuntu1
* New upstream release.
  + d/control: 
    - Align with upstream dependencies.
    - Add dh-python to build-dependencies.
    - Add psmisc as a dependency. (LP: #1358820)
  + d/p/fix-requirements.patch: Rediffed.
  + d/ironic-conductor.init.in: Fixed typos in LSB headers,
    thanks to JJ Asghar. (LP: #1429962)

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
"""
18
18
 
19
19
try:
20
 
    import oslo.i18n
 
20
    import oslo_i18n
21
21
 
22
22
    # NOTE(dhellmann): This reference to o-s-l-o will be replaced by the
23
23
    # application name when this module is synced into the separate
24
24
    # repository. It is OK to have more than one translation function
25
25
    # using the same domain, since there will still only be one message
26
26
    # catalog.
27
 
    _translators = oslo.i18n.TranslatorFactory(domain='ironic')
 
27
    _translators = oslo_i18n.TranslatorFactory(domain='ironic')
28
28
 
29
29
    # The primary translation function using the well-known name "_"
30
30
    _ = _translators.primary