From: phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Date: Mon, 7 Jun 2010 17:55:13 +0000 (+0000)
Subject: I'm not a fan of I18N-effort on debug output meant for developers.  In this case... 
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=8ad88fb58f322ac125ff4daa34ffd56f23e49df0;p=evergreen%2Ftadl.git

I'm not a fan of I18N-effort on debug output meant for developers.  In this case, the wrong preferences file was being referenced, causing an error

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16616 dcc99617-32d9-48b4-a31d-7c20da2025e4
---

diff --git a/Open-ILS/xul/staff_client/server/locale/en-US/patron.properties b/Open-ILS/xul/staff_client/server/locale/en-US/patron.properties
index c113c30539..1a53a4c02f 100644
--- a/Open-ILS/xul/staff_client/server/locale/en-US/patron.properties
+++ b/Open-ILS/xul/staff_client/server/locale/en-US/patron.properties
@@ -75,7 +75,6 @@ staff.patron.bills.void_all_billings.error_voiding_bills=Error voiding bills.
 staff.patron.bills.void_all_billings.billings_voided=Billings voided.
 staff.patron.bill_wizard.patron_bill_finish.billing_added=Billing added.
 staff.patron.display.cmd_search_form.no_patron=No Patron Selected
-staff.patron.display.cmd_patron_edit.edit_search=Editor would like to search for: %1$s
 staff.patron.display.cmd_patron_delete.dialog.title=Delete Patron Account
 staff.patron.display.cmd_patron_delete.dialog.message=Completely OBLITERATE this patron account, including bills, payments, bookbags, etc?  This is IRREVERSIBLE.
 staff.patron.display.cmd_patron_delete.dialog.confirmation=Check here to confirm this action.
diff --git a/Open-ILS/xul/staff_client/server/patron/display.js b/Open-ILS/xul/staff_client/server/patron/display.js
index 953e0ecf92..3fdfc0be80 100644
--- a/Open-ILS/xul/staff_client/server/patron/display.js
+++ b/Open-ILS/xul/staff_client/server/patron/display.js
@@ -218,7 +218,7 @@ patron.display.prototype = {
                                 obj.reset_nav_styling('cmd_patron_edit');
 
                                 function spawn_search(s) {
-                                    obj.error.sdump('D_TRACE', $("commonStrings").getFormattedString('staff.patron.display.cmd_patron_edit.edit_search', [js2JSON(s)]) ); 
+                                    obj.error.sdump('D_TRACE', 'Editor would like to search for: ' + js2JSON(s)); 
                                     obj.OpenILS.data.stash_retrieve();
                                     xulG.new_patron_tab( {}, { 'doit' : 1, 'query' : js2JSON(s) } );
                                 }