@@ -, +, @@ you are in "More details" mode - Open the cart. You should see a button labeled "Print." - The print button should work correctly. - Update a translation, e.g. fr-FR: > cd misc/translator > perl translate update fr-FR - Open the corresponding .po file for JavaScript strings, misc/translator/po/fr-FR-messages-js.po - Locate strings pulled from koha-tmpl/opac-tmpl/bootstrap/js/datatables.js for translation: msgid "Print" msgstr "" - Edit the "msgstr" string however you want (it's just for testing). - Install the updated translation: > perl translate install fr-FR - Switch to your newly translated language in the OPAC and repeat the test plan above. The translated strings should appear. --- koha-tmpl/opac-tmpl/bootstrap/js/datatables.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/koha-tmpl/opac-tmpl/bootstrap/js/datatables.js +++ a/koha-tmpl/opac-tmpl/bootstrap/js/datatables.js @@ -27,7 +27,8 @@ var dataTablesDefaults = { "copySuccess": { _: window.MSG_DT_COPIED_ROWS || "Copied %d rows to clipboard", 1: window.MSG_DT_COPIED_ONE_ROW || "Copied one row to clipboard", - } + }, + "print": __("Print") } }, "dom": 't', --