Merge "Add i18n trans tag for strings in template file"

This commit is contained in:
Jenkins 2015-12-14 09:29:01 +00:00 committed by Gerrit Code Review
commit c0d31e59b8
3 changed files with 5 additions and 5 deletions

View File

@ -17,7 +17,7 @@
<div class="app-details-link"><a
href="{% url 'horizon:murano:catalog:application_details' app.id %}"
class="btn-link">Details &raquo;</a></div>
class="btn-link">{% trans "Details" %} &raquo;</a></div>
</div>
</div>

View File

@ -74,7 +74,7 @@
<div class="form-group">
<button type="submit"
class="btn btn-default btn-sm"
id="apps__action_filter">Filter
id="apps__action_filter">{% trans "Filter" %}
</button>
</div>
</form>

View File

@ -28,7 +28,7 @@
data-disabled="true"
aria-expanded="false"
id="envAppsCategoryBtn">
<span id="envAppsCategoryName">All</span>
<span id="envAppsCategoryName">{% trans "All" %}</span>
<span class="caret"></span>
</button>
<ul class="dropdown-menu scrollable-menu"
@ -37,7 +37,7 @@
<li role="presentation"><a
role="menuitem" tabindex="-1"
data-category-name="All"
href="#">All</a>
href="#">{% trans "All" %}</a>
</li>
{% for category in categories %}
<li role="presentation"><a
@ -55,7 +55,7 @@
<div class="has-feedback" id="envAppsFilter">
<input class="form-control" value="{{ search }}"
type="text"
placeholder="Find in a selected category">
placeholder={% trans "Find in a selected category" %}>
<span class="fa fa-search form-control-feedback search-icon"></span>
</div>
</div>