Do not include HTML tags in blocktrans
It is not a good idea to include HTML tags in blocktrans. This confused translators and potentially leads to translation error. In this case, there is no need to do so. This commit moves HTML tags outside of blocktrans. Change-Id: I6f45f1331de8fd5ca4b33f45b008f913dd325a13
This commit is contained in:
parent
1a0206d77e
commit
4e471a68a2
@ -19,9 +19,11 @@
|
||||
<h4>{% trans "Project Limits" %}</h4>
|
||||
<div class="quota_title">
|
||||
<strong class="pull-left">{% trans "Number of Instances" %}</strong>
|
||||
<span class="pull-right">
|
||||
{% blocktrans trimmed with used=usages.totalInstancesUsed|intcomma quota=usages.maxTotalInstances|intcomma|quotainf %}
|
||||
<span class="pull-right">{{ used }} of {{ quota }} Used</span>
|
||||
{{ used }} of {{ quota }} Used
|
||||
{% endblocktrans %}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
{{ minifyspace }}
|
||||
@ -37,9 +39,11 @@
|
||||
|
||||
<div class="quota_title">
|
||||
<strong class="pull-left">{% trans "Number of VCPUs" %}</strong>
|
||||
<span class="pull-right">
|
||||
{% blocktrans trimmed with used=usages.totalCoresUsed|intcomma quota=usages.maxTotalCores|intcomma|quotainf %}
|
||||
<span class="pull-right">{{ used }} of {{ quota }} Used</span>
|
||||
{{ used }} of {{ quota }} Used
|
||||
{% endblocktrans %}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
{{ minifyspace }}
|
||||
@ -55,9 +59,11 @@
|
||||
|
||||
<div class="quota_title">
|
||||
<strong class="pull-left">{% trans "Total RAM" %}</strong>
|
||||
<span class="pull-right">
|
||||
{% blocktrans trimmed with used=usages.totalRAMUsed|intcomma quota=usages.maxTotalRAMSize|intcomma|quotainf %}
|
||||
<span class="pull-right">{{ used }} of {{ quota }} MB Used</span>
|
||||
{{ used }} of {{ quota }} MB Used
|
||||
{% endblocktrans %}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
{{ minifyspace }}
|
||||
@ -74,8 +80,11 @@
|
||||
{% if cinder_enabled %}
|
||||
<div class="quota_title">
|
||||
<strong class="pull-left">{% trans "Number of Volumes" %}</strong>
|
||||
<span class="pull-right">
|
||||
{% blocktrans with used=usages.totalVolumesUsed|intcomma quota=usages.maxTotalVolumes|intcomma|quotainf %}
|
||||
<span class="pull-right">{{ used }} of {{ quota }} Used</span>{% endblocktrans %}
|
||||
{{ used }} of {{ quota }} Used
|
||||
{% endblocktrans %}
|
||||
</span>
|
||||
</div>
|
||||
<div id="quota_volume"
|
||||
class="quota_bar"
|
||||
@ -88,8 +97,11 @@
|
||||
|
||||
<div class="quota_title">
|
||||
<strong class="pull-left">{% trans "Total Volume Storage" %}</strong>
|
||||
<span class="pull-right">
|
||||
{% blocktrans with used=usages.gigabytesUsed|intcomma quota=usages.maxTotalVolumeGigabytes|intcomma|quotainf %}
|
||||
<span class="pull-right">{{ used }} of {{ quota }} GiB Used</span>{% endblocktrans %}
|
||||
{{ used }} of {{ quota }} GiB Used
|
||||
{% endblocktrans %}
|
||||
</span>
|
||||
</div>
|
||||
<div id="quota_volume_storage"
|
||||
class="quota_bar"
|
||||
|
Loading…
Reference in New Issue
Block a user