Bug 34479: Fix string for translatability
When moved from .tt to .js we need to convert the single
underscore into a double underscore.
Also uses format() to better deal with the variable.
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 066e349561
)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
8ea3e73edc
commit
265826ea32
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ function showPatronSelections(number) {
|
|||
if (number === 0) {
|
||||
$("#table_search_selections").hide()
|
||||
} else {
|
||||
$("#table_search_selections").show().find("span").text(_("Patrons selected: " + number));
|
||||
$("#table_search_selections").show().find("span").text(__("Patrons selected: %s".format(number)));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue