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

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Apr 10 11:19:42 EDT 2008


Author: dbs
Date: 2008-04-10 10:42:17 -0400 (Thu, 10 Apr 2008)
New Revision: 9294

Modified:
   trunk/Open-ILS/web/opac/locale/en-US/lang.dtd
   trunk/Open-ILS/xul/staff_client/server/cat/marcedit.js
   trunk/Open-ILS/xul/staff_client/server/cat/marcedit.xul
Log:
Make our i18n messagecatalog strings work (need global.css for binding xbl)


Modified: trunk/Open-ILS/web/opac/locale/en-US/lang.dtd
===================================================================
--- trunk/Open-ILS/web/opac/locale/en-US/lang.dtd	2008-04-10 13:59:09 UTC (rev 9293)
+++ trunk/Open-ILS/web/opac/locale/en-US/lang.dtd	2008-04-10 14:42:17 UTC (rev 9294)
@@ -1883,6 +1883,7 @@
 <!ENTITY staff.cat.copy_summary.save_columns.label "Save Columns">
 <!ENTITY staff.cat.copy_summary.sel_clip.label "Copy to Clipboard">
 <!ENTITY staff.cat.copy_summary.print_export.label "Print Export">
+<!ENTITY staff.cat.marcedit.options.label "Options">
 <!ENTITY staff.cat.marcedit.stackSubfields.label "Stack subfields">
 <!ENTITY staff.cat.marcedit.stackSubfields.accesskey "s">
 <!ENTITY staff.cat.marcedit.validate.label "Validate">

Modified: trunk/Open-ILS/xul/staff_client/server/cat/marcedit.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/marcedit.js	2008-04-10 13:59:09 UTC (rev 9293)
+++ trunk/Open-ILS/xul/staff_client/server/cat/marcedit.js	2008-04-10 14:42:17 UTC (rev 9294)
@@ -14,6 +14,8 @@
 
 var xml_record;
 
+function $(id) { return document.getElementById(id); }
+
 function mangle_005() {
 	var now = new Date();
 	var y = now.getUTCFullYear();

Modified: trunk/Open-ILS/xul/staff_client/server/cat/marcedit.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/marcedit.xul	2008-04-10 13:59:09 UTC (rev 9293)
+++ trunk/Open-ILS/xul/staff_client/server/cat/marcedit.xul	2008-04-10 14:42:17 UTC (rev 9294)
@@ -1,5 +1,7 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
+<?xml-stylesheet href="chrome://open_ils_staff_client/skin/global.css" type="text/css"?>
+<?xml-stylesheet href="/xul/server/skin/global.css" type="text/css"?>
 <?xml-stylesheet href="marcedit.css" type="text/css"?>
 
 <!-- LOCALIZATION -->
@@ -17,7 +19,7 @@
 <messagecatalog id="commonStrings" src="/xul/server/locale/<!--#echo var='locale'-->/common.properties" />
 
 <groupbox flex="0">
-	<caption label="Options"/>
+	<caption label="&staff.cat.marcedit.options.label;"/>
 	<hbox flex="1">
 		<checkbox persist="checked" accesskey='&staff.cat.marcedit.stackSubfields.accesskey;' label="&staff.cat.marcedit.stackSubfields.label;" onclick="stackSubfields(this);" checked="false" id="stackSubfields"/>
 		<button label="&staff.cat.marcedit.validate.label;" accesskey="&staff.cat.marcedit.validate.accesskey;" oncommand="validateAuthority(this);"/>



More information about the open-ils-commits mailing list