Skip to content

Commit

Permalink
Merge pull request #4438 from italia/moresearchstrings
Browse files Browse the repository at this point in the history
search: mark more strings for translation
  • Loading branch information
ericholscher authored Oct 31, 2018
2 parents 671f4a9 + fdec2c8 commit 9917933
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions readthedocs/templates/search/elastic_search.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@

<div class="navigable">
<ul>
<li class="{% if type == 'project' %}active{% endif %}"><a href="?{% url_replace request 'type' 'project' %}">Projects</a></li>
<li class="{% if type == 'file' %}active{% endif %}"><a href="?{% url_replace request 'type' 'file' %}">Files</a></li>
<li class="{% if type == 'project' %}active{% endif %}"><a href="?{% url_replace request 'type' 'project' %}">{% trans 'Projects' %}</a></li>
<li class="{% if type == 'file' %}active{% endif %}"><a href="?{% url_replace request 'type' 'file' %}">{% trans 'Files' %}</a></li>

<hr>

{% if type == 'project' %}

{% if facets.language %}
<h5> Language </h5>
<h5>{% trans 'Language' %}</h5>
{% for name, count in facets.language.items %}
<li class="{% if language == name %}active{% endif %} language-list">
{% if language == name %}
Expand All @@ -44,7 +44,7 @@ <h5> Language </h5>
{% if type == 'file' %}

{% if facets.project %}
<h5> Projects </h5>
<h5>{% trans 'Projects' %}</h5>
{% for name, count in facets.project.items %}
<li class="{% if project == name %}active{% endif %} project-list">
{% if project == name %}
Expand All @@ -61,7 +61,7 @@ <h5> Projects </h5>

{% if facets.version %}

<h5>Version</h5>
<h5>{% trans 'Version' %}</h5>
{% for name, count in facets.version.items %}
<li class="{% if version == name %}active{% endif %} version-list">
{% if version == name %}
Expand All @@ -79,7 +79,7 @@ <h5>Version</h5>

{% if facets.taxonomy %}

<h5>Taxonomy</h5>
<h5>{% trans 'Taxonomy' %}</h5>
{% for name, count in facets.taxonomy.items %}
<li class="{% if taxonomy == name %}active{% endif %}">
{% if taxonomy == name %}
Expand All @@ -105,7 +105,7 @@ <h5>Taxonomy</h5>

</ul>
<div>
<h2>Search</h2>
<h2>{% trans 'Search' %}</h2>
<!-- BEGIN search form -->
<div class="wide-search-bar">
<div class="wide-search-bar-wrapper clearfix">
Expand Down

0 comments on commit 9917933

Please sign in to comment.