Comment 2 for bug 1592965

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/330183
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=f87b58fcabf84c9b73b07b587416cc0b6cc814b1
Submitter: Jenkins
Branch: master

commit f87b58fcabf84c9b73b07b587416cc0b6cc814b1
Author: Akihiro Motoki <email address hidden>
Date: Thu Jun 16 05:06:32 2016 +0900

    i18n: trim whitespaces in extracted messages from AngularJS templates

    When extracting translation messages from AngularJS templates,
    there is no need to keep whitespaces in the messages as there is
    no meaning of repeated whitespaces in HTML.
    This will make translation effort much simpler.
    More detail is described in the bug report.

    This commit trims such whitespaces. Django provides a convenient method
    to do the same purpose for 'trimmed' option in Django templates.
    This method is reused in this commit as well.

    Closes-Bug: #1592965
    Change-Id: I9b7ce54452f3db2350eecc3115db2e4173df5167