From 4dee803ca182714c7bfd9f3cc82b8976c48fea38 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Thu, 14 Mar 2013 11:21:01 +0200 Subject: [PATCH] Allow translating one final untranslatable error message in checkout interface Signed-off-by: Pasi Kallinen Signed-off-by: Ben Shum --- Open-ILS/xul/staff_client/server/circ/checkout.js | 2 +- Open-ILS/xul/staff_client/server/locale/en-US/circ.properties | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/circ/checkout.js b/Open-ILS/xul/staff_client/server/circ/checkout.js index 79c2cd17f1..ea6afa606c 100644 --- a/Open-ILS/xul/staff_client/server/circ/checkout.js +++ b/Open-ILS/xul/staff_client/server/circ/checkout.js @@ -709,7 +709,7 @@ circ.checkout.prototype = { status_name = obj.data.hash.ccs[ r.payload.status() ].name(); return status_name; } catch (E) { - return "Could not retrieve the name of the current status for the copy"; // XXX + return document.getElementById('circStrings').getString('staff.circ.checkout.error_retrieving_copy_status'); } }, '7010' : function(r) { diff --git a/Open-ILS/xul/staff_client/server/locale/en-US/circ.properties b/Open-ILS/xul/staff_client/server/locale/en-US/circ.properties index 0cba79908d..2f058ae6ae 100644 --- a/Open-ILS/xul/staff_client/server/locale/en-US/circ.properties +++ b/Open-ILS/xul/staff_client/server/locale/en-US/circ.properties @@ -49,6 +49,7 @@ staff.circ.checkout.override.confirm=Override Checkout Failure? staff.circ.checkout.override.item_deposit_required.warning=A billing for an Item Deposit will be added to the patron's account if this action is overrided. staff.circ.checkout.override.item_rental_fee_required.warning=A billing for an Item Rental Fee will be added to the patron's account if this action is overrided. staff.circ.checkout.override.will_auto=If overriden now, subsequent checkouts during this patron's session will auto-override this event. +staff.circ.checkout.error_retrieving_copy_status=Could not retrieve the name of the current status for the copy staff.circ.checkout.not_cataloged.confirm=Barcode %1$s was either mis-scanned or is a non-cataloged item. Checkout as a pre-cataloged item? staff.circ.pre_cataloged=Pre-cataloged staff.circ.non_cataloged=Non-cataloged -- 2.43.2