From 2a7505a7f955bbfd5d634a1149301e5bacf38273 Mon Sep 17 00:00:00 2001 From: Paul Derscheid Date: Fri, 26 Sep 2025 15:34:29 +0000 Subject: [PATCH] Bug 40866: Make message translatable --- circ/circulation.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/circ/circulation.pl b/circ/circulation.pl index 1c67cca81ae..4d37cf4f716 100755 --- a/circ/circulation.pl +++ b/circ/circulation.pl @@ -58,6 +58,7 @@ use Koha::SearchEngine; use Koha::SearchEngine::Search; use Koha::Patron::Modifications; use Koha::Token; +use Koha::I18N qw(__); use List::MoreUtils qw( uniq ); @@ -571,8 +572,8 @@ if ( @$barcodes && $op eq 'cud-checkout' ) { my $branchcode = C4::Context->userenv->{branch}; if ($issueconfirmed) { - $message = "Restriction overridden temporarily"; - @message = ("Restriction overridden temporarily"); + $message = __("Restriction overridden temporarily"); + @message = ( __("Restriction overridden temporarily") ); my $infos = ( { -- 2.39.5