');
@@ -1486,7 +1486,7 @@ Note that permanent location is a code, and location may be an authval.
"columns": [
{
"data": "biblio.title:biblio.medium",
- "title": "Title",
+ "title": _("Title"),
"searchable": true,
"orderable": true,
"render": function(data, type, row, meta) {
@@ -1505,37 +1505,37 @@ Note that permanent location is a code, and location may be an authval.
},
{
"data": "biblio.author",
- "title": "Author",
+ "title": _("Author"),
"searchable": true,
"orderable": true,
},
{
"data": "collection_code",
- "title": "Collection code",
+ "title": _("Collection"),
"searchable": true,
"orderable": true,
},
{
"data": "item_type",
- "title": "Item Type",
+ "title": _("Item type"),
"searchable": false,
"orderable": true,
},
{
"data": "callnumber",
- "title": "Callnumber",
+ "title": _("Callnumber"),
"searchable": true,
"orderable": true,
},
{
"data": "external_id",
- "title": "Barcode",
+ "title": _("Barcode"),
"searchable": true,
"orderable": true,
},
{
"data": "lost_status:last_seen_date:return_claim.patron",
- "title": "Status",
+ "title": _("Status"),
"searchable": false,
"orderable": true,
"render": function(data, type, row, meta) {
@@ -1557,7 +1557,7 @@ Note that permanent location is a code, and location may be an authval.
var result = '\n';
return result;
},
- "title": "Actions",
+ "title": _("Actions"),
"searchable": false,
"orderable": false,
"class": "noExport"
@@ -1613,7 +1613,7 @@ Note that permanent location is a code, and location may be an authval.
/* Report the results */
posting.done(function(data) {
var barcode = $('#external_id').val();
- $('#addResult').replaceWith('
Success: Added '+barcode+'
');
+ $('#addResult').replaceWith('
'+_("Success: Added '%s'").format(barcode)+'
');
$('#external_id').val('').focus();
bundle_changed = 1;
});
@@ -1622,12 +1622,12 @@ Note that permanent location is a code, and location may be an authval.
if ( data.status === 409 ) {
var response = data.responseJSON;
if ( response.key === "PRIMARY" ) {
- $('#addResult').replaceWith('
Failure: Item '+barcode+' belongs to another bundle
');
+ $('#addResult').replaceWith('
'+_("Failure: Item '%s' belongs to another bundle").format(barcode)+'
');
}
} else {
- $('#addResult').replaceWith('
Failure: Check the logs for details
');
+ $('#addResult').replaceWith('
'+_("Failure: Check the logs for details")+'
');
}
$('#external_id').val('').focus();
});
@@ -1680,7 +1680,7 @@ Note that permanent location is a code, and location may be an authval.
/* Report the results */
deleteReq.done(function(data) {
var barcode = $('#rm_external_id').val();
- $('#removeResult').replaceWith('
'+_("Success: Removed ")+barcode+'
');
+ $('#removeResult').replaceWith('
'+_("Success: Removed '%s'").format(barcode)+'
');
$('#rm_external_id').val('').focus();
bundle_changed = 1;
});
@@ -1689,21 +1689,21 @@ Note that permanent location is a code, and location may be an authval.
if ( data.status === 409 ) {
var response = data.responseJSON;
if ( response.key === "PRIMARY" ) {
- $('#removeResult').replaceWith('
[% t('Scan all barcodes of items found in the items bundle. If any items are missing, they will be marked as lost') | html %]
+
Scan all barcodes of items found in the items bundle. If any items are missing, they will be marked as lost
[% ELSE %]
-
[% t('Optionally scan all barcodes of items found in the items bundle to perform an inventory check. If any items are missing, they will be marked as lost') | html %]
+
Optionally scan all barcodes of items found in the items bundle to perform an inventory check. If any items are missing, they will be marked as lost
[% END %]
@@ -496,11 +496,11 @@
[% END %]
[% IF item.onloan %]
-
+
[% ELSE %]
-
+
[% END %]
-
+
--