Make our i18n messagecatalog strings work (need global.css for binding xbl)
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 10 Apr 2008 14:42:17 +0000 (14:42 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 10 Apr 2008 14:42:17 +0000 (14:42 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@9294 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/opac/locale/en-US/lang.dtd
Open-ILS/xul/staff_client/server/cat/marcedit.js
Open-ILS/xul/staff_client/server/cat/marcedit.xul

index 104158a..6d343ca 100644 (file)
 <!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">
index cfbdcef..e0a473f 100644 (file)
@@ -14,6 +14,8 @@ var bib_data;
 
 var xml_record;
 
+function $(id) { return document.getElementById(id); }
+
 function mangle_005() {
        var now = new Date();
        var y = now.getUTCFullYear();
index 53069c1..d42c4c2 100644 (file)
@@ -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);"/>