Merge "Add some translation strings"

This commit is contained in:
Jenkins 2014-10-10 12:07:02 +00:00 committed by Gerrit Code Review
commit dcb91e3b55
3 changed files with 8 additions and 8 deletions

View File

@ -7,9 +7,9 @@
<div class="app-metadata">
<div class="app-description">{% if app.description %}{{ app.description|safe }}{% endif %}</div>
<ul>
{% if app.author %}<li><strong>Provided By:</strong> {{ app.author }}</li>{% endif %}
{% if app.tags %}<li><strong>Tags:</strong> {{ app.tags|join:", " }}</li>{% endif %}
{% if app.categories %}<li><strong>Categories:</strong> {{ app.categories|join:", " }}</li>{% endif %}
{% if app.author %}<li><strong>{% trans "Provided By" %}:</strong>{{ app.author }}</li>{% endif %}
{% if app.tags %}<li><strong>{% trans "Tags" %}:</strong> {{ app.tags|join:", " }}</li>{% endif %}
{% if app.categories %}<li><strong>{% trans "Categories" %}:</strong> {{ app.categories|join:", " }}</li>{% endif %}
</ul>
</div>

View File

@ -1,7 +1,7 @@
{% load custom_filters %}
{% load url from future %}
<h3>Categories</h3>
<h3>{% trans "Categories" %}</h3>
<div style="clear:both;"></div>
<div class="columns">

View File

@ -17,7 +17,7 @@
{% block main %}
<div class="table_wrapper">
<h3 class="quota-heading">Recent Activity</h3>
<h3 class="quota-heading">{% trans 'Recent Activity' %}</h3>
{% if latest_list|length > 0 %}
<div class="app-row app-list">
{% for app in latest_list %}
@ -34,7 +34,7 @@
<div class="table_actions clearfix row">
<div class="col-xs-12 col-sm-3 col-md-4 col-lg-4 col-row">
<h3 class="heading_switcher">App Category: <div class="header dropdown">
<h3 class="heading_switcher">{% trans 'App Category:' %} <div class="header dropdown">
<a href="#" class="btn btn-sm btn-default dropdown-toggle" data-toggle="dropdown">
{{ current_category }} <b class="caret"></b></a>
<ul class="dropdown-menu row_actions clearfix">
@ -86,10 +86,10 @@
<div class="btn-toolbar centering">
<div class="btn-group">
{% if view.has_prev_page %}
<a class="btn btn-default" href="{{ view.prev_page_url }}">Previous Page</a>
<a class="btn btn-default" href="{{ view.prev_page_url }}">{% trans "Previous Page" %}</a>
{% endif %}
{% if view.has_next_page %}
<a class="btn btn-default" href="{{ view.next_page_url }}">Next Page</a>
<a class="btn btn-default" href="{{ view.next_page_url }}">{% trans "Next Page" %}</a>
{% endif %}
</div>
</div>