translation sync broken

Bug #1691006 reported by Andreas Jaeger on 2017-05-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Medium
Julie Pichon

Bug Description

check for example the post job that pushes translations to the translation server:

http://logs.openstack.org/34/34b393a086042a53ea88c45657082c388de9b97a/post/tripleo-ui-upstream-translation-update/16bb759/

"[ERROR] Operation failed: missing end-quote"

Somehow the format of the generated file is not understood by the zanata cli.

this block pushing translation changes to the translation server.

tags: added: i18n
Julie Pichon (jpichon) wrote :

Thanks Andreas! I wonder if a newline sneaked through again like for bug 1674011...

tags: added: ui
Changed in tripleo:
status: New → Triaged
importance: Undecided → Medium
milestone: none → pike-2
Julie Pichon (jpichon) on 2017-05-16
Changed in tripleo:
assignee: nobody → Julie Pichon (jpichon)
Julie Pichon (jpichon) wrote :

$ npm run build
$ npm run json2pot
$ grep msgid i18n/messages.pot | grep -v \"$
msgid "You need to select Nodes first or there is operation already in progress on

Fix proposed to branch: master
Review: https://review.openstack.org/465013

Changed in tripleo:
status: Triaged → In Progress

Reviewed: https://review.openstack.org/465013
Committed: https://git.openstack.org/cgit/openstack/tripleo-ui/commit/?id=90bf844a2edd338eb18cbb201884616e3854e72f
Submitter: Jenkins
Branch: master

commit 90bf844a2edd338eb18cbb201884616e3854e72f
Author: Julie Pichon <email address hidden>
Date: Tue May 16 10:25:11 2017 +0100

    Remove linebreak from translatable string

    The new line was breaking the translation jobs, as it gets copied as is
    into the pot file. In general, it's better to use "+"-style
    concatenation for translatable/user-facing strings, as otherwise the
    unnecessary spaces from the indentation also get included in the string
    to translate, which can be confusing to translators.

    Change-Id: I49ba048e1b06199c54b93f2b14ce07b5acdf131d
    Closes-Bug: #1691006

Changed in tripleo:
status: In Progress → Fix Released
Julie Pichon (jpichon) wrote :

Post job just completed, confirming we're back in the green: http://status.openstack.org/openstack-health/#/job/tripleo-ui-upstream-translation-update

This issue was fixed in the openstack/tripleo-ui 7.1.0 release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers