← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1354125] Re: Some I18N strings are not translator friendly

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

-- 
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):
  Fix Released

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


References