← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1319284] [NEW] STATUS_CHOICES need to add _ for translate

 

Public bug reported:

The code:
STATUS_CHOICES = (
        ("active", True),
        ("shutoff", True),
        ("suspended", True),
        ("paused", True),
        ("error", False),
    )

need to change to:
STATUS_CHOICES = (
        (_("Active"), True),
       ......
    )

** Affects: horizon
     Importance: Undecided
     Assignee: tinytmy (tangmeiyan77)
         Status: New

** Changed in: horizon
     Assignee: (unassigned) => tinytmy (tangmeiyan77)

-- 
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/1319284

Title:
  STATUS_CHOICES need to add _ for translate

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  The code:
  STATUS_CHOICES = (
          ("active", True),
          ("shutoff", True),
          ("suspended", True),
          ("paused", True),
          ("error", False),
      )

  need to change to:
  STATUS_CHOICES = (
          (_("Active"), True),
         ......
      )

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


Follow ups

References