← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1485084] [NEW] Babel angular extract fails on newline and inner tags

 

Public bug reported:

When there are newline characters or inner tags, the extraction does not
ignore them but treat them as separate lines. This causes the angular-
gettext directive to fail when it tries to fetch the translated message.
If a translate directive is present, it should trim the inner content
and ignore inner tags.

Example:
https://review.openstack.org/#/c/210366/1/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/network/network.help.html

** Affects: horizon
     Importance: High
         Status: New

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

Title:
  Babel angular extract fails on newline and inner tags

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  When there are newline characters or inner tags, the extraction does
  not ignore them but treat them as separate lines. This causes the
  angular-gettext directive to fail when it tries to fetch the
  translated message. If a translate directive is present, it should
  trim the inner content and ignore inner tags.

  Example:
  https://review.openstack.org/#/c/210366/1/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/network/network.help.html

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


Follow ups