diff --git a/languages/en.ini b/languages/en.ini index 8a06a166268c80af72af3950228ccb87cee56aa2..c39ac4fedcbfcd7ba1f918405ccc1968ccf35926 100644 --- a/languages/en.ini +++ b/languages/en.ini @@ -807,6 +807,7 @@ Requests = "Requests" Reserves = "Reserves" Reserves Search = "Reserves Search" Reserves Search Results = "Reserves Search Results" +result_count = "%%count%% results" Results = "Results" results = "results" Results for = "Results for" diff --git a/themes/bootstrap3/templates/search/results.phtml b/themes/bootstrap3/templates/search/results.phtml index 19ddfb0491b78f9d7d02ce4d2ad2fd659f19ade5..37226bcc9a2089b312b23eb88c43c333d7777162 100644 --- a/themes/bootstrap3/templates/search/results.phtml +++ b/themes/bootstrap3/templates/search/results.phtml @@ -56,7 +56,7 @@ <?=$this->transEsc("Showing")?> <strong><?=$this->localizedNumber($this->results->getStartRecord())?></strong> - <strong><?=$this->localizedNumber($this->results->getEndRecord())?></strong> <? if (!isset($this->skipTotalCount)): ?> - <? $this->layout()->srmessage = $recordTotal . ' ' . $this->transEsc('results'); ?> + <? $this->layout()->srmessage = $this->transEsc('result_count', ['%%count%%' => $this->localizedNumber($recordTotal)]); ?> <?=$this->transEsc('of')?> <strong><?=$this->localizedNumber($recordTotal)?></strong> <? endif; ?> <? if (isset($this->overrideSearchHeading)): ?>