From: dbs Date: Thu, 24 Jan 2008 20:51:34 +0000 (+0000) Subject: Localize checkin and checkout interfaces X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=bb8cc4bdb74d28058128ba6ba872c7adeee7ed3f;p=Evergreen.git Localize checkin and checkout interfaces git-svn-id: svn://svn.open-ils.org/ILS/trunk@8498 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/opac/locale/en-US/lang.dtd b/Open-ILS/web/opac/locale/en-US/lang.dtd index a95d94ab4f..86bced1308 100644 --- a/Open-ILS/web/opac/locale/en-US/lang.dtd +++ b/Open-ILS/web/opac/locale/en-US/lang.dtd @@ -1474,3 +1474,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Open-ILS/xul/staff_client/server/circ/checkin.xul b/Open-ILS/xul/staff_client/server/circ/checkin.xul index 13c7de7ab5..ee1554cad2 100644 --- a/Open-ILS/xul/staff_client/server/circ/checkin.xul +++ b/Open-ILS/xul/staff_client/server/circ/checkin.xul @@ -12,7 +12,7 @@ + ]> @@ -35,7 +35,7 @@ function my_init() { try { netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); - if (typeof JSAN == 'undefined') { throw( "The JSAN library object is missing."); } + if (typeof JSAN == 'undefined') { throw( document.getElementById("commonStrings").getString('common.jsan.missing') ); } JSAN.errorLevel = "die"; // none, warn, or die JSAN.addRepository('/xul/server/'); JSAN.use('util.error'); g.error = new util.error(); @@ -64,9 +64,7 @@ } } catch(E) { - var err_msg = "!! This software has encountered an error. Please tell your friendly " + - "system administrator or software developer the following:\n" - + 'circ.checkin.xul\n' + E + '\n'; + var err_msg = document.getElementById("commonStrings").getFormattedString('common.exception', ['circ.checkin.xul', E]); try { g.error.sdump('D_ERROR',err_msg); } catch(E) { dump(err_msg); } alert(err_msg); } @@ -76,7 +74,7 @@ ]]> - + diff --git a/Open-ILS/xul/staff_client/server/circ/checkin_overlay.xul b/Open-ILS/xul/staff_client/server/circ/checkin_overlay.xul index ceb3bb8525..39d8715341 100644 --- a/Open-ILS/xul/staff_client/server/circ/checkin_overlay.xul +++ b/Open-ILS/xul/staff_client/server/circ/checkin_overlay.xul @@ -1,7 +1,10 @@ - + + + + ]> + @@ -11,21 +14,21 @@ - - - - - - + + + + + + - + - + - + - - + + @@ -37,8 +40,8 @@ - @@ -69,27 +72,27 @@ - - + - - - - - - - - + + + + + + + + - + - + - - + + @@ -104,14 +107,14 @@ command="cmd_checkin_print" accesskey="&staff.checkin.print_receipt_label.accesskey;"/>