← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1536214] Re: PO files broken

 

** Changed in: nova/kilo
       Status: Fix Committed => Fix Released

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

Title:
  PO files broken

Status in OpenStack Compute (nova):
  Fix Released
Status in OpenStack Compute (nova) kilo series:
  Fix Released
Status in OpenStack Compute (nova) liberty series:
  Fix Committed

Bug description:
  python setup.py compile_catalog fails to compile the existing
  translated files for Spanish and Turkish - both in master and liberty.

  Suggested action:
  1) Fix the strings in translation server so that next translation import gets strings that are valid
  2) Add lint check that checks that translations are valid.

  For 2: Add to tox.ini a check like it's done for keystone:
    # Check that .po and .pot files are valid.
    bash -c "find nova -type f -regex '.*\.pot?' -print0| \
             xargs -0 -n 1 msgfmt --check-format -o /dev/null"

  Change 2)  will take care that the daily translation import cannot
  import again non-valid translations. 2) should only merge once 1) is
  fixed and imported.

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


References