Bug 35475: Improve concatenated string and fix error in JS file
Fixes 2 problems noted in comment#2 and comment#3 on the bug
report.
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit f0e7260a29
)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
ff9fe04792
commit
46156c1981
2 changed files with 2 additions and 2 deletions
|
@ -90,7 +90,7 @@
|
|||
for (item of items[0]) {
|
||||
itemsSet.add({
|
||||
id: item.item_id,
|
||||
content: _("Item") + " " + item.external_id,
|
||||
content: _("Item %s").format(item.external_id),
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -28,6 +28,6 @@ $("#cancelBookingForm").on('submit', function(e) {
|
|||
});
|
||||
|
||||
deleting.fail(function(data) {
|
||||
$('#cancel_booking_result').replaceWith('<div id="booking_result" class="alert alert-danger">'+_("Failure")+'</div>');
|
||||
$('#cancel_booking_result').replaceWith('<div id="booking_result" class="alert alert-danger">'+__("Failure")+'</div>');
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue