From 1c05edc2bd07dad6431f5f222ea4e8f423ec4866 Mon Sep 17 00:00:00 2001 From: dbs Date: Sat, 2 Feb 2008 21:15:51 +0000 Subject: [PATCH] i18n for copy details and circulation summary screens git-svn-id: svn://svn.open-ils.org/ILS/trunk@8585 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/opac/locale/en-US/lang.dtd | 16 ++++++ .../xul/staff_client/server/circ/circ_summary.xul | 16 +++--- .../xul/staff_client/server/circ/copy_details.xul | 62 ++++++++++++++-------- .../server/locale/en-US/circ.properties | 11 ++++ 4 files changed, 77 insertions(+), 28 deletions(-) diff --git a/Open-ILS/web/opac/locale/en-US/lang.dtd b/Open-ILS/web/opac/locale/en-US/lang.dtd index c5bd8b1305..8d5638f792 100644 --- a/Open-ILS/web/opac/locale/en-US/lang.dtd +++ b/Open-ILS/web/opac/locale/en-US/lang.dtd @@ -1503,3 +1503,19 @@ + + + + + + + + + + + + + + + + diff --git a/Open-ILS/xul/staff_client/server/circ/circ_summary.xul b/Open-ILS/xul/staff_client/server/circ/circ_summary.xul index 9b0988c886..47e60f1369 100644 --- a/Open-ILS/xul/staff_client/server/circ/circ_summary.xul +++ b/Open-ILS/xul/staff_client/server/circ/circ_summary.xul @@ -1,4 +1,4 @@ - + @@ -12,7 +12,7 @@ + ]> @@ -42,7 +42,9 @@ 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(); @@ -136,13 +138,13 @@