some refactor and localization
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 21 Jun 2005 14:27:29 +0000 (14:27 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 21 Jun 2005 14:27:29 +0000 (14:27 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@885 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 files changed:
Evergreen/staff_client/chrome/content/evergreen/Open-ILS/OpenILS_overlay.xul
Evergreen/staff_client/chrome/content/evergreen/Open-ILS/OpenILS_scripts_overlay.xul [new file with mode: 0644]
Evergreen/staff_client/chrome/content/evergreen/OpenSRF/OpenSRF_overlay.xul
Evergreen/staff_client/chrome/content/evergreen/auth/auth.xul
Evergreen/staff_client/chrome/content/evergreen/auth/auth_overlay.xul
Evergreen/staff_client/chrome/content/evergreen/main/app_shell.js
Evergreen/staff_client/chrome/content/evergreen/main/app_shell.xul
Evergreen/staff_client/chrome/content/evergreen/main/app_shell_overlay.xul
Evergreen/staff_client/chrome/content/evergreen/util/spawn_win.js
Evergreen/staff_client/chrome/content/evergreen/util/util.js
Evergreen/staff_client/chrome/content/evergreen/util/util_overlay.xul
Evergreen/staff_client/chrome/locale/en-US/evergreen/OpenILS.properties [new file with mode: 0644]
Evergreen/staff_client/chrome/locale/en-US/evergreen/app_shell.dtd

index 0519953..97f636b 100644 (file)
@@ -1,12 +1,27 @@
 <?xml version="1.0"?>
 <!-- Modified by Jason for Evergreen -->
 
-<overlay id="OpenILS"
+<overlay id="OpenILS_overlay"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-<OpenILS id="OpenILS_js">
-       <script src="OpenILS.js" />
-       <script src="chrome://evergreen/content/main/AppShell.js" />
-</OpenILS>
+       <?xul-overlay href="chrome://evergreen/content/OpenSRF/OpenSRF_overlay.xul"?>
+       <?xul-overlay href="chrome://evergreen/content/util/util_overlay.xul"?>
+       <?xul-overlay href="chrome://evergreen/content/Open-ILS/OpenILS_scripts_overlay.xul"?>
+
+       <OpenILS id="OpenILS_js">
+
+               <!-- OpenSRF -->
+               <script>var myPackageDir = "evergreen"; var ses; dump('Loading all the js in the OpenILS overlay...\n');</script>
+               <OpenSRF id="OpenSRF_js" />
+
+               <util id="util_js" />
+
+               <apps id="apps_js" />
+
+       </OpenILS>
+
+       <stringbundleset id="string_bundles">
+               <stringbundle id="main_strings" src="chrome://evergreen/locale/OpenILS.properties"/>
+       </stringbundleset>
 
 </overlay>
diff --git a/Evergreen/staff_client/chrome/content/evergreen/Open-ILS/OpenILS_scripts_overlay.xul b/Evergreen/staff_client/chrome/content/evergreen/Open-ILS/OpenILS_scripts_overlay.xul
new file mode 100644 (file)
index 0000000..c9925fc
--- /dev/null
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<!-- Modified by Jason for Evergreen -->
+
+<overlay id="OpenILS_scripts_overlay"
+        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+
+       <apps id="apps_js">
+               <script src="chrome://evergreen/content/Open-ILS/OpenILS.js" />
+               <script src="chrome://evergreen/content/auth/auth.js" />
+               <script src="chrome://evergreen/content/main/app_shell.js" />
+       </apps>
+
+</overlay>
index cd35b7e..72be19e 100644 (file)
@@ -5,6 +5,7 @@
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
 <OpenSRF id="OpenSRF_js">
+       <script>dump('Loading all the js in the OpenSRF overlay...\n');</script>
        <script src="JSON.js" />
        <script src="md5.js" />
        <script src="opensrf_utils.js" />
index b8c705d..f8a5dbf 100644 (file)
        onload="mw.OpenILS_init('Auth');"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-       <!-- More Localization -->
-       <stringbundle id="strings" src="chrome://evergreen/locale/auth.properties"/>
-
        <!-- Stylesheets -->
        <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
        <?xml-stylesheet href="chrome://evergreen/skin/evergreen.css" type="text/css"?>
        <?xml-stylesheet href="chrome://evergreen/skin/auth.css" type="text/css"?>
 
        <!-- Overlays for this XUL file -->
-       <?xul-overlay href="chrome://evergreen/content/OpenSRF/OpenSRF_overlay.xul"?>
        <?xul-overlay href="chrome://evergreen/content/Open-ILS/OpenILS_overlay.xul"?>
-       <?xul-overlay href="chrome://evergreen/content/util/util_overlay.xul"?>
        <?xul-overlay href="chrome://evergreen/content/auth/auth_overlay.xul"?>
 
-       <!-- OpenSRF -->
-       <script>var myPackageDir = "evergreen";</script>
-       <OpenSRF id="OpenSRF_js" />
+       <!-- More Localization -->
+       <stringbundleset id="string_bundles"/>
 
        <!-- The logic for this app -->
        <OpenILS id="OpenILS_js" />
 
        <!-- The logic for this screen -->
-       <Auth id="auth_js" />
+       <!--<Auth id="auth_js" />-->
 
        <!-- XUL'ified abstraction for logic to attach to widgets -->
        <commandset id="auth_cmds" />
index fba4b5f..a9eb2cd 100644 (file)
@@ -6,11 +6,11 @@
 <!-- Modified by Jason for Evergreen -->
 
 <!-- The javascript logic for the staff client -->
+<!--
 <Auth id="auth_js">
-       <script>var ses;</script>
-       <util id="util_js"/>
        <script src="auth.js" />
 </Auth>
+-->
 
 <!-- Some logic abstracted a bit.  Sort of like an API list -->
 <commandset id="auth_cmds">
index 7d6065d..7bc2edc 100644 (file)
@@ -1,3 +1,5 @@
+sdump('D_TRACE','Loading util.js\n');
+
 var tab_count = [ false, false, false, false, false, false, false, false, false, false ];
 
 function app_shell_init() {
index 35263e2..5e3cd93 100644 (file)
@@ -10,9 +10,6 @@
        onload="mw.OpenILS_init('AppShell');"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-       <!-- More Localization -->
-       <stringbundle id="strings" src="chrome://evergreen/locale/app_shell.properties"/>
-
        <!-- Stylesheets -->
        <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
        <?xml-stylesheet href="chrome://evergreen/skin/evergreen.css" type="text/css"?>
index fd2cb69..829e32e 100644 (file)
@@ -6,70 +6,67 @@
 <commandset id="AppShell_cmds">
 
        <command id="cmd_close_window" oncommand="
-               window.close();"/>
+               window.close();" />
 
        <command id="cmd_new_window" oncommand="
-               spawn_main_window();"/>
+               spawn_main_window();" />
 
        <command id="cmd_new_tab" oncommand="
-               new_tab(document,'main_tabbox');"/>
+               new_tab(document,'main_tabbox');" />
 
        <command id="cmd_close_tab" oncommand="
-               close_tab(document,'main_tabbox');"/>
+               close_tab(document,'main_tabbox');" />
 
        <command id="cmd_cat_main" oncommand="
-               replace_tab(document,'main_tabbox','Navigator','chrome://evergreen/content/opac/opac.xul'); "/>
+               spawn_opac_navigator(document,'replace',{}); "/>        
 
        <command id="cmd_circ_checkout" oncommand="
-               replace_tab(document,'main_tabbox','Check Out','chrome://evergreen/content/circ/circ_deck_checkout.xul'); "/>
+               spawn_check_out(document,'replace',{}); "/>     
 
        <command id="cmd_circ_search" oncommand="
-               replace_tab(document,'main_tabbox','Patron Search','chrome://evergreen/content/circ/circ_deck_search.xul'); "/>
+               spawn_circ_search(document,'replace',{}); "/>   
 
        <command id="cmd_circ_display" oncommand="
-               replace_tab(document,'main_tabbox','Display Patron','chrome://evergreen/content/circ/circ_deck_patron.xul'); "/>
+               spawn_circ_display(document,'replace',{}); "/>
 
        <command id="cmd_circ_checkin" oncommand="
-               replace_tab(document,'main_tabbox','Check In','chrome://evergreen/content/circ/checkin.xul'); "/>
+               spawn_check_in(document,'replace',{}); "/>      
 
        <command id="cmd_search_opac" oncommand="
-               replace_tab(document,'main_tabbox','Navigator','chrome://evergreen/content/opac/opac.xul'); "/>
+               spawn_opac_navigator(document,'replace',{}); "/>        
 
        <command id="cmd_patron_register" oncommand="
-               replace_tab(document,'main_tabbox','NEW PATRON','chrome://evergreen/content/patron/patron_new.xul'); "/>
+               spawn_patron_register(document,'replace',{}); "/>       
 
        <command id="cmd_survey_wizard" oncommand="
-               mw.new_window(document,'chrome://evergreen/content/survey/survey_wizard.xul'); "/>
+               spawn_survey_admin_wizard(document,false,{}); "/>       
 
        <command id="cmd_copy_stat_cat_edit" oncommand="
-               replace_tab(document,'main_tabbox','Copy Stat-Cats','chrome://evergreen/content/stat_cat/copy_stat_cat_editor.xul'); "/>
+               spawn_copy_stat_cat_edit(document,'replace',{}); "/>    
 
        <command id="cmd_patron_stat_cat_edit" oncommand="
-               replace_tab(document,'main_tabbox','Patron Stat-Cats','chrome://evergreen/content/stat_cat/patron_stat_cat_editor.xul'); "/>
+               spawn_patron_stat_cat_edit(document,'replace',{}); "/>  
 
        <command id="cmd_z39_50_import_old" oncommand="
-               replace_tab(document,'main_tabbox','Z39.50 Import','chrome://evergreen/content/z39_50/z39_50.xul'); "/>
+               spawn_z3950_import(document,'replace',{}); "/>  
 
        <command id="cmd_test" oncommand="
                "/>
 
-       <command id="cmd_z39_50_import" oncommand="
-               alert('Not Yet Implemented'); "/>
-
        <command id="cmd_broken" oncommand="
                alert('Not Yet Implemented'); "/>
 
 </commandset>
 
 <!-- The top level widget for the staff client -->
-<vbox id="main_vbox" flex="1">
+<box id="AppShell_main" flex="1">
        <toolbox id="main_toolbox"/>
        <tabbox id="main_tabbox" flex="1" eventnode="window" handleCtrlTab="true">
                <tabs id="main_tabs"/>
                <tabpanels id="main_panels" flex="1"/>
        </tabbox>
        <toolbox id="entity_toolbox"/>
-</vbox>
+</box>
 
 <!-- The main top level menubar -->
 <toolbox id="main_toolbox">
index fa048a7..4002bc2 100644 (file)
@@ -1,71 +1,53 @@
-function spawn_batch_copy_editor(d,tab,params) {
-       sdump('D_SPAWN','trying to spawn_copy_editor(' + params + ')');
+function spawn_interface(d,tab_flag,tabbox,chrome,label,passthru_params) {
+       sdump('D_SPAWN','trying to spawn_window('+d+','+tab_flag+','+tabbox+','+chrome+','+label+','+js2JSON(passthru_params)+')\n');
        var w;
-       var chrome = 'chrome://evergreen/content/cat/copy_edit.xul';
-       if (tab) {
-               if (tab != 'replace') { new_tab(d,'main_tabbox'); }
-               w = replace_tab(d,'main_tabbox','COPIES EDITOR',chrome);
+       if (tab_flag) {
+               if (tab != 'replace') { new_tab(d,tabbox); }
+               w = replace_tab(d,tabbox,label,chrome);
        } else {
-               w = mw.new_window( chrome );
+               w = new_window( chrome );
        }
        w.params = params;
 }
 
-function spawn_bill_pay(d,tab,patron,params) {
-       sdump('D_SPAWN','trying to spawn_bill_pay('+js2JSON(patron)+')\n');
-       sdump('D_SPAWN','barcode: ' + patron.barcode() + '\n');
-       var w;
+function spawn_batch_copy_editor(d,tab_flag,passthru_params) {
+       var chrome = 'chrome://evergreen/content/cat/copy_edit.xul';
+       spawn_interface(d,tab_flag,'main_tabbox',chrome,getString('copies_editor_interface_label'),passthru_params);
+}
+
+function spawn_bill_pay(d,tab_flag,passthru_params) {
        var chrome = 'chrome://evergreen/content/bill/bill.xul';
-       var params = { 'barcode' : patron.barcode() };
-       if (tab) {
-               if (tab != 'replace') { new_tab(d,'main_tabbox'); }
-               w = replace_tab(d,'main_tabbox','BILLS',chrome,params);
-       } else {
-               w = mw.new_window( chrome,params );
-       }
+       spawn_interface(d,tab_flag,'main_tabbox',chrome,getString('bills_interface_label'),passthru_params);
 }
 
-function spawn_check_out(d,tab,patron,params) {
-       sdump('D_SPAWN','trying to spawn_check_out('+js2JSON(patron)+')\n');
-       sdump('D_SPAWN','barcode: ' + patron.barcode() + '\n');
-       var w;
+function spawn_check_in(d,tab_flag,passthru_params) {
+       var chrome = 'chrome://evergreen/content/circ/checkin.xul';
+       spawn_interface(d,tab_flag,'main_tabbox',chrome,getString('checkin_interface_label'),passthru_params);
+}
+
+function spawn_check_out(d,tab_flag,passthru_params) {
        var chrome = 'chrome://evergreen/content/circ/checkout.xul';
-       var params = { 'barcode' : patron.barcode() };
-       if (tab) {
-               if (tab != 'replace') { new_tab(d,'main_tabbox'); }
-               w = replace_tab(d,'main_tabbox','CHECK OUT',chrome,params);
-       } else {
-               w = mw.new_window( chrome,params );
-       }
+       spawn_interface(d,tab_flag,'main_tabbox',chrome,getString('checkout_interface_label'),passthru_params);
 }
 
-function spawn_circ_list(d,tab,patron,params) {
-       sdump('D_SPAWN','trying to spawn_circ_list('+js2JSON(patron)+')\n');
-       sdump('D_SPAWN','barcode: ' + patron.barcode() + '\n');
-       var w;
+function spawn_circ_display(d,tab_flag,passthru_params) {
+       var chrome = 'chrome://evergreen/content/circ/circ_deck_patron.xul';
+       spawn_interface(d,tab_flag,'main_tabbox',chrome,getString('display_patron_interface_label'),passthru_params);
+}
+
+function spawn_circ_list(d,tab_flag,passthru_params) {
        var chrome = 'chrome://evergreen/content/circ/circ_list.xul';
-       var params = { 'barcode' : patron.barcode() };
-       if (tab) {
-               if (tab != 'replace') { new_tab(d,'main_tabbox'); }
-               w = replace_tab(d,'main_tabbox','ITEMS OUT',chrome,params);
-       } else {
-               w = mw.new_window( chrome,params );
-       }
+       spawn_interface(d,tab_flag,'main_tabbox',chrome,getString('items_out_interface_label'),passthru_params);
 }
 
+function spawn_circ_search(d,tab_flag,passthru_params) {
+       var chrome = 'chrome://evergreen/content/circ/circ_deck_search.xul';
+       spawn_interface(d,tab_flag,'main_tabbox',chrome,getString('patron_search_interface_label'),passthru_params);
+}
 
-function spawn_copy_browser(d,tab,params) {
-       sdump('D_SPAWN','trying to spawn_copy_browser('+js2JSON(params)+')\n');
-       var w;
+function spawn_copy_browser(d,tab_flag,passthru_params) {
        var chrome = 'chrome://evergreen/content/cat/browse_list.xul';
-       if (tab) {
-               if (tab != 'replace') { new_tab(d,'main_tabbox'); }
-               w = replace_tab(d,'main_tabbox','COPIES',chrome);
-       } else {
-               w = mw.new_window( chrome );
-       }
-       w.find_this_id = params[0];
-       w.record_columns = params;
+       spawn_interface(d,tab_flag,'main_tabbox',chrome,getString('copy_browser_interface_label'),passthru_params);
 }
 
 function spawn_main() {
@@ -73,35 +55,29 @@ function spawn_main() {
                var w = new_window('chrome://evergreen/content/evergreen/main/app_shell.xul');
                if (!w) { throw('window ref == null'); }
                try {
-                       w.document.title = mw.G.user.usrname() + '@' + mw.G.user_ou.name();
+                       w.document.title = G.user.usrname() + '@' + G.user_ou.name();
                } catch(E) {
                        alert('Hrmm. ' + pretty_print( js2JSON(E) ) );
                }
        } catch(E) {
-               incr_progressmeter('auth_meter',-100);
-               alert('Login failed on new_window: ' + js2JSON(E)); enable_login_prompts(); return;
+               //incr_progressmeter('auth_meter',-100);
+               //alert('Login failed on new_window: ' + js2JSON(E)); enable_login_prompts(); return;
        }
-       incr_progressmeter('auth_meter',100);
+       //incr_progressmeter('auth_meter',100);
 }
 
-
-function spawn_marc_editor(d,tab,params) {
-       sdump('D_SPAWN','trying to spawn_marc_editor('+js2JSON(params)+')\n');
-       var w;
+function spawn_marc_editor(d,tab_flag,passthru_params) {
        var chrome = 'chrome://evergreen/content/cat/marc.xul';
-       if (tab) {
-               if (tab != 'replace') { new_tab(d,'main_tabbox'); }
-               w = replace_tab(d,'main_tabbox','MARC',chrome);
-       } else {
-               w = mw.new_window( chrome );
-       }
-       w.find_this_id = params[0];
-       w.record_columns = params;
-       w.params = params;
+       spawn_interface(d,tab_flag,'main_tabbox',chrome,getString('marc_editor_interface_label'),passthru_params);
 }
 
-function spawn_oclc_import(d,tab,params) {
-       sdump('D_SPAWN','trying to spawn_marc_editor('+js2JSON(params)+')\n');
+function spawn_opac_navigator(d,tab_flag,passthru_params) {
+       var chrome = 'chrome://evergreen/content/opac/opac.xul';
+       spawn_interface(d,tab_flag,'main_tabbox',chrome,getString('opac_navigator_interface_label'),passthru_params);
+}
+
+function spawn_oclc_import(d,tab_flag,params) {
+       sdump('D_SPAWN','trying to spawn_oclc_import('+js2JSON(passthru_params)+')\n');
        // sample TCN: 03715963 
        try {
                if (params.tcn.length < 6) {
@@ -110,7 +86,7 @@ function spawn_oclc_import(d,tab,params) {
                var result = user_request(
                        'open-ils.search',
                        'open-ils.search.z3950.import',
-                       [ mw.G.auth_ses[0], params.tcn ]
+                       [ G.auth_ses[0], params.tcn ]
                )[0];
                if (typeof result == 'object') {
                        if (result.records.length > 0) {        
@@ -121,42 +97,41 @@ function spawn_oclc_import(d,tab,params) {
                } else {
                        throw('result: ' + js2JSON(result) + '\n');
                }
-               var w;
-               var chrome = 'chrome://evergreen/content/cat/marc.xul';
-               if (tab) {
-                       if (tab != 'replace') { new_tab(d,'main_tabbox'); }
-                       w = replace_tab(d,'main_tabbox','MARC',chrome);
-               } else {
-                       w = mw.new_window( chrome );
-               }
-               w.params = params;
-               w.find_this_id = -1;
-               //w.record_columns = params;
-
+               spawn_marc_editor(d,tab_flag,params);
        } catch(E) {
                handle_error(E);
        }
-
 }
 
-function spawn_patron_edit(d,tab,patron,params) {
-       sdump('D_SPAWN','trying to spawn_patron_edit('+js2JSON(patron)+')\n');
-       sdump('D_SPAWN','barcode: ' + patron.barcode() + '\n');
-       var w;
+function spawn_patron_edit(d,tab_flag,passthru_params) {
        var chrome = 'chrome://evergreen/content/patron/patron_edit.xul';
-       var params = { 'barcode' : patron.barcode() };
-       if (tab) {
-               if (tab != 'replace') { new_tab(d,'main_tabbox'); }
-               w = replace_tab(d,'main_tabbox','PATRON EDIT',chrome,params);
-       } else {
-               w = mw.new_window( chrome, params );
-       }
+       spawn_interface(d,tab_flag,'main_tabbox',chrome,getString('patron_editor_interface_label'),passthru_params);
 }
 
-function spawn_test(d) {
-       var chrome = 'chrome://evergreen/content/patron/patron_edit.xul';
-       var params = { 'barcode':'101010101010101' };
-       var w = replace_tab(d,'main_tabbox','TEST',chrome,params);
+function spawn_patron_register(d,tab_flag,passthru_params) {
+       var chrome = 'chrome://evergreen/content/patron/patron_new.xul';
+       spawn_interface(d,tab_flag,'main_tabbox',chrome,getString('patron_register_interface_label'),passthru_params);
+}
+
+
+function spawn_copy_stat_cat_edit(d,tab_flag,passthru_params) {
+       var chrome = 'chrome://evergreen/content/stat_cat/copy_stat_cat_editor.xul';
+       spawn_interface(d,tab_flag,'main_tabbox',chrome,getString('copy_stat_cat_editor_interface'),passthru_params);
 }
 
+function spawn_patron_stat_cat_edit(d,tab_flag,passthru_params) {
+       var chrome = 'chrome://evergreen/content/stat_cat/patron_stat_cat_editor.xul';
+       spawn_interface(d,tab_flag,'main_tabbox',chrome,getString('patron_stat_cat_editor_interface'),passthru_params);
+}
+
+function spawn_survey_admin_wizard(d,tab_flag,passthru_params) {
+       var chrome = 'chrome://evergreen/content/survey/survey_wizard.xul';
+       spawn_interface(d,tab_flag,'main_tabbox',chrome,getString('survey_admin_interface_label'),passthru_params);
+}
+
+
+function spawn_z3950_import(d,tab_flag,passthru_params) {
+       var chrome = 'chrome://evergreen/content/z39_50/z39_50.xul';
+       spawn_interface(d,tab_flag,'main_tabbox',chrome,getString('z39_50_import_interface_label'),passthru_params);
+}
 
index 876d9fe..6a8d526 100644 (file)
@@ -3,6 +3,36 @@ sdump('D_TRACE','Loading util.js\n');
 var timer = {};
 var counter = {};
 
+function getString( key ) {
+       var bundles = document.getElementById('string_bundles');
+       for (var i = i; i < bundles.childNodes.length; i++) {
+               var bundle = bundles[i];
+               try {
+
+                       var string = bundle.getString( key );
+                       if (string)
+                               return string;
+
+               } catch(E) {
+               }
+       }
+}
+
+function getFormattedString( key, strArray ) {
+       var bundles = document.getElementById('string_bundles');
+       for (var i = i; i < bundles.childNodes.length; i++) {
+               var bundle = bundles[i];
+               try {
+
+                       var string = bundle.getFormattedString( key, strArray );
+                       if (string)
+                               return string;
+
+               } catch(E) {
+               }
+       }
+}
+
 function string_to_array(s) {
        var my_array = [];
        for (var i = 0; i < s.length; i++ ) {
index 015944b..0a6ddfa 100644 (file)
@@ -8,6 +8,7 @@
 
        <script>
                var IAMXUL = true;
+               dump('Loading all the js in the util overlay...\n');
        </script>
 
        <script src="error.js" />       <!-- more like output handling -->
diff --git a/Evergreen/staff_client/chrome/locale/en-US/evergreen/OpenILS.properties b/Evergreen/staff_client/chrome/locale/en-US/evergreen/OpenILS.properties
new file mode 100644 (file)
index 0000000..f53680d
--- /dev/null
@@ -0,0 +1,17 @@
+bills_interface_label=BILLS
+checkout_interface_label=CHECK OUT
+checkin_interface_label=CHECK IN
+copies_editor_interface_label=COPIES EDIT
+copy_browser_interface_label=COPIES
+display_patron_interface_label=DISPLAY PATRON
+items_out_interface_label=ITEMS OUT
+marc_editor_interface_label=MARC
+opac_navigator_interface_label=CATALOG NAVIGATOR
+patron_editor_interface_label=PATRON EDIT
+patron_search_interface_label=PATRON SEARCH
+patron_register_interface_label=NEW PATRON
+survey_admin_interface_label=SURVEY ADMIN
+copy_stat_cat_editor_interface_label=COPY STAT-CATS
+patron_stat_cat_editor_interface_label=PATRON STAT-CATS
+z39_50_import_interface_label=Z39.50 IMPORT
+
index e69de29..a034d88 100644 (file)
@@ -0,0 +1,72 @@
+<!ENTITY evergreen.title "Evergreen Staff Client">
+
+<!-- The Main Menubar -->
+<!ENTITY evergreen.file "File"><!ENTITY evergreen.file.key "F">
+<!ENTITY evergreen.edit "Edit"><!ENTITY evergreen.edit.key "E">
+<!ENTITY evergreen.circ "Circulation"><!ENTITY evergreen.circ.key "C">
+<!ENTITY evergreen.cat "Cataloging"><!ENTITY evergreen.cat.key "a">
+<!ENTITY evergreen.serials "Serials"><!ENTITY evergreen.serials.key "l">
+<!ENTITY evergreen.acquisitions "Acquisitions"><!ENTITY evergreen.acquisitions.key "q">
+<!ENTITY evergreen.search "Search"><!ENTITY evergreen.search.key "r">
+<!ENTITY evergreen.reports "Reports"><!ENTITY evergreen.reports.key "">
+<!ENTITY evergreen.help "Help"><!ENTITY evergreen.help.key "H">
+<!ENTITY evergreen.admin "Admin"><!ENTITY evergreen.admin.key "">
+
+<!-- The File menu on the Main Menubar -->
+<!ENTITY evergreen.file.new "New Window"><!ENTITY evergreen.file.new.key "N">
+<!ENTITY evergreen.file.new_tab "New Tab"><!ENTITY evergreen.file.new_tab.key "T">
+<!ENTITY evergreen.file.open "Open Session"><!ENTITY evergreen.file.open.key "O">
+<!ENTITY evergreen.file.save "Save Session"><!ENTITY evergreen.file.save.key "S">
+<!ENTITY evergreen.file.close_tab "Close Tab"><!ENTITY evergreen.file.close_tab.key "">
+<!ENTITY evergreen.file.close "Close Window"><!ENTITY evergreen.file.close.key "C">
+
+<!-- The Edit menu on the Main Menubar -->
+<!ENTITY evergreen.edit.undo "Undo"><!ENTITY evergreen.edit.undo.key "U">
+<!ENTITY evergreen.edit.redo "Redo"><!ENTITY evergreen.edit.redo.key "R">
+<!ENTITY evergreen.edit.cut "Cut"><!ENTITY evergreen.edit.cut.key "t">
+<!ENTITY evergreen.edit.copy "Copy"><!ENTITY evergreen.edit.copy.key "C">
+<!ENTITY evergreen.edit.paste "Paste"><!ENTITY evergreen.edit.paste.key "P">
+<!ENTITY evergreen.edit.delete "Delete"><!ENTITY evergreen.edit.delete.key "D">
+<!ENTITY evergreen.edit.select_all "Select All"><!ENTITY evergreen.edit.select_all.key "A">
+<!ENTITY evergreen.edit.find "Find"><!ENTITY evergreen.edit.find.key "F">
+<!ENTITY evergreen.edit.find_again "Find Again"><!ENTITY evergreen.edit.find_again.key "g">
+<!ENTITY evergreen.edit.buckets "Manage Buckets"><!ENTITY evergreen.edit.buckets.key "B">
+
+<!-- The Circulation menu on the Main Menubar -->
+<!ENTITY evergreen.circ.checkout "Check Out"><!ENTITY evergreen.circ.checkout.key "O">
+<!ENTITY evergreen.circ.checkin "Check In"><!ENTITY evergreen.circ.checkin.key "C">
+<!ENTITY evergreen.circ.renew "Renew"><!ENTITY evergreen.circ.renew.key "n">
+<!ENTITY evergreen.circ.mark_used "Mark Used"><!ENTITY evergreen.circ.mark_used.key "U">
+<!ENTITY evergreen.circ.copy_status "Display Item"><!ENTITY evergreen.circ.copy_status.key "I">
+<!ENTITY evergreen.circ.patron_status "Display Patron"><!ENTITY evergreen.circ.patron_status.key "P">
+<!ENTITY evergreen.circ.patron_registration "Register Patron"><!ENTITY evergreen.circ.patron_registration.key "R">
+<!ENTITY evergreen.circ.place_hold "Place Hold"><!ENTITY evergreen.circ.place_hold.key "H">
+
+<!-- The Special Circulation submenu in the Circulation Menu -->
+<!ENTITY evergreen.circ.special "Special Circulation"><!ENTITY evergreen.circ.special.key "S">
+<!ENTITY evergreen.circ.lost "Mark Lost"><!ENTITY evergreen.circ.lost.key "L">
+<!ENTITY evergreen.circ.missing "Mark Missing"><!ENTITY evergreen.circ.missing.key "M">
+<!ENTITY evergreen.circ.found "Mark Found"><!ENTITY evergreen.circ.found.key "F">
+<!ENTITY evergreen.circ.quick_add "Quick Add"><!ENTITY evergreen.circ.quick_add.key "Q">
+<!ENTITY evergreen.circ.claimed_returned 'Mark as "Claimed Returned"'><!ENTITY evergreen.circ.claimed_returned.key "C">
+
+<!-- The Cataloging menu on the Main Menubar -->
+<!ENTITY evergreen.cat.add_copy "Add Item"><!ENTITY evergreen.cat.add_copy.key "I">
+<!ENTITY evergreen.cat.add_volume "Add Volume"><!ENTITY evergreen.cat.add_volume.key "V">
+<!ENTITY evergreen.cat.add_bib "Add Bib Record"><!ENTITY evergreen.cat.add_bib.key "B">
+<!ENTITY evergreen.cat.copy_status "Display Item"><!ENTITY evergreen.cat.copy_status.key "I">
+<!ENTITY evergreen.cat.volume_status "Display Volume"><!ENTITY evergreen.cat.volume_status.key "V">
+<!ENTITY evergreen.cat.bib_status "Display Bib Record"><!ENTITY evergreen.cat.bib_status.key "B">
+<!ENTITY evergreen.cat.bib_search "Search Catalog"><!ENTITY evergreen.cat.bib_search.key "S">
+<!ENTITY evergreen.cat.dedup "Merge/Transfer Interface"><!ENTITY evergreen.cat.dedup.key "M">
+
+<!-- The Entity Menubar -->
+<!ENTITY evergreen.entity.patron "Patrons"><!ENTITY evergreen.entity.patron.key "">
+<!ENTITY evergreen.entity.copy "Items"><!ENTITY evergreen.entity.copy.key "">
+<!ENTITY evergreen.entity.volume "Volumes"><!ENTITY evergreen.entity.volume.key "">
+<!ENTITY evergreen.entity.bib "Bib Records"><!ENTITY evergreen.entity.bib.key "">
+
+<!-- The Patron menu on the Entity Menubar -->
+<!-- Re-use evergreen.copy.patron_registration for menuitem label -->
+<!ENTITY evergreen.entity.patron.register.key "R">
+