@@ -, +, @@ --- .../tables/items/catalogue_detail.inc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc @@ -325,8 +325,8 @@ node += '
'; row.cover_image_ids.forEach(id => { node += '
'; - node += ''.format(id, id); - node += 'Local cover image'.format(id, id); + node += ''.format(id, id, _("Local cover image")); + node += '%s'.format(id, id, _("Local cover image")); node += ''; node += '
'; }); @@ -690,7 +690,7 @@ orderable: false, render: function (data, type, row, meta) { if (row.analytics_count == 0) return "" - return '%s analytics'.format(row.item_id, row.analytics_count); + return '%s'.format(row.item_id, _("%s analytics").format(row.analytics_count)); } }, { @@ -698,7 +698,7 @@ searchable: false, orderable: false, render: function (data, type, row, meta) { - return 'Create analytics'.format(row.biblio_id, row.item_id); + return '%s'.format(row.biblio_id, row.item_id, _("Create analytics")); } }, [% END %] @@ -745,17 +745,17 @@ if ( can_edit_items_from[row.holding_library_id] ){ [% IF Koha.Preference('LocalCoverImages') OR Koha.Preference('OPACLocalCoverImages') %] nodes += '
'; - nodes += ' Edit'.format(row.biblio_id, row.item_id); + nodes += ' %s'.format(row.biblio_id, row.item_id, _("Edit")); nodes += ' '; nodes += '
'; [% ELSE %] - nodes += ' Edit'.format(row.biblio_id, row.item_id); + nodes += ' %s'.format(row.biblio_id, row.item_id, _("Edit")); [% END %] } [% IF bundlesEnabled %] - nodes += ''.format(escape_str(row.bundle_items_not_lost_count), escape_str(row.bundle_items_lost_count)); + nodes += ''.format(_("Manage bundle (%s|%s)").format(row.bundle_items_not_lost_count, row.bundle_items_lost_count)); [% END %] return nodes; --