-
{% include "search-results.inc" %}
{{ search_count }} results for '{{ term }}'
+{{ "%search_count% results for '%term%'" | trans({'%search_count%': search_count, '%term%' : term}) }}
diff --git a/src/view/search-results-filter.inc b/src/view/search-results-filter.inc index c748f94b5..fc1e3bbd7 100644 --- a/src/view/search-results-filter.inc +++ b/src/view/search-results-filter.inc @@ -1,7 +1,7 @@ {% block content %}
"The search provided no results."
+{{ "The search provided no results." | trans }}
{%~ endif ~%} {%~ for concept in search_results ~%} {# loop through the hits #} diff --git a/src/view/vocab-search.twig b/src/view/vocab-search.twig index 6de896100..7d41fb668 100644 --- a/src/view/vocab-search.twig +++ b/src/view/vocab-search.twig @@ -9,7 +9,7 @@{{ search_count }} results for '{{ term }}'
+{{ "%search_count% results for '%term%'" | trans({'%search_count%': search_count, '%term%' : term}) }}