From a947ef57f8033a1189d89cc7dfaad7cd27c38174 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 18 Jan 2012 14:53:37 -0500 Subject: [PATCH] Bug 5877 Follow-up for Offline circulation improvements Internationalization fix: Offline circulation operations in Circulation.pm return English strings for display in the template. These strings can't be translated, so we must check their values in the JavaScript and return a translatable string based on their values. Interface change: Switching to text links for checking/unchecking checkboxes since that is more consistent with other areas in Koha. Signed-off-by: Paul Poulain --- C4/Circulation.pm | 2 +- .../prog/en/modules/offline_circ/list.tt | 38 ++++++++++++++++--- 2 files changed, 34 insertions(+), 6 deletions(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index d8a6794b34..d44e862dee 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -3120,7 +3120,7 @@ sub ProcessOfflineIssue { if ( $borrower->{borrowernumber} ) { my $itemnumber = C4::Items::GetItemnumberFromBarcode( $operation->{barcode} ); unless ($itemnumber) { - return "barcode not found"; + return "Barcode not found."; } my $issue = GetOpenIssue( $itemnumber ); diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/list.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/list.tt index 8b1f69bd33..e286cc8ea5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/list.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/list.tt @@ -2,10 +2,20 @@ Koha › Circulation › Offline Circulation [% INCLUDE "doc-head-close.inc" %] + @@ -42,11 +69,12 @@ [% IF ( pending_operations ) %]
- +

| +

- + -- 2.39.5
  Date Action Barcode