Bug 31082: Make the string translatable
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
826db3092b
commit
4c21e6a3e2
|
|
@ -1915,7 +1915,7 @@
|
|||
"data": function( row, type, val, meta ) {
|
||||
var result;
|
||||
if (duedate) {
|
||||
result = '<button class="btn btn-default btn-xs remove disabled" role="button" data-itemnumber="'+row.item_id+'" title="This bundle is checked out, it cannot be modified"><i class="fa fa-minus" aria-hidden="true"></i> '+_("Remove")+'</button>\n';
|
||||
result = '<button class="btn btn-default btn-xs remove disabled" role="button" data-itemnumber="'+row.item_id+'" title="%s"><i class="fa fa-minus" aria-hidden="true"></i> %s</button>\n'.format(_("This bundle is checked out, it cannot be modified"), _("Remove"));
|
||||
} else {
|
||||
result = '<button class="btn btn-default btn-xs remove" role="button" data-itemnumber="'+row.item_id+'"><i class="fa fa-minus" aria-hidden="true"></i> '+_("Remove")+'</button>\n';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue