Skip to content
Snippets Groups Projects
Commit c7fa59b5 authored by Chris Hallberg's avatar Chris Hallberg
Browse files

Tokenized string for sr-only search result feedback.

parent d4dd4e73
No related merge requests found
......@@ -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"
......
......@@ -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)): ?>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment