← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1226354] Re: Some translation strings are not displayed due to ugettext (without ugettext_lazy)

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1226354

Title:
  Some translation strings are not displayed due to ugettext (without
  ugettext_lazy)

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  I found "ugettext " method by "grep" command.

    <result>
    vagrant@precise64:/opt/stack/horizon$ grep -r "ugettext " ./
    ./openstack_dashboard/dashboards/router/nexus1000v/tabs.py:from django.utils.translation import ugettext as _  # noqa
    ./openstack_dashboard/dashboards/project/overview/views.py:from django.utils.translation import ugettext as _  # noqa
    ./openstack_dashboard/dashboards/project/firewalls/tables.py:from django.utils.translation import ugettext as _  # noqa
    ./openstack_dashboard/dashboards/project/firewalls/views.py:from django.utils.translation import ugettext as _  # noqa
    ./openstack_dashboard/dashboards/project/firewalls/tabs.py:from django.utils.translation import ugettext as _  # noqa
    ./openstack_dashboard/dashboards/project/firewalls/workflows.py:from django.utils.translation import ugettext as _  # noqa

  it should be replaced with "ugettext_lazy"  like the bug "1124276"

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1226354/+subscriptions