ng launch instance workflow: hard to control the word order in translations
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
High
|
Akihiro Motoki |
Bug Description
The following commit recently merged introduces a difficult situation for translations.
commit be9023d86e058d8
Fix theming in angular launch instance
horizon/
<span translate>Script size:</span>
{$ (scriptLength || 0) | bytes $}
<span translate>of</span>
{$ config.
It is "X of Y", but in some languages, a natural order is "trans(Y) trans(of) trans(X)".
The current code does not allow translators to control the word order.
angular-gettext allows Interpolation.
The above should be like:
<span translation>Script size: {{scriptLength}} of {{max_size}}</span>
Unfortunately I am not familiar with how to use interpolate with filter. It would be nice if someone takes this bug.
Changed in horizon: | |
assignee: | nobody → Rob Cresswell (robcresswell) |
Changed in horizon: | |
assignee: | Rob Cresswell (robcresswell) → Akihiro Motoki (amotoki) |
summary: |
ng launch instance workflow: hard to control the word order in - trasnlations + translations |
Fix proposed to branch: master /review. openstack. org/289328
Review: https:/