Skip to content

Commit

Permalink
Translation templates
Browse files Browse the repository at this point in the history
  • Loading branch information
joelit committed Sep 1, 2023
1 parent f265f1e commit a50f656
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/view/search-results-filter.inc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% block content %}
<div class="col-md-4 pe-3">
<div class="p-4" id="sidebar">
<h4 class="fw-bold mb-5">Rajaus</h4>
<h4 class="fw-bold mb-5">{{ "Search options" | trans }}</h4>
</div>
</div>
{% endblock %}
2 changes: 1 addition & 1 deletion src/view/search-results.inc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% block content %}
{%~ if search_results is not null and search_results|length == 0 ~%}
<p class="no-results">"The search provided no results."</p>
<p class="no-results">{{ "The search provided no results." | trans }}</p>
{%~ endif ~%}

{%~ for concept in search_results ~%} {# loop through the hits #}
Expand Down
2 changes: 1 addition & 1 deletion src/view/vocab-search.twig
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<div class="col-md-8 ps-3" id="main-content">
<div class="p-5 pt-4">
<div class="search-count {% if limit_type or limit_parent or limit_group or limit_scheme %}search-limited{% endif %}">
<p class="py-2"><span class="fw-bold">{{ search_count }} results for</span> '{{ term }}'</p>
<p class="py-2"><span class="fw-bold">{{ "%search_count% results for '%term%'" | trans({'%search_count%': search_count, '%term%' : term}) }}</span></p>
</div>
{% include "search-results.inc" %}
</div>
Expand Down

0 comments on commit a50f656

Please sign in to comment.