← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1354125] [NEW] Some I18N strings are not translator friendly

 

Public bug reported:

horizon/templates/horizon/common/_usage_summary.html:
blocktrans contains non-simple HTML tags and the range of blocktrans seems natural.

   <form action="?" method="get" id="date_form" class="form-inline">
     <h3>{% trans "Select a period of time to query its usage" %}: </h3>
     <div class="datepicker form-group">
     {% blocktrans with start=form.start end=form.end %}
     <label>From:</label> {{ start }}
     </div>
     <div class="datepicker form-group">
       <label>To:</label>{{ end }}{% endblocktrans %}
     </div>

openstack_dashboard/dashboards/admin/images/templates/images/properties/_edit.html:
The sensence and the value are concatenated in the code and translators cannot control the word order.

  <p>{% trans 'Update the custom property value for' %} &quot;{{ key
}}&quot;</p>

** Affects: horizon
     Importance: Low
     Assignee: Akihiro Motoki (amotoki)
         Status: In Progress


** Tags: i18n

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

Title:
  Some I18N strings are not translator friendly

Status in OpenStack Dashboard (Horizon):
  In Progress

Bug description:
  horizon/templates/horizon/common/_usage_summary.html:
  blocktrans contains non-simple HTML tags and the range of blocktrans seems natural.

     <form action="?" method="get" id="date_form" class="form-inline">
       <h3>{% trans "Select a period of time to query its usage" %}: </h3>
       <div class="datepicker form-group">
       {% blocktrans with start=form.start end=form.end %}
       <label>From:</label> {{ start }}
       </div>
       <div class="datepicker form-group">
         <label>To:</label>{{ end }}{% endblocktrans %}
       </div>

  openstack_dashboard/dashboards/admin/images/templates/images/properties/_edit.html:
  The sensence and the value are concatenated in the code and translators cannot control the word order.

    <p>{% trans 'Update the custom property value for' %} &quot;{{ key
  }}&quot;</p>

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


Follow ups

References