commit dfeacc294fec956fd98892d4ad6534a9427bc3a1
Author: Richard Jones <email address hidden>
Date: Thu Apr 7 14:28:05 2016 +1000
Fix babel msgids to include tag attributes and entities
The messages for translation were omitting the attributes in
tags and HTML entities embedded in the translation strings,
thus they no longer matched the original HTML.
Additionally, HTML entities are mostly (but not always) decoded
by the browser before angular-gettext sees them, so we have to
emulate this behaviour in our babel extractor so the message
ids match.
Reviewed: https:/ /review. openstack. org/316767 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=dfeacc294fe c956fd98892d4ad 6534a9427bc3a1
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit dfeacc294fec956 fd98892d4ad6534 a9427bc3a1
Author: Richard Jones <email address hidden>
Date: Thu Apr 7 14:28:05 2016 +1000
Fix babel msgids to include tag attributes and entities
The messages for translation were omitting the attributes in
tags and HTML entities embedded in the translation strings,
thus they no longer matched the original HTML.
Additionally, HTML entities are mostly (but not always) decoded
by the browser before angular-gettext sees them, so we have to
emulate this behaviour in our babel extractor so the message
ids match.
Change-Id: Ie6ae0776a2c0d7 db589b34a9e7676 508178a473d fea6ed5761616c4 0463a2e269)
Closes-Bug: 1561550
Closes-Bug: 1561738
Closes-Bug: 1561761
(cherry picked from commit fdf0bf6f186f056