From c9cab80212d8a3a106e4778c4ba16b6e1eb0f27b Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Mon, 26 Aug 2024 08:35:03 +0000 Subject: [PATCH] Bug 37574: (follow-up) Fix translatability in .tt file JS in a .tt file needs to use the single underscore. Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt | 8 ++++---- 1 file changed, 4 insertions(+), 4 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 e8f7e72554..0964226894 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt @@ -96,7 +96,7 @@ function(items, bookings){ var itemsSet = new vis.DataSet([{ id: 0, - content: _("Biblio level") + content: _("Record level") }]); for (item of items[0]) { itemsSet.add({ @@ -231,7 +231,7 @@ }, { data: "", - title: __("Status"), + title: _("Status"), name: "status", searchable: false, orderable: false, @@ -239,10 +239,10 @@ render: function (data, type, row, meta) { let is_expired = dayjs(row.end_date).isBefore(new Date()); if (is_expired) { - return '' + __("Expired") + ''; + return '' + _("Expired") + ''; } - return '' + __("Active") + ''; + return '' + _("Active") + ''; } }, { -- 2.39.5