strip out messagecatalog
authorJason Etheridge <jason@esilibrary.com>
Mon, 4 Feb 2013 07:00:30 +0000 (02:00 -0500)
committerJason Etheridge <jason@esilibrary.com>
Mon, 4 Feb 2013 07:00:30 +0000 (02:00 -0500)
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
93 files changed:
Open-ILS/xul/staff_client/chrome/content/OpenILS/util_overlay_chrome.xul
Open-ILS/xul/staff_client/chrome/content/admin/survey_wizard.xul
Open-ILS/xul/staff_client/chrome/content/cat/opac.xul
Open-ILS/xul/staff_client/chrome/content/circ/offline.xul
Open-ILS/xul/staff_client/chrome/content/circ/offline_checkin.xul
Open-ILS/xul/staff_client/chrome/content/circ/offline_checkout.xul
Open-ILS/xul/staff_client/chrome/content/circ/offline_in_house_use.xul
Open-ILS/xul/staff_client/chrome/content/circ/offline_register.xul
Open-ILS/xul/staff_client/chrome/content/circ/offline_renew.xul
Open-ILS/xul/staff_client/chrome/content/main/bindings.xml
Open-ILS/xul/staff_client/chrome/content/main/main.xul
Open-ILS/xul/staff_client/chrome/content/main/menu_frame.xul
Open-ILS/xul/staff_client/chrome/skin/global.css
Open-ILS/xul/staff_client/server/OpenILS/util_overlay.xul
Open-ILS/xul/staff_client/server/admin/circ_age_to_lost.xul
Open-ILS/xul/staff_client/server/admin/do_not_auto_attempt_print_setting.xul
Open-ILS/xul/staff_client/server/admin/font_settings.xul
Open-ILS/xul/staff_client/server/admin/offline_manage_xacts.xul
Open-ILS/xul/staff_client/server/admin/patrons_due_refunds.xul
Open-ILS/xul/staff_client/server/admin/printer_settings.xul
Open-ILS/xul/staff_client/server/admin/toolbar.xul
Open-ILS/xul/staff_client/server/admin/transit_list.xul
Open-ILS/xul/staff_client/server/admin/work_log.xul
Open-ILS/xul/staff_client/server/cat/bib_brief.xul
Open-ILS/xul/staff_client/server/cat/bib_brief_vertical.xul
Open-ILS/xul/staff_client/server/cat/copy_browser.xul
Open-ILS/xul/staff_client/server/cat/copy_buckets.xul
Open-ILS/xul/staff_client/server/cat/copy_buckets_quick.xul
Open-ILS/xul/staff_client/server/cat/copy_editor.xul
Open-ILS/xul/staff_client/server/cat/copy_notes.xul
Open-ILS/xul/staff_client/server/cat/copy_summary.xul
Open-ILS/xul/staff_client/server/cat/manage_multi_home_items.xul
Open-ILS/xul/staff_client/server/cat/marc_new.xul
Open-ILS/xul/staff_client/server/cat/marc_view.xul
Open-ILS/xul/staff_client/server/cat/marcedit.css
Open-ILS/xul/staff_client/server/cat/marcedit.xul
Open-ILS/xul/staff_client/server/cat/record_buckets.xul
Open-ILS/xul/staff_client/server/cat/record_buckets_overlay.xul
Open-ILS/xul/staff_client/server/cat/record_buckets_quick.xul
Open-ILS/xul/staff_client/server/cat/spine_labels.xul
Open-ILS/xul/staff_client/server/cat/volume_buckets.xul
Open-ILS/xul/staff_client/server/cat/volume_copy_creator.xul
Open-ILS/xul/staff_client/server/cat/volume_copy_editor_horiz.xul
Open-ILS/xul/staff_client/server/cat/volume_editor.xul
Open-ILS/xul/staff_client/server/cat/z3950.xul
Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.xul
Open-ILS/xul/staff_client/server/circ/backdate_post_checkin.xul
Open-ILS/xul/staff_client/server/circ/checkin.xul
Open-ILS/xul/staff_client/server/circ/checkout.xul
Open-ILS/xul/staff_client/server/circ/circ_brief.xul
Open-ILS/xul/staff_client/server/circ/copy_details.xul
Open-ILS/xul/staff_client/server/circ/copy_status.xul
Open-ILS/xul/staff_client/server/circ/in_house_use.xul
Open-ILS/xul/staff_client/server/circ/missing_pieces.xul
Open-ILS/xul/staff_client/server/circ/pre_cat_fields.xul
Open-ILS/xul/staff_client/server/circ/print_list_template_editor.xul
Open-ILS/xul/staff_client/server/circ/renew.xul
Open-ILS/xul/staff_client/server/main/verify_credentials.xul
Open-ILS/xul/staff_client/server/patron/barcode_entry.xul
Open-ILS/xul/staff_client/server/patron/bill2.xul
Open-ILS/xul/staff_client/server/patron/bill_cc_info.xul
Open-ILS/xul/staff_client/server/patron/bill_check_info.xul
Open-ILS/xul/staff_client/server/patron/bill_details.xul
Open-ILS/xul/staff_client/server/patron/bill_history.xul
Open-ILS/xul/staff_client/server/patron/bill_wizard.xul
Open-ILS/xul/staff_client/server/patron/display.xul
Open-ILS/xul/staff_client/server/patron/display_horiz.xul
Open-ILS/xul/staff_client/server/patron/edit_standing_penalty.xul
Open-ILS/xul/staff_client/server/patron/hold_cancel.xul
Open-ILS/xul/staff_client/server/patron/hold_details.xul
Open-ILS/xul/staff_client/server/patron/holds.xul
Open-ILS/xul/staff_client/server/patron/info_group.xul
Open-ILS/xul/staff_client/server/patron/info_notes.xul
Open-ILS/xul/staff_client/server/patron/info_stat_cats.xul
Open-ILS/xul/staff_client/server/patron/info_surveys.xul
Open-ILS/xul/staff_client/server/patron/items.xul
Open-ILS/xul/staff_client/server/patron/new_standing_penalty.xul
Open-ILS/xul/staff_client/server/patron/place_hold.xul
Open-ILS/xul/staff_client/server/patron/search_form.xul
Open-ILS/xul/staff_client/server/patron/search_form_horiz.xul
Open-ILS/xul/staff_client/server/patron/search_result.xul
Open-ILS/xul/staff_client/server/patron/staged.xul
Open-ILS/xul/staff_client/server/patron/standing_penalties.xul
Open-ILS/xul/staff_client/server/patron/summary.xul
Open-ILS/xul/staff_client/server/patron/user_edit.xul
Open-ILS/xul/staff_client/server/serial/batch_receive.xul
Open-ILS/xul/staff_client/server/serial/notes.xul
Open-ILS/xul/staff_client/server/serial/pattern_wizard.xul
Open-ILS/xul/staff_client/server/serial/select_aou.xul
Open-ILS/xul/staff_client/server/serial/select_unit.xul
Open-ILS/xul/staff_client/server/serial/serctrl_main.xul
Open-ILS/xul/staff_client/server/serial/sitem_editor.xul
Open-ILS/xul/staff_client/server/skin/global.css

index c3b9e47..48c14fe 100644 (file)
@@ -63,8 +63,8 @@
         <script type='text/javascript' src='util/en-US/OrgTree.js' />
         <script type="text/javascript" src="util/org_utils.js" />   
         <script type="text/javascript" src="global_util.js" />   
-        <messagecatalog id="offlineStrings" src='chrome://open_ils_staff_client/locale/offline.properties'/>
-        <messagecatalog id="authStrings" src='chrome://open_ils_staff_client/locale/auth.properties'/>
+        
+        
         <hbox id="debug_box" hidden="true" flex="1" style="border: red thin dashed">
             <label value="Debug:" />
             <textbox id="debug_tb" flex="1"/>
index 6fe3dba..5f26e09 100644 (file)
@@ -54,7 +54,7 @@
     ]]>
     </script>
 
-    <messagecatalog id="offlineStrings" src="chrome://open_ils_staff_client/locale/offline.properties"/>
+    
 
     <!-- Layout to be filled in by overlays and javascript -->
     <wizardpage id="page1"/>
index ab15bc3..4854577 100644 (file)
@@ -29,7 +29,7 @@
     <script type="text/javascript" src="chrome://open_ils_staff_client/content/main/JSAN.js"/>
     <script type="text/javascript" src="chrome://open_ils_staff_client/content/cat/opac.js"/>
     
-    <messagecatalog id="offlineStrings" src="chrome://open_ils_staff_client/locale/offline.properties"/>
+    
 
     <vbox flex="1">
         <deck id="top_pane"/>
index dbd9111..cf43240 100644 (file)
@@ -75,7 +75,7 @@
     ]]>
     </script>
 
-    <messagecatalog id="offlineStrings" src="chrome://open_ils_staff_client/locale/offline.properties"/>
+    
 
     <groupbox flex="1" class="my_overflow">
         <caption label="&staff.circ.offline.main.label;"/>
index 8c43929..f27ea8d 100644 (file)
@@ -29,7 +29,7 @@
     <script type="text/javascript" src="chrome://open_ils_staff_client/content/main/JSAN.js"/>
     <script type="text/javascript" src="offline_checkin.js"/>
 
-    <messagecatalog id="offlineStrings" src="chrome://open_ils_staff_client/locale/offline.properties"/>
+    
 
     <groupbox flex="1">
         <caption label="&staff.circ.offline_checkin.main.label;"/>
index a66f3df..ebdc9df 100644 (file)
@@ -29,7 +29,7 @@
     <script type="text/javascript" src="chrome://open_ils_staff_client/content/main/JSAN.js"/>
     <script type="text/javascript" src="offline_checkout.js"/>
 
-    <messagecatalog id="offlineStrings" src="chrome://open_ils_staff_client/locale/offline.properties"/>
+    
 
     <groupbox flex="1">
         <caption label="&staff.circ.offline_checkout.main.label;"/>
index 57d7d66..36cc613 100644 (file)
@@ -29,7 +29,7 @@
     <script type="text/javascript" src="chrome://open_ils_staff_client/content/main/JSAN.js"/>
     <script type="text/javascript" src="offline_in_house_use.js"/>
 
-    <messagecatalog id="offlineStrings" src="chrome://open_ils_staff_client/locale/offline.properties"/>
+    
 
     <groupbox flex="1">
         <caption label="&staff.circ.offline_in_house_use.main.label;"/>
index 571a649..9d4c9cf 100644 (file)
@@ -29,7 +29,7 @@
     <script type="text/javascript" src="chrome://open_ils_staff_client/content/main/JSAN.js"/>
     <script type="text/javascript" src="offline_register.js"/>
 
-    <messagecatalog id="offlineStrings" src="chrome://open_ils_staff_client/locale/offline.properties"/>
+    
 
     <groupbox flex="1">
         <caption label="&staff.circ.offline_register.main.label;"/>
index 3d41709..c1aeeb3 100644 (file)
@@ -29,7 +29,7 @@
     <script type="text/javascript" src="chrome://open_ils_staff_client/content/main/JSAN.js"/>
     <script type="text/javascript" src="offline_renew.js"/>
 
-    <messagecatalog id="offlineStrings" src="chrome://open_ils_staff_client/locale/offline.properties"/>
+    
 
     <groupbox flex="1">
         <caption label="&staff.circ.offline_renew.main.label;"/>
index 35f179e..a0d0fc7 100644 (file)
         </implementation>
     </binding>
 
-
-       <binding id="messagecatalog">
-               <resources/>
-
-               <content>
-                       <children>
-                       </children>
-               </content>
-
-               <implementation>
-
-                       <constructor>
-                               <![CDATA[
-                try {
-                        this._load_sprintf();
-                        this._props = {};
-                        this._load_from_src();
-                } catch(E) {
-                    alert('Error constructing messagecatalog in bindings.xml: ' + E);
-                    throw(E);
-                }
-                               ]]>
-                       </constructor>
-
-                       <property name="src">
-                               <getter>
-                                       <![CDATA[
-                    try {
-                                       return this.getAttribute('src');
-                    } catch(E) {
-                        alert('Error getting @src in messagecatalog in bindings.xml: ' + E);
-                        throw(E);
-                    }
-                                       ]]>
-                               </getter>
-                               <setter>
-                                       <![CDATA[
-                    try {
-                                           this.setAttribute('src',val);
-                                       this.load_from_src();
-                                       return val;
-                    } catch(E) {
-                        alert('Error setting @src in messagecatalog in bindings.xml: ' + E);
-                        throw(E);
-                    }
-                                       ]]>
-                               </setter>
-                       </property>
-
-                       <method name="_load_from_src">
-                               <body>
-                                       <![CDATA[
-                    try {
-                            var x = new XMLHttpRequest();
-                            x.open("GET",this.src,false);
-                            x.send(null);
-                            if ((x.status == 0 || x.status == 200) && x.responseText) {
-                                var props = this._props2object(x.responseText);
-                                for (var i in props) {
-                                    this._props[i] = props[i];
-                                }
-                            } else {
-                                var msg = "messageCatalog: No text from " + this.src;
-                                alert(msg); throw(msg);
-                            }
-                           
-                            try { // fail silently if no custom properties file exists
-                                var custom_src = String(this.src).replace(/\.properties$/,'_custom.properties'); 
-                                var x2 = new XMLHttpRequest();
-                                x2.open("GET",custom_src,false);
-                                x2.send(null);
-                                if ((x2.status == 0 || x2.status == 200) && x2.responseText) {
-                                    var props = this._props2object(x2.responseText);
-                                    for (var i in props) {
-                                        this._props[i] = props[i];
-                                    }
-                                }
-                            } catch(EE) {}
-
-                    } catch(E) {
-                        alert('Error loading properties in messagecatalog in bindings.xml: ' + E);
-                        throw(E);
-                    }
-                                       ]]>
-                               </body>
-                       </method>
-
-                       <method name="_props2object">
-                               <parameter name="str"/>
-                               <body>
-                                       <![CDATA[
-                        try {
-                            var lines = str.split("\n");
-                            var props = {};
-                            var line = '';
-                            var in_comment = false;
-
-                            for (var l in lines) {
-                                line += lines[l];
-
-                                // handle multi-line comments
-                                if (line.indexOf('/*') >= 0) in_comment = true;
-
-                                if (in_comment && line.indexOf('*/') > 0) {
-                                    var comment_start = line.indexOf('/*');
-                                    var comment_end = line.indexOf('*/');
-                                    line = line.substring(0, comment_start) + line.substring(0, comment_end + 2);
-                                    in_comment = false;
-                                } else if (in_comment) continue;
-                                    
-                                // get rid of entire-line comments
-                                if (line.indexOf('#') == 0) {
-                                    line = '';
-                                    continue;
-                                }
-
-                                // handle end-of-line comments
-                                var end_comment = line.indexOf('//');
-                                if (end_comment >= 0) line = line.substring(0, end_comment);
-
-                                // and line concatenation
-                                if (line.charAt(line.length - 1) == '\\') {
-                                    line = line.substring(0,line.length - 1);
-                                    continue;
-                                }
-
-                                var eq_pos = line.indexOf('=');
-                                if (eq_pos < 0) continue;
-
-                                var k = line.substring(0,eq_pos);
-                                k = k.replace(/\s+/g,"");
-
-                                var v = line.substring(eq_pos + 1);
-
-                                var current_m = 0;
-                                var cont = false;
-                                do {    
-                                    if (v.indexOf( "{" + current_m + "}" ) >= 0 ) {
-                                        var mes_bund = new RegExp( "\\\{" + current_m + "\\\}", 'g' );
-                                        var sprintf_format = "%" + (current_m + 1) + "$s";
-
-                                        v = v.replace( mes_bund, sprintf_format );
-
-                                        cont = true;
-                                        current_m++;
-                                    } else {
-                                        cont = false;
-                                    }
-                                } while ( cont == true );
-
-                                props[k] = v;
-                                line = '';
-                                }
-
-                            return props;
-                        } catch(E) {
-                            alert('Error in props2object in messagecatalog in bindings.xml: ' + E);
-                            throw(E);
-                        }
-                                       ]]>
-                               </body>
-                       </method>
-
-                       <method name="testString">
-                               <parameter name="key"/>
-                               <body>
-                                       <![CDATA[
-                                               try {
-                            var str = this._props[key];
-                            return (typeof str != 'undefined');
-                                               } catch(e) {
-                            return false;
-                                               }
-                                       ]]>
-                               </body>
-                       </method>
-
-
-                       <method name="getString">
-                               <parameter name="key"/>
-                               <body>
-                                       <![CDATA[
-                                               try {
-                            var str = this._props[key];
-                            if (typeof str == 'undefined') throw(str);
-                                                       return str;
-                                               } catch(e) {
-                                                       alert("*** Failed to get string " + key + " in bundle: " + this.src + "\n" + e);
-                                                       throw(e);
-                                               }
-                                       ]]>
-                               </body>
-                       </method>
-
-                       <method name="getFormattedString">
-                               <parameter name="key"/>
-                               <parameter name="params"/>
-                               <body>
-                                       <![CDATA[
-                                               try {
-                                                       var str = this._props[key]; 
-                            if (typeof str == 'undefined') throw(str);
-                                                       var these = [ str ].concat(params);
-                                                       var v = this.sprintf.apply(this,these);
-
-                                                       // replace unicode escapes
-/*
-                                                       v = v.replace(
-                                                               /\\u([0-9a-f]{4})/gi,
-                                                               function (r,s) { return String.fromCharCode(s); }
-                                                       );
-*/
-
-                                                       return v;
-                                               } catch(e) {
-                                                       alert("*** Failed to get string " + key + " in bundle: " + this.src + "\n");
-                                                       throw(e);
-                                               }
-                                       ]]>
-                               </body>
-                       </method>
-
-                       <method name="_load_sprintf">
-                               <body>
-                                       <![CDATA[
-                                       try { 
-                                               this.sprintf = function() {
-                                                               // FIXME - is the following license GPL-compatible? seems equivalent to the public domain
-                                                               /**
-                                                                * JavaScript printf/sprintf functions.
-                                                                *
-                                                                * This code is unrestricted: you are free to use it however you like.
-                                                                * 
-                                                                * The functions should work as expected, performing left or right alignment,
-                                                                * truncating strings, outputting numbers with a required precision etc.
-                                                                *
-                                                                * For complex cases, these functions follow the Perl implementations of
-                                                                * (s)printf, allowing arguments to be passed out-of-order, and to set the
-                                                                * precision or length of the output based on arguments instead of fixed
-                                                                * numbers.
-                                                                *
-                                                                * See http://perldoc.perl.org/functions/sprintf.html for more information.
-                                                                *
-                                                                * Implemented:
-                                                                * - zero and space-padding
-                                                                * - right and left-alignment,
-                                                                * - base X prefix (binary, octal and hex)
-                                                                * - positive number prefix
-                                                                * - (minimum) width
-                                                                * - precision / truncation / maximum width
-                                                                * - out of order arguments
-                                                                *
-                                                                * Not implemented (yet):
-                                                                * - vector flag
-                                                                * - size (bytes, words, long-words etc.)
-                                                                * 
-                                                                * Will not implement:
-                                                                * - %n or %p (no pass-by-reference in JavaScript)
-                                                                *
-                                                                * @version 2007.04.27
-                                                                * @author Ash Searle
-                                                                */
-
-                                                       function pad(str, len, chr, leftJustify) {
-                                                       var padding = (str.length >= len) ? '' : Array(1 + len - str.length >>> 0).join(chr);
-                                                       return leftJustify ? str + padding : padding + str;
-
-                                                       }
-
-                                                       function justify(value, prefix, leftJustify, minWidth, zeroPad) {
-                                                       var diff = minWidth - value.length;
-                                                       if (diff > 0) {
-                                                               if (leftJustify || !zeroPad) {
-                                                               value = pad(value, minWidth, ' ', leftJustify);
-                                                               } else {
-                                                               value = value.slice(0, prefix.length) + pad('', diff, '0', true) + value.slice(prefix.length);
-                                                               }
-                                                       }
-                                                       return value;
-                                                       }
-
-                                                       function formatBaseX(value, base, prefix, leftJustify, minWidth, precision, zeroPad) {
-                                                       // Note: casts negative numbers to positive ones
-                                                       var number = value >>> 0;
-                                                       prefix = prefix && number && {'2': '0b', '8': '0', '16': '0x'}[base] || '';
-                                                       value = prefix + pad(number.toString(base), precision || 0, '0', false);
-                                                       return justify(value, prefix, leftJustify, minWidth, zeroPad);
-                                                       }
-
-                                                       function formatString(value, leftJustify, minWidth, precision, zeroPad) {
-                                                       if (precision != null) {
-                                                               value = value.slice(0, precision);
-                                                       }
-                                                       return justify(value, '', leftJustify, minWidth, zeroPad);
-                                                       }
-
-                                                       var a = arguments, i = 0, format = a[i++];
-                                                       return format.replace(/%%|%(\d+\$)?([-+#0 ]*)(\*\d+\$|\*|\d+)?(\.(\*\d+\$|\*|\d+))?([scboxXuidfegEGS])/g, function(substring, valueIndex, flags, minWidth, _, precision, type) {
-                                                               if (substring == '%%') return '%';
-
-                                                               // parse flags
-                                                               var leftJustify = false, positivePrefix = '', zeroPad = false, prefixBaseX = false;
-                                                               for (var j = 0; flags && j < flags.length; j++) switch (flags.charAt(j)) {
-                                                               case ' ': positivePrefix = ' '; break;
-                                                               case '+': positivePrefix = '+'; break;
-                                                               case '-': leftJustify = true; break;
-                                                               case '0': zeroPad = true; break;
-                                                               case '#': prefixBaseX = true; break;
-                                                               }
-
-                                                               // parameters may be null, undefined, empty-string or real valued
-                                                               // we want to ignore null, undefined and empty-string values
-
-                                                               if (!minWidth) {
-                                                               minWidth = 0;
-                                                               } else if (minWidth == '*') {
-                                                               minWidth = +a[i++];
-                                                               } else if (minWidth.charAt(0) == '*') {
-                                                               minWidth = +a[minWidth.slice(1, -1)];
-                                                               } else {
-                                                               minWidth = +minWidth;
-                                                               }
-
-                                                               // Note: undocumented perl feature:
-                                                               if (minWidth < 0) {
-                                                               minWidth = -minWidth;
-                                                               leftJustify = true;
-                                                               }
-
-                                                               if (!isFinite(minWidth)) {
-                                                               throw new Error('sprintf: (minimum-)width must be finite');
-                                                               }
-
-                                                               if (!precision) {
-                                                               precision = 'fFeE'.indexOf(type) > -1 ? 6 : (type == 'd') ? 0 : void(0);
-                                                               } else if (precision == '*') {
-                                                               precision = +a[i++];
-                                                               } else if (precision.charAt(0) == '*') {
-                                                               precision = +a[precision.slice(1, -1)];
-                                                               } else {
-                                                               precision = +precision;
-                                                               }
-
-                                                               // grab value using valueIndex if required?
-                                                               var value = valueIndex ? a[valueIndex.slice(0, -1)] : a[i++];
-
-                                                               switch (type) {
-                                                               case 'S':
-                                                               case 's': return formatString(String(value), leftJustify, minWidth, precision, zeroPad);
-                                                               case 'c': return formatString(String.fromCharCode(+value), leftJustify, minWidth, precision, zeroPad);
-                                                               case 'b': return formatBaseX(value, 2, prefixBaseX, leftJustify, minWidth, precision, zeroPad);
-                                                               case 'o': return formatBaseX(value, 8, prefixBaseX, leftJustify, minWidth, precision, zeroPad);
-                                                               case 'x': return formatBaseX(value, 16, prefixBaseX, leftJustify, minWidth, precision, zeroPad);
-                                                               case 'X': return formatBaseX(value, 16, prefixBaseX, leftJustify, minWidth, precision, zeroPad).toUpperCase();
-                                                               case 'u': return formatBaseX(value, 10, prefixBaseX, leftJustify, minWidth, precision, zeroPad);
-                                                               case 'i':
-                                                               case 'd': {
-                                                                                 var number = parseInt(+value);
-                                                                                 var prefix = number < 0 ? '-' : positivePrefix;
-                                                                                 value = prefix + pad(String(Math.abs(number)), precision, '0', false);
-                                                                                 return justify(value, prefix, leftJustify, minWidth, zeroPad);
-                                                                         }
-                                                               case 'e':
-                                                               case 'E':
-                                                               case 'f':
-                                                               case 'F':
-                                                               case 'g':
-                                                               case 'G':
-                                                                                 {
-                                                                                 var number = +value;
-                                                                                 var prefix = number < 0 ? '-' : positivePrefix;
-                                                                                 var method = ['toExponential', 'toFixed', 'toPrecision']['efg'.indexOf(type.toLowerCase())];
-                                                                                 var textTransform = ['toString', 'toUpperCase']['eEfFgG'.indexOf(type) % 2];
-                                                                                 value = prefix + Math.abs(number)[method](precision);
-                                                                                 return justify(value, prefix, leftJustify, minWidth, zeroPad)[textTransform]();
-                                                                         }
-                                                               default: return substring;
-                                                               }
-                                                               });
-                                               }
-                                       } catch(e) {
-                                               alert("*** Failed to load sprintf library: " + e + "\n");
-                                               throw(e);
-                                       }
-                                       ]]>
-                               </body>
-                       </method>
-               </implementation>
-       </binding>
-
        <binding id="caption" extends="chrome://global/content/bindings/general.xml#basetext">
                <resources>
                        <stylesheet src="chrome://global/skin/groupbox.css"/>
index 1ba8226..12bea9e 100644 (file)
@@ -59,8 +59,8 @@
     <script type="application/x-javascript" src="chrome://inspector/content/hooks.js"/>
     <script type="application/x-javascript" src="chrome://chromelist/content/overlay/ChromeListOverlay.js" />
 
-    <messagecatalog id="authStrings" src="chrome://open_ils_staff_client/locale/auth.properties"/>
-    <messagecatalog id="offlineStrings" src="chrome://open_ils_staff_client/locale/offline.properties"/>
+    
+    
 
     <commandset id="auth_cmds">
         <command id="cmd_login" />
index 664366c..702cc7b 100644 (file)
     ]]>
     </script>
 
-    <messagecatalog id="offlineStrings" src="chrome://open_ils_staff_client/locale/offline.properties" />    
+        
 
     <commandset id="universal_cmds" />
 
index 85e3d1f..b3e6c51 100644 (file)
@@ -16,7 +16,6 @@ iframe { background: #CDCED3 url("chrome://browser/skin/icons/box-background.png
 .operator_change { background-color: red; }
 
 .shrinkable_groupbox { font-weight: bold; -moz-binding: url('chrome://open_ils_staff_client/content/main/bindings.xml#caption'); }
-messagecatalog { -moz-binding: url('chrome://open_ils_staff_client/content/main/bindings.xml#messagecatalog'); }
 help { -moz-binding: url('chrome://open_ils_staff_client/content/main/bindings.xml#help'); }
 
 .my_overflow { overflow: auto; }
index b4b81ac..41ebf8d 100644 (file)
@@ -86,9 +86,9 @@
             <menuitem label="&common.sort.next.ascending;" oncommand="util.sort.dispatch('next','asc');"/>
             <menuitem label="&common.sort.next.descending;" oncommand="util.sort.dispatch('next','desc');"/>
         </menupopup>
-        <messagecatalog id="commonStrings" src='/xul/server/locale/<!--#echo var="locale"-->/common.properties'/>
-        <messagecatalog id="offlineStrings" src='/xul/server/locale/<!--#echo var="locale"-->/offline.properties'/>
-        <messagecatalog id="authStrings" src='/xul/server/locale/<!--#echo var="locale"-->/auth.properties'/>
+        
+        
+        
         <hbox id="debug_box" hidden="true" flex="1" style="border: red thin dashed">
             <label value="Debug:" />
             <textbox id="debug_tb" flex="1"/>
index b9664fc..9a3fe53 100644 (file)
@@ -31,7 +31,7 @@
     <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
     <script type="text/javascript" src="circ_age_to_lost.js"/>
 
-    <messagecatalog id="adminStrings" src="/xul/server/locale/<!--#echo var='locale'-->/admin.properties"/>
+    
 
     <vbox flex="1">
         <grid>
index d556207..cffc605 100644 (file)
@@ -28,7 +28,7 @@
     </script>
     <scripts id="openils_util_scripts"/>
 
-    <messagecatalog id="adminStrings" src='/xul/server/locale/<!--#echo var="locale"-->/admin.properties'/>
+    
 
     <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
     <script type="text/javascript" src="do_not_auto_attempt_print_setting.js"/>
index 78f4dd7..3536f9a 100644 (file)
     ]]>
     </script>
 
-    <messagecatalog id="adminStrings" src='/xul/server/locale/<!--#echo var="locale"-->/admin.properties'/>
+    
 
     <groupbox orient="vertical">
         <caption label="&staff.server.admin.font.sound.caption;"/>
index 860327f..f36f871 100644 (file)
@@ -50,7 +50,7 @@
 
     ]]>
     </script>
-    <messagecatalog id="adminStrings" src="/xul/server/locale/<!--#echo var='locale'-->/admin.properties"/>
+    
 
     <vbox id="admin_offline_manage_xacts_main" flex="1">
 
index 26250c7..5b4131d 100644 (file)
@@ -28,7 +28,7 @@
     <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
     <script type="text/javascript" src="patrons_due_refunds.js"/>
 
-    <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties" />
+    
 
     <commandset id="patrons_due_refunds_cmds">
         <command id="retrieve_patron" label="&staff.patron.display_overlay.retrieve_patron.label;" accesskey="&staff.patron.display_overlay.retrieve_patron.accesskey;" />
index e8f61ae..c5d0ad9 100644 (file)
@@ -26,7 +26,7 @@
     <script type="text/javascript" src="/xul/server/main/constants.js"></script>
     <script type="text/javascript" src="/xul/server/main/JSAN.js"></script>
     <script type="text/javascript" src="printer_settings.js"></script>
-    <messagecatalog id="offlineStrings" src="/xul/server/locale/<!--#echo var='locale'-->/offline.properties" />
+    
     <groupbox>
         <caption label="&staff.printing.context.header;" />
         <vbox>
index 5732674..9787a9e 100644 (file)
@@ -27,7 +27,7 @@
         var myPackageDir = 'open_ils_staff_client'; var IAMXUL = true;
     </script>
     <scripts id="openils_util_scripts"/>
-    <messagecatalog id="adminStrings" src='/xul/server/locale/<!--#echo var="locale"-->/admin.properties'/>
+    
 
     <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
     <script type="text/javascript" src="toolbar.js"/>
index b281208..d205698 100644 (file)
@@ -52,9 +52,9 @@
     ]]>
     </script>
 
-    <messagecatalog id="adminStrings" src='/xul/server/locale/<!--#echo var="locale"-->/admin.properties'/>
-    <messagecatalog id="circStrings" src='/xul/server/locale/<!--#echo var="locale"-->/circ.properties'/>
-    <messagecatalog id="catStrings" src='/xul/server/locale/<!--#echo var="locale"-->/cat.properties'/>
+    
+    
+    
 
     <vbox flex="1" class="my_overflow">
         <hbox>
index 0bcfc67..3f76e6a 100644 (file)
@@ -27,7 +27,7 @@
         var myPackageDir = 'open_ils_staff_client'; var IAMXUL = true;
     </script>
     <scripts id="openils_util_scripts"/>
-    <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+    
 
     <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
     <script type="text/javascript" src="work_log.js"/>
index 3ce8e8f..22fe752 100644 (file)
@@ -35,8 +35,8 @@ vim: noet:sw=4:ts=4:
     <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
     <script type="text/javascript" src="/xul/server/cat/bib_brief.js"/>
 
-    <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties"/>
-    <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties"/>
+    
+    
 
     <groupbox id="groupbox" flex="1" style="overflow: auto;">
         <caption id="caption">
index 34f7cbe..88fb460 100644 (file)
@@ -35,8 +35,8 @@ vim: noet:sw=4:ts=4:
     <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
     <script type="text/javascript" src="/xul/server/cat/bib_brief.js"/>
 
-    <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties"/>
-    <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties"/>
+    
+    
 
     <groupbox id="groupbox" flex="1">
         <caption id="caption"><label value="&staff.cat.bib_brief.record_summary;"/>(<label value="&staff.cat.bib_brief.view_marc;" class="click_link" onclick="view_marc();"/>)</caption>
index 51ee003..744704a 100644 (file)
@@ -65,8 +65,8 @@ vim:noet:sw=4:ts=4:
     ]]>
     </script>
 
-    <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
-    <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+    
+    
 
     <commandset id="cat_copy_browser">
         <command id="save_columns" />
index 1c4d25e..ecc1686 100644 (file)
@@ -72,8 +72,8 @@
     ]]>
     </script>
 
-    <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale' -->/cat.properties"/>
-    <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale' -->/circ.properties"/>
+    
+    
 
     <commandset id="copy_buckets_cmds">
         <command id="cmd_copy_bucket_submit_barcode" />
index 4d5894f..a971f02 100644 (file)
     ]]>
     </script>
 
-    <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
-    <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+    
+    
 
     <vbox flex="1" style="overflow: auto">
     <groupbox flex="1">
index b72d537..3f07641 100644 (file)
@@ -33,7 +33,7 @@
     <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
     <script type="text/javascript" src="copy_editor.js"/>
 
-    <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
+    
 
     <vbox id="brief_display_box"/>
 
index a71f436..cc32db2 100644 (file)
     ]]>
     </script>
 
-    <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
-    <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+    
+    
 
     <stack hidden="true" id="note_template" flex="1">
         <groupbox flex="1" style="background-color: black;"/>
index 3bc5723..872bf15 100644 (file)
     ]]>
     </script>
 
-    <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
-    <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+    
+    
 
     <groupbox id="groupbox" flex="1" style="overflow: none; min-height: 80;">
         <caption label="&staff.cat.copy_summary.label;" id="caption"/>
index fa73926..f7ce7de 100644 (file)
@@ -29,8 +29,8 @@
     </script>
     <scripts id="openils_util_scripts"/>
 
-    <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
-    <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+    
+    
 
     <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
     <script type="text/javascript" src="manage_multi_home_items.js"/>
index ae5d3d2..46db690 100644 (file)
     ]]>
     </script>
 
-    <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
-    <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+    
+    
 
     <vbox id="marc_editor_box" flex="1">
         <hbox id="actions">
index 90b42e8..54c0741 100644 (file)
@@ -75,7 +75,7 @@ vim:noet:sw=4:ts=4:
     ]]>
     </script>
 
-    <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale' -->/cat.properties"/>
+    
 
     <groupbox flex="1">
         <caption label="&staff.cat.marc_view.title;"/>
index 8f1fcf5..f81c970 100644 (file)
@@ -1,4 +1,3 @@
-messagecatalog { -moz-binding: url('../main/bindings.xml#messagecatalog'); }
 input {
     background-color: lightgrey;
 }
index 0519d06..62d8573 100644 (file)
@@ -18,8 +18,8 @@
 
 <script src="marcedit.js" type="application/x-javascript; e4x=1"/>
 
-<messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
-<messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+
+
 
 <groupbox flex="0">
     <caption label="&staff.cat.marcedit.options.label;"/>
index 2682425..fd3eb76 100644 (file)
@@ -81,8 +81,8 @@
     ]]>
     </script>
 
-    <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale' -->/circ.properties"/>
-    <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale' -->/cat.properties"/>
+    
+    
 
     <commandset id="record_buckets_cmds" />
 
index 2ea4cdb..45390f9 100644 (file)
@@ -7,8 +7,8 @@
 
 <script>dump('loading record_buckets_overlay.xul\n');</script>
 
-<messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
-<messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+
+
 
 <commandset id="record_buckets_cmds">
     <command id="sel_clip0" disabled="true"/>
index 72264b7..b8e33c6 100644 (file)
     ]]>
     </script>
     
-    <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
-    <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+    
+    
 
     <vbox flex="1" style="overflow: auto">
     <groupbox flex="1">
index 3839704..1e9d32a 100644 (file)
@@ -30,8 +30,8 @@
     <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
     <script type="text/javascript" src="/xul/server/cat/spine_labels.js"/>
 
-    <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale' -->/circ.properties"/>
-    <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
+    
+    
 
     <vbox id="spine_labels_main" flex="1" class="my_overflow">
         <hbox flex="1" class="my_overflow">
index 59c1f54..25a46f3 100644 (file)
@@ -53,8 +53,8 @@
     ]]>
     </script>
 
-    <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
-    <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+    
+    
     
     <label value="Just a stub, Not Yet Implemented"/>
 
index 5cfc111..2edb38f 100644 (file)
@@ -33,8 +33,8 @@
     <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
     <script type="text/javascript" src="volume_copy_creator.js"/>
     
-    <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
-    <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+    
+    
 
 <vbox flex="1" class="my_overflow">
     <vbox id="summary_box" oils_persist="height"/>
index ec03b1a..f9554fa 100644 (file)
@@ -28,7 +28,7 @@
     </script>
     <scripts id="openils_util_scripts"/>
 
-    <messagecatalog id="catStrings" src='/xul/server/locale/<!--#echo var="locale"-->/cat.properties'/>
+    
 
     <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
     <script type="text/javascript" src="volume_copy_editor.js"/>
index 33d856c..2f0222a 100644 (file)
@@ -33,8 +33,8 @@
     <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
     <script type="text/javascript" src="volume_editor.js"/>
 
-    <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
-    <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+    
+    
 
     <groupbox flex="1" style="overflow: auto">
         <caption id="caption" label="&staff.cat.volume_editor.caption.label;"/>
index 7c02ef4..dcb964f 100644 (file)
@@ -74,8 +74,8 @@
     ]]>
     </script>
 
-    <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale' -->/circ.properties"/>
-     <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
+    
+     
 
     <commandset id="cat_z3950_cmds">
         <command id="cmd_broken" />
index 7d39fd9..c3cde56 100644 (file)
@@ -33,8 +33,8 @@
     <script type="text/javascript" src="/xul/server/cat/bib_brief.js"/>
     <script type="text/javascript" src="alternate_copy_summary.js"/>
 
-    <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties"/>
-    <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties"/>
+    
+    
 
     <groupbox flex="1">
 
index 81cdec0..ca4d593 100644 (file)
@@ -31,7 +31,7 @@
     <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
     <script type="text/javascript" src="backdate_post_checkin.js"/>
 
-    <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+    
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
     <!-- CONTENT -->
index 1910e01..893d13c 100644 (file)
@@ -77,8 +77,8 @@
 
     <commandset id="checkin_cmds" />
 
-    <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties"/>
-    <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties"/>
+    
+    
 
     <box id="checkin_main" />
 
index 75c8a55..dce8865 100644 (file)
@@ -80,7 +80,7 @@
     ]]>
     </script>
 
-    <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+    
 
     <commandset id="checkout_cmds">
         <command id="cmd_checkout_submit" />
index 0b07021..976b758 100644 (file)
     ]]>
     </script>
 
-    <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+    
 
     <groupbox id="gb" flex="1" style="overflow: auto;">
         <caption id="caption"/>
index 3cc45c2..8860f6e 100644 (file)
     ]]>
     </script>
 
-    <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+    
 
     <vbox flex="1" style="overflow: auto;">
         <vbox id="top_box" flex="1" style="border: none; overflow: none; min-height: 80;" oils_persist="height"/>
index 89610e3..0a885d4 100644 (file)
     ]]>
     </script>
 
-    <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
-    <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
+    
+    
 
     <commandset id="copy_status_cmds">
         <command id="cmd_copy_status_submit_barcode" />
index 097aeb7..abef159 100644 (file)
@@ -65,7 +65,7 @@
     ]]>
     </script>
 
-    <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+    
 
     <commandset id="in_house_use_cmds">
         <command id="sel_clip" disabled="true" />
index 6991013..fb3e9c9 100644 (file)
@@ -28,8 +28,8 @@
     </script>
     <scripts id="openils_util_scripts"/>
 
-    <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
-    <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
+    
+    
 
     <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
     <script type="text/javascript" src="missing_pieces.js"/>
index 046f2b2..a2e918c 100644 (file)
@@ -90,8 +90,8 @@
     ]]>
     </script>
 
-    <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
-    <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
+    
+    
 
     <groupbox flex="1" style="overflow: auto">
         <caption label="&staff.circ.pre_cat.caption.label;"/>
index f486048..a23f679 100644 (file)
@@ -63,7 +63,7 @@
     ]]>
     </script>
 
-    <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+    
 
     <commandset id="print_list_cmds">
         <command id="cmd_broken" />
index 300d253..3f584cc 100644 (file)
@@ -85,9 +85,9 @@
 
     </commandset>
 
-    <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties"/>
-    <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties"/>
-    <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
+    
+    
+    
 
     <box id="renew_main" />
 
index 62aed30..8b12664 100644 (file)
@@ -28,7 +28,7 @@
     <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
     <script type="text/javascript" src="verify_credentials.js"/>
 
-    <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties" />
+    
 
     <commandset id="verify_cmds">
         <command id="cmd_verify" />
index bd8f077..559ad73 100644 (file)
     ]]>
     </script>
     
-    <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties" />
+    
 
     <vbox flex="1" class="my_overflow">
         <groupbox orient="vertical" flex="1">
index 51167a5..4a26d20 100644 (file)
@@ -32,9 +32,9 @@
     <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
     <script type="text/javascript" src="bill2.js"/>
 
-    <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
-    <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties"/>
-    <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties"/>
+    
+    
+    
 
     <commandset>
         <command id="opac" label="&staff.patron.bill_interface.show_in_catalog.label;" accesskey="&staff.patron.bill_interface.show_in_catalog.accesskey;" disabled="true"/>
index 3633745..6039e90 100644 (file)
     ]]>
     </script>
 
-    <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties" />
+    
 
     <groupbox>
         <caption label="&staff.patron.bill_cc_info.info.label;"/>
index 71738ec..f52a17b 100644 (file)
@@ -59,7 +59,7 @@
     ]]>
     </script>
 
-    <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties" />
+    
 
     <groupbox>
         <caption label="&staff.patron.bill_check_info.check_info.label;"/>
index a16d4e7..eb250e9 100644 (file)
@@ -32,7 +32,7 @@
     <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
     <script type="text/javascript" src="bill_details.js"/>
 
-    <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
+    
 
     <vbox flex="1" class="my_overflow">
         <label id="patron_name" class="patronNameLarge"/>
index 128ce1d..d345031 100644 (file)
@@ -32,8 +32,8 @@
     <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
     <script type="text/javascript" src="bill_history.js"/>
 
-    <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
-    <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties"/>
+    
+    
 
     <vbox flex="1" class="my_overflow">
         <groupbox orient="vertical" flex="1">
index 126f021..5b34ba2 100644 (file)
@@ -32,7 +32,7 @@
     <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
     <script type="text/javascript" src="/xul/server/patron/bill_wizard.js"/>
     
-    <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
+    
 
     <vbox flex="1">
 
index e0861db..3cbf2a0 100644 (file)
@@ -85,7 +85,7 @@
     ]]>
     </script>
 
-    <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
+    
 
     <commandset id="patron_display_cmds">
         <command id="cmd_patron_refresh" />
index 1c53834..a70e04c 100644 (file)
@@ -85,7 +85,7 @@
     ]]>
     </script>
 
-    <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
+    
 
     <commandset id="patron_display_cmds">
         <command id="cmd_patron_refresh" />
index d27c001..e458c43 100644 (file)
@@ -31,7 +31,7 @@
     <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
     <script type="text/javascript" src="edit_standing_penalty.js"/>
 
-    <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties" />
+    
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
     <!-- CONTENT -->
index fb3830c..422908d 100644 (file)
@@ -30,7 +30,7 @@
     <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
     <script type="text/javascript" src="hold_cancel.js"/>
 
-    <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties" />
+    
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
     <!-- CONTENT -->
index 779b798..3877e48 100644 (file)
@@ -30,8 +30,8 @@
     <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
     <script type="text/javascript" src="hold_details.js"/>
 
-    <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale' -->/circ.properties"/>
-    <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
+    
+    
 
     <stack hidden="true" id="notification_template" flex="1">
         <groupbox flex="1" style="background-color: black;"/>
index f7f03fc..5c5cc10 100644 (file)
@@ -70,9 +70,9 @@
     ]]>
     </script>
 
-    <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale' -->/circ.properties"/>
-    <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale' -->/cat.properties"/>
-    <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale' -->/patron.properties"/>
+    
+    
+    
 
         <commandset id="holds_cmds" />
 
index 9e8777e..905acc4 100644 (file)
@@ -30,7 +30,7 @@
     <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
     <script type="text/javascript" src="info_group.js"/>
     
-    <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
+    
 
     <commandset id="info_group_cmds">
         <command id="clone" 
index 133eec5..4364f3d 100644 (file)
     ]]>
     </script>
     
-    <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
+    
 
     <stack hidden="true" id="note_template" flex="1" minheight="50px">
         <groupbox flex="1" style="background-color: black;"/>
index 4318313..195d777 100644 (file)
     ]]>
     </script>
     
-    <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
+    
 
     <stack hidden="true" id="actsc_template" flex="1">
         <groupbox flex="1" style="background-color: black;"/>
index 66231c3..f03cac3 100644 (file)
     ]]>
     </script>
 
-    <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
+    
     
     <stack hidden="true" id="asv_template" flex="1">
         <groupbox flex="1" style="background-color: black;"/>
index 6faf415..8cc3580 100644 (file)
@@ -63,9 +63,9 @@
     ]]>
     </script>
 
-    <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale' -->/circ.properties"/>
-    <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale' -->/cat.properties"/>
-    <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
+    
+    
+    
 
     <commandset id="items_cmds" />
     <popupset id="items_popupset"/>
index 7e9271b..ad8a086 100644 (file)
@@ -31,7 +31,7 @@
     <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
     <script type="text/javascript" src="new_standing_penalty.js"/>
 
-    <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties" />
+    
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
     <!-- CONTENT -->
index afa0a55..e642744 100644 (file)
@@ -28,9 +28,6 @@
     </script>
     <scripts id="openils_util_scripts"/>
 
-    <messagecatalog id="patronStrings"
-        src='/xul/server/locale/<!--#echo var="locale"-->/patron.properties'/>
-
     <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
     <script type="text/javascript" src="place_hold.js"/>
 
index 43a4fde..24bf5cc 100644 (file)
@@ -84,7 +84,7 @@
     ]]>
     </script>
     
-    <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
+    
 
     <commandset id="patron_search_form_cmds">
     </commandset>
index 4e8f6af..a5a82a8 100644 (file)
@@ -84,7 +84,7 @@
     ]]>
     </script>
     
-    <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
+    
 
     <commandset id="patron_search_form_cmds">
     </commandset>
index 9546380..73bce58 100644 (file)
@@ -79,7 +79,7 @@
         <command id="cmd_save_cols" />
     </commandset>
 
-    <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
+    
 
     <box id="patron_search_result_main" />
 
index f7fb70f..bd4413a 100644 (file)
@@ -28,7 +28,7 @@
     <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
     <script type="text/javascript" src="staged.js"/>
 
-    <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties" />
+    
 
     <commandset id="staged_cmds">
         <command id="cmd_load" disabled="true"/>
index a1b5d90..837d2b1 100644 (file)
@@ -28,7 +28,7 @@
     <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
     <script type="text/javascript" src="standing_penalties.js"/>
 
-    <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties" />
+    
 
     <commandset id="penalty_cmds">
         <command id="cmd_apply_penalty" />
index cee959b..45d9666 100644 (file)
     ]]>
     </script>
     
-    <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
-    <messagecatalog id="offlineStrings" src="/xul/server/locale/<!--#echo var='locale'-->/offline.properties"/>
+    
+    
 
     <commandset id="patron_summary_cmds" />
     <popupset id="patron_summary_popups" />
index 0d9987c..960924b 100644 (file)
@@ -18,7 +18,7 @@
     onload="try { init_editor(); } catch(E) { alert(js2JSON(E)); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-    <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
+    
     <script type="text/javascript">var myPackageDir = 'open_ils_staff_client'; var IAMXUL = true; var g = {};</script>
     <script type='text/javascript' src='/opac/common/js/utils.js'/>
     <script type='text/javascript' src='/opac/common/js//config.js'/>
index 98c90f9..10fe7a4 100644 (file)
@@ -24,9 +24,6 @@
         not to use it otherwise.  -->
     <script type="text/javascript" src="/xul/server/main/JSAN.js" />
 
-    <messagecatalog id="serialStrings"
-        src="/xul/server/locale/<!--#echo var='locale'-->/serial.properties" />
-
     <commandset />
     <box id="batch_receive_main" />
 </window>
index 4e2d960..204cefa 100644 (file)
        ]]>
        </script>
 
-       <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
-       <messagecatalog id="serialStrings" src="/xul/server/locale/<!--#echo var='locale'-->/serial.properties" />
+       
+       
 
        <stack hidden="true" id="note_template" flex="1">
                <vbox flex="1" style="background-color: black; margin:3px"/>
index 7b0469b..952dd51 100644 (file)
@@ -25,9 +25,6 @@
         not to use it otherwise.  -->
     <script type="text/javascript" src="/xul/server/main/JSAN.js" />
 
-    <messagecatalog id="serialStrings"
-        src="/xul/server/locale/<!--#echo var='locale'-->/serial.properties" />
-
     <commandset />
     <box id="pattern_wizard_main" />
 </window>
index 4026ae5..5613665 100644 (file)
@@ -83,7 +83,7 @@
        ]]>
        </script>
        
-       <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
+       
 
        <vbox flex="1" style="overflow: auto">
        <groupbox flex="1">
index 3d0cbdc..cbf70f8 100644 (file)
@@ -72,7 +72,7 @@
        ]]>
        </script>
        
-       <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
+       
 
        <vbox flex="1" style="overflow: auto">
        <groupbox flex="1">
index 34b0f31..fe18aed 100644 (file)
@@ -39,10 +39,10 @@ vim:noet:sw=4:ts=4:
 
        <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
 
-       <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
-       <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
-    <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
-    <messagecatalog id="serialStrings" src="/xul/server/locale/<!--#echo var='locale'-->/serial.properties"/>
+       
+       
+    
+    
 
        <commandset id="serial_commands">
                <command id="cmd_add_item"/>
index 7b003ea..cc70f72 100644 (file)
@@ -58,8 +58,8 @@
         ]]>
     </script>
 
-       <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
-       <messagecatalog id="serialStrings" src="/xul/server/locale/<!--#echo var='locale'-->/serial.properties" />
+       
+       
 
     <vbox id="brief_display_box"/>
 
index f8a6ad1..c3ff278 100644 (file)
@@ -5,7 +5,6 @@
 @namespace xhtml url("http://www.w3.org/1999/xhtml"); 
 
 help { -moz-binding: url('/xul/server/main/bindings.xml#help'); }
-messagecatalog { -moz-binding: url('/xul/server/main/bindings.xml#messagecatalog'); }
 .shrinkable_groupbox { font-weight: bold; -moz-binding: url('/xul/server/main/bindings.xml#caption'); }
 
 window:not([active="true"]) menubar > menu { color: menutext !important }