fixed errors when run_tests.sh --makemessages

The change Ibf2036d5bbc4c478fcb912f6335104356e8f1317 causes
run_tests.sh --makemessages failure. Make the errors go way.

Closes-Bug: #1379054
Change-Id: I66b68099561bdd451321c7c31391f30827121e7c
This commit is contained in:
Gloria Gu 2014-10-08 15:33:58 -07:00
parent 8175febc07
commit 1b4b38aef2
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@
<dt>{{ info_key }}</dt>
{% for key, val in info_val.items %}
<dd>
{% blocktrans %}{{ key }}: {% autoescape off %}{{ val }}{% endautoescape %}{% endblocktrans %}
{% autoescape off %} {% blocktrans %}{{ key }}:{{ val | safe }} {% endblocktrans %} {% endautoescape %}
</dd>
{% endfor %}
{% endfor %}

View File

@ -39,7 +39,7 @@
<dd>{{ resource.updated_time|parse_isotime|timesince_or_never }}</dd>
<dt>{% trans "Status" %}</dt>
<dd>
{% blocktrans with resource_status=resource.resource_status|title|replace_underscores resource_status_reason=resource.resource_status_reason % }{{ resource_status }}: {{ resource_status_reason }}{% endblocktrans %}
{% blocktrans with resource_status=resource.resource_status|title|replace_underscores resource_status_reason=resource.resource_status_reason %}{{ resource_status }}: {{ resource_status_reason }}{% endblocktrans %}
</dd>
</dl>
</div>