From 6f37a8ecdd62fe895b28f771991c76e26beaa41d Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 15 Oct 2024 14:17:16 +0200 Subject: [PATCH] Bug 38147: Fix Edit and Cancel translatability in booking table No idea why they are not picked by the translator script, but this patch is fixing the problem. See comment 0 for a test plan. --- koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt index ce2aaeb0062..5443f9d58f4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt @@ -310,8 +310,8 @@ "render": function(data, type, row, meta) { let result = ""; [% IF CAN_user_circulate_manage_bookings %] - result += ''; - result += ''; + result += ''.format(_("Edit")); + result += ''.format(_("Cancel")); [% END %] return result; } -- 2.34.1