[open-ils-commits] r8525 - in trunk/Open-ILS: web/opac/locale/en-US xul/staff_client/server/cat xul/staff_client/server/locale/en-US

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Jan 29 00:12:17 EST 2008


Author: dbs
Date: 2008-01-28 23:45:00 -0500 (Mon, 28 Jan 2008)
New Revision: 8525

Modified:
   trunk/Open-ILS/web/opac/locale/en-US/lang.dtd
   trunk/Open-ILS/xul/staff_client/server/cat/z3950.js
   trunk/Open-ILS/xul/staff_client/server/locale/en-US/common.properties
Log:
Convert z39.50 client over to common.properties strings from lang.js


Modified: trunk/Open-ILS/web/opac/locale/en-US/lang.dtd
===================================================================
--- trunk/Open-ILS/web/opac/locale/en-US/lang.dtd	2008-01-29 03:10:55 UTC (rev 8524)
+++ trunk/Open-ILS/web/opac/locale/en-US/lang.dtd	2008-01-29 04:45:00 UTC (rev 8525)
@@ -1190,27 +1190,6 @@
 <!ENTITY staff.volume.wizard.page4 "Entering Copy-Level Attribute Defaults">
 <!ENTITY staff.volume.wizard.title "Batch Add Volumes/Copies Wizard">
 <!ENTITY staff.xuleditor_label "XUL TEST">
-<!ENTITY staff.z39_50.search_class.author "Author">
-<!ENTITY staff.z39_50.search_class.isbn "ISBN">
-<!ENTITY staff.z39_50.search_class.issn "ISSN">
-<!ENTITY staff.z39_50.search_class.item_type "Item Type">
-<!ENTITY staff.z39_50.search_class.item_type.all "All Formats"> 
-<!ENTITY staff.z39_50.search_class.item_type.art "Papers/Articles"> 
-<!ENTITY staff.z39_50.search_class.item_type.bks "Books"> 
-<!ENTITY staff.z39_50.search_class.item_type.com "Computer files"> 
-<!ENTITY staff.z39_50.search_class.item_type.map "Maps"> 
-<!ENTITY staff.z39_50.search_class.item_type.mix "Mixed material"> 
-<!ENTITY staff.z39_50.search_class.item_type.rec "Sound recordings"> 
-<!ENTITY staff.z39_50.search_class.item_type.sco "Musical scores"> 
-<!ENTITY staff.z39_50.search_class.item_type.ser "Serials"> 
-<!ENTITY staff.z39_50.search_class.item_type.url "Internet Resources"> 
-<!ENTITY staff.z39_50.search_class.item_type.vis "Visual materials"> 
-<!ENTITY staff.z39_50.search_class.lccn "LCCN">
-<!ENTITY staff.z39_50.search_class.pubdate "PubDate">
-<!ENTITY staff.z39_50.search_class.publisher "Publisher">
-<!ENTITY staff.z39_50.search_class.tcn "Accession #">
-<!ENTITY staff.z39_50.search_class.title "Title">
-<!ENTITY staff.z39_50_import_interface_label "Z39.50 IMPORT">
 <!ENTITY staff.server.admin.offline.xacts.caption "Offline Sessions">
 <!ENTITY staff.server.admin.offline.xacts.refresh.accesskey "R">
 <!ENTITY staff.server.admin.offline.xacts.create.label "Create">

Modified: trunk/Open-ILS/xul/staff_client/server/cat/z3950.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/z3950.js	2008-01-29 03:10:55 UTC (rev 8524)
+++ trunk/Open-ILS/xul/staff_client/server/cat/z3950.js	2008-01-29 04:45:00 UTC (rev 8525)
@@ -206,8 +206,8 @@
                                                         }
                                                         if (attr.label) {
                                                             attrs[i].labels[ attr.label ] = true;
-                                                        } else if (entities['staff.z39_50.search_class.'+i]) {
-                                                            attrs[i].labels[ entities['staff.z39_50.search_class.'+i] ] = true;
+                                                        } else if (document.getElementById('commonStrings').getString('staff.z39_50.search_class.' + i)) {
+                                                            attrs[i].labels[ document.getElementById('commonStrings').getString('staff.z39_50.search_class.' + i) ] = true;
                                                         } else if (attr.name) {
                                                             attrs[i].labels[ attr.name ] = true;
                                                         } else {

Modified: trunk/Open-ILS/xul/staff_client/server/locale/en-US/common.properties
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/locale/en-US/common.properties	2008-01-29 03:10:55 UTC (rev 8524)
+++ trunk/Open-ILS/xul/staff_client/server/locale/en-US/common.properties	2008-01-29 04:45:00 UTC (rev 8525)
@@ -62,3 +62,24 @@
 staff.au_label_first_given_name=First Name
 staff.au_label_second_given_name=Middle Name
 staff.au_label_suffix=Suffix
+staff.z39_50.search_class.author=Author
+staff.z39_50.search_class.isbn=ISBN
+staff.z39_50.search_class.issn=ISSN
+staff.z39_50.search_class.item_type=Item Type
+staff.z39_50.search_class.item_type.all=All Formats
+staff.z39_50.search_class.item_type.art=Papers/Articles
+staff.z39_50.search_class.item_type.bks=Books
+staff.z39_50.search_class.item_type.com=Computer files
+staff.z39_50.search_class.item_type.map=Maps
+staff.z39_50.search_class.item_type.mix=Mixed material
+staff.z39_50.search_class.item_type.rec=Sound recordings
+staff.z39_50.search_class.item_type.sco=Musical scores
+staff.z39_50.search_class.item_type.ser=Serials
+staff.z39_50.search_class.item_type.url=Internet Resources
+staff.z39_50.search_class.item_type.vis=Visual materials
+staff.z39_50.search_class.lccn=LCCN
+staff.z39_50.search_class.pubdate=PubDate
+staff.z39_50.search_class.publisher=Publisher
+staff.z39_50.search_class.tcn=Accession #
+staff.z39_50.search_class.title=Title
+staff.z39_50_import_interface_label=Z39.50 IMPORT



More information about the open-ils-commits mailing list