Vandelay: import strings from DTD
authorBill Erickson <berick@esilibrary.com>
Mon, 12 Sep 2011 12:43:32 +0000 (08:43 -0400)
committerBill Erickson <berick@esilibrary.com>
Mon, 12 Sep 2011 12:45:13 +0000 (08:45 -0400)
Using the new template-style embedded string localizer:  [% l('...') %]
Removed vandelay.dtd.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
12 files changed:
Open-ILS/src/templates/vandelay/inc/attrs.tt2
Open-ILS/src/templates/vandelay/inc/export.tt2
Open-ILS/src/templates/vandelay/inc/import_errors.tt2
Open-ILS/src/templates/vandelay/inc/marchtml.tt2
Open-ILS/src/templates/vandelay/inc/matches.tt2
Open-ILS/src/templates/vandelay/inc/progress.tt2
Open-ILS/src/templates/vandelay/inc/queue.tt2
Open-ILS/src/templates/vandelay/inc/queueselect.tt2
Open-ILS/src/templates/vandelay/inc/toolbar.tt2
Open-ILS/src/templates/vandelay/inc/upload.tt2
Open-ILS/src/templates/vandelay/vandelay.tt2
Open-ILS/web/opac/locale/en-US/vandelay.dtd [deleted file]

index 1a09b0b..8368548 100644 (file)
@@ -1,72 +1,72 @@
 <div style='float: left; margin-top: 8px;'>
     <input dojoType="dijit.form.RadioButton" name="attrEditorGroup" value="bib" 
         id="aegB" onclick="setAttrEditorGroup('bib');" checked="checked"/>
-    <label for="aegB" style="margin-right: 1em;">&vandelay.bib.attrs;</label>
+    <label for="aegB" style="margin-right: 1em;">[% l('Bibliographic attributes') %]</label>
     <input dojoType="dijit.form.RadioButton" name="attrEditorGroup" value="auth" 
         id="aegA" onclick="setAttrEditorGroup('auth');"/>
-    <label for="aegA" style="margin-right: 1em;">&vandelay.auth.attrs;</label>
+    <label for="aegA" style="margin-right: 1em;">[% l('Authority attributes') %]</label>
 </div>
 <div dojoType="dijit.form.DropDownButton" id="vl-create-attr-editor-button">
-    <span name="create">&vandelay.create.attr.def;</span>
+    <span name="create">[% l('Create Attribute Definition') %]</span>
     <div dojoType="dijit.TooltipDialog" execute="vlSaveAttrDefinition(arguments[0]);" id="attr-editor-dialog">
         <script type='dojo/connect' event='onOpen'>onAttrEditorOpen();</script>
         <script type='dojo/connect' event='onClose'>onAttrEditorClose();</script>
         <table class='dijitTooltipTable'>
             <tr>
-                <td><label for="code">&vandelay.code;:</label></td>
+                <td><label for="code">[% l('Code') %]:</label></td>
                 <td><input id='attr-editor-code' name="code" dojoType="dijit.form.TextBox"/></td>
             </tr>
             <tr>
-                <td><label for="description">&vandelay.descrip;:</label></td>
+                <td><label for="description">[% l('Description') %]:</label></td>
                 <td><input id='attr-editor-description' dojoType="dijit.form.TextBox" name="description"> </input></td>
             </tr>
             <tr>
-                <td><label for="amount">&vandelay.tags;:</label></td>
+                <td><label for="amount">[% l('Tag(s)') %]:</label></td>
                 <td><input id="attr-editor-tags" dojoType="dijit.form.TextBox" name="tag"></input>
                 <div class="hidden" id="attr-editor-tags-tip">
-                <p>&vandelay.tooltip.tags;</p>
-                <p>&vandelay.for.example;:<code>120, 220, 300</code> or <code>120 220 330</code></p></div>
+                <p>[% l('You can enter multiple tags, separated by spaces and/or commas') %]</p>
+                <p>[% l('Example') %]:<code>120, 220, 300</code> or <code>120 220 330</code></p></div>
                 </td>
             </tr>
 
             <tr>
-                <td><label for="amount">&vandelay.subfields;:</label></td>
+                <td><label for="amount">[% l('Subfield(s)') %]:</label></td>
                 <td><input dojoType="dijit.form.TextBox" name="subfield" id="attr-editor-subfields"></input>
                     <div class="hidden" id="attr-editor-subfields-tip">
-                    <p>&vandelay.tooltip.subfields;</p>
-                    <p>&vandelay.for.example;: <code>a, b, j, x</code> or <code>a b j x</code></p></div>
+                    <p>[% l('You can enter multiple subfields, separated by spaces and/or commas') %]</p>
+                    <p>[% l('Example') %]: <code>a, b, j, x</code> or <code>a b j x</code></p></div>
                 </td>
             </tr>
             <tr>
-                <td><label for="attr-editor-xpath">&vandelay.xpath.advanced;: </label></td>
+                <td><label for="attr-editor-xpath">[% l('XPath (advanced)') %]: </label></td>
 
                 <td><input dojoType="dijit.form.TextBox" id="attr-editor-xpath" name="xpath"></input></td>
             </tr>
             <tr>
-                <td><label for="attr-editor-remove">&vandelay.remove.advanced;: </label></td>
+                <td><label for="attr-editor-remove">[% l('Remove (advanced)') %]: </label></td>
 
                 <td><input dojoType="dijit.form.TextBox" id="attr-editor-remove" name="remove"></input></td>
             </tr>
             <tr id="attr-editor-create-bar">
                 <td colspan='2' align='center'>
                     <button dojoType="dijit.form.Button" type="submit" 
-                        id="attr-editor-create-button">&vandelay.create;</button>
+                        id="attr-editor-create-button">[% l('Create') %]</button>
                     <button type="button" dojoType="dijit.form.Button"
-                        onclick="dijit.byId('attr-editor-dialog').onCancel();">&vandelay.cancel;</button>
+                        onclick="dijit.byId('attr-editor-dialog').onCancel();">[% l('Cancel') %]</button>
                 </td>
             </tr>
             <tr id="attr-editor-update-bar">
                 <td colspan='2' align='center'>
                     <button dojoType="dijit.form.Button" type="submit" 
-                        id="attr-editor-update-button">&vandelay.update;</button>
+                        id="attr-editor-update-button">[% l('Update') %]</button>
                     <button type="button" dojoType="dijit.form.Button"
-                        onclick="dijit.byId('attr-editor-dialog').onCancel();">&vandelay.cancel;</button>
+                        onclick="dijit.byId('attr-editor-dialog').onCancel();">[% l('Cancel') %]</button>
                     <button dojoType="dijit.form.Button" 
                         type="button" 
                         id="attr-editor-delete-button"
                         style="padding-left: 2em;"
-                        onclick="if(confirm('&vandelay.sure.to.delete;')) { vlAttrDelete(); }">
-                            &vandelay.delete.record;</button>
+                        onclick="if(confirm('[% l('Are you sure you want to delete this record?') %]')) { vlAttrDelete(); }">
+                            [% l('Delete record') %]</button>
                 </td>
             </tr>
         </table>
     <table dojoType='dojox.grid.DataGrid' jsId='attrEditorGrid' query="{id: '*'}" autoHeight='true'> 
         <thead>
             <tr>
-                <th field='id'>&vandelay.id;</th>
-                <th field='code' width='auto'>&vandelay.code;</th>
-                <th field='description' width='auto'>&vandelay.descrip;</th>
-                <th field='tag' get='attrGridGetTag'>&vandelay.tag;</th>
-                <th field='subfield' get='attrGridGetSubfield'>&vandelay.subfield;</th>
-                <th field='xpath' width='auto'>&vandelay.xpath;</th>
-                <th field='remove' width='auto'>&vandelay.remove;</th>
+                <th field='id'>[% l('ID') %]</th>
+                <th field='code' width='auto'>[% l('Code') %]</th>
+                <th field='description' width='auto'>[% l('Description') %]</th>
+                <th field='tag' get='attrGridGetTag'>[% l('Tag') %]</th>
+                <th field='subfield' get='attrGridGetSubfield'>[% l('Subfield') %]</th>
+                <th field='xpath' width='auto'>[% l('XPath') %]</th>
+                <th field='remove' width='auto'>[% l('Remove') %]</th>
             </tr>
         </thead>
     </table>
index 1f7a9e3..5565a81 100644 (file)
@@ -1,63 +1,63 @@
-<h1>&vandelay.export.records;</h1><br/>
+<h1>[% l('Export Records') %]</h1><br/>
 <form method="POST" enctype="multipart/form-data" action='https://[% ctx.hostname %]/exporter'>
     <table class='form_table'>
         <tr class='export_tr_border'>
-            <td>&vandelay.export.use_field_no;</td>
+            <td>[% l('Use Field Number') %]</td>
             <td>
                 <input dojoType='dijit.form.TextBox' type="text" size="2" maxlength="2" name="idcolumn" value="0"/>
-                &vandelay.export.field_no_hint;
+                [% l('(starting from 0)') %]
             </td>
         </tr>
         <tr>
-            <td>&vandelay.export.from_csv;</td>
+            <td>[% l('From CSV File') %]</td>
             <td><input type="file" name="idfile"/></td>
         </tr>
-        <tr><td colspan='2'><b>&vandelay.export.or;</b></td></tr>
+        <tr><td colspan='2'><b>[% l('Or') %]</b></td></tr>
         <tr class='export_tr_border'>
-            <td>&vandelay.export.record_id;</td>
+            <td>[% l('Record ID') %]</td>
             <td><input dojoType='dijit.form.TextBox' type="text" size="12" maxlength="12" name="id"/></td>
         </tr>
-        <tr><td colspan='2'><b>&vandelay.export.or;</b></td></tr>
+        <tr><td colspan='2'><b>[% l('Or') %]</b></td></tr>
         <tr class='export_tr_border'>
-            <td>&vandelay.export.bucket;</td>
+            <td>[% l('Record Bucket ID') %]</td>
             <td><input dojoType='dijit.form.TextBox' type='text' name='containerid'/></td>
         </tr>
         <tr class='export_tr_border'>
-            <td>&vandelay.record.type;</td>
+            <td>[% l('Record Type') %]</td>
             <td>
                 <select name="rectype" dojoType='dijit.form.FilteringSelect'>
-                    <option value="biblio">&vandelay.bib.records;</option>
-                    <option value="authority">&vandelay.auth.records;</option>
+                    <option value="biblio">[% l('Bibliographic Records') %]</option>
+                    <option value="authority">[% l('Authority Records') %]</option>
                 </select>
             </td>
         </tr>
         <tr>
-            <td>&vandelay.export.format;</td>
+            <td>[% l('Record Format') %]</td>
             <td>
                 <select name="format" dojoType='dijit.form.FilteringSelect'>
-                    <option value="USMARC">&vandelay.export.format.marc21;</option>
-                    <option value="UNIMARC">&vandelay.export.format.unimarc;</option>
-                    <option value="XML">&vandelay.export.format.xml;</option>
-                    <option value="BRE">&vandelay.export.format.bre;</option>
+                    <option value="USMARC">[% l('MARC21') %]</option>
+                    <option value="UNIMARC">[% l('UNIMARC') %]</option>
+                    <option value="XML">[% l('MARC XML') %]</option>
+                    <option value="BRE">[% l('Evergreen Record Entry') %]</option>
                 </select>
             </td>
         </tr>
         <tr>
-            <td>&vandelay.export.encoding;</td>
+            <td>[% l('Record Encoding') %]</td>
             <td>
                 <select name="encoding" dojoType='dijit.form.FilteringSelect'>
-                    <option value="UTF-8">&vandelay.export.utf8;</option>
-                    <option value="MARC8">&vandelay.export.marc8;</option>
+                    <option value="UTF-8">[% l('UTF-8') %]</option>
+                    <option value="MARC8">[% l('MARC8') %]</option>
                 </select>
             </td>
         </tr>
         <tr>
-            <td>&vandelay.export.holdings;</td>
+            <td>[% l('Include holdings in Bibliographic Records') %]</td>
             <td><input dojoType='dijit.form.CheckBox' type="checkbox" name="holdings" value="1"/></td>
         </tr>
         <tr>
             <td colspan='2'>
-                <button dojoType='dijit.form.Button' type="submit" value="Retrieve Records">&vandelay.export.retrieve;</button>
+                <button dojoType='dijit.form.Button' type="submit" value="Retrieve Records">[% l('Retrieve Records') %]</button>
             </td>
         </tr>
     </table>
index 588260e..821363c 100644 (file)
@@ -1,7 +1,7 @@
 
 <div dojoType="dijit.layout.ContentPane" layoutAlign='client'>
     <button dojoType='dijit.form.Button' 
-        onclick="displayGlobalDiv('vl-queue-div');">&#x2196; &vandelay.back.to.import.queue;</button>
+        onclick="displayGlobalDiv('vl-queue-div');">&#x2196; [% l('Back To Import Queue') %]</button>
 </div>
 
 <div dojoType="dijit.layout.ContentPane" layoutAlign='client'>
index ad54452..1a82220 100644 (file)
@@ -1,10 +1,10 @@
 <!-- MARC as HTML -->
-<h1>&vandelay.marc.record;</h1><br/>
-<span class='hidden' id='vl-marc-edit-save-label'>&vandelay.save;</span>
-<span class='hidden' id='vl-marc-edit-complete-label'>&vandelay.record_saved;</span>
+<h1>[% l('MARC Record') %]</h1><br/>
+<span class='hidden' id='vl-marc-edit-save-label'>[% l('Save Changes') %]</span>
+<span class='hidden' id='vl-marc-edit-complete-label'>[% l('Record Saved') %]</span>
 <div>
-    <button id='vl-marc-html-done-button' dojoType='dijit.form.Button'>&#x2196; &vandelay.return;</button>
-    <button id='vl-marc-html-edit-button' dojoType='dijit.form.Button'>&vandelay.edit;</button>
+    <button id='vl-marc-html-done-button' dojoType='dijit.form.Button'>&#x2196; [% l('Return') %]</button>
+    <button id='vl-marc-html-edit-button' dojoType='dijit.form.Button'>[% l('Edit') %]</button>
 </div>
 <div>
     <style type="text/css">#vl-marc-record-html td {padding:0px;}</style>
index 2376dbc..4e5d95b 100644 (file)
@@ -5,33 +5,33 @@
             defaultCell: {styles: 'text-align: center;'},
             cells : [[
                 {
-                    name: '&vandelay.overlay.target;', 
+                    name: '[% l('Merge Target') %]', 
                     get: vlGetOverlayTargetSelector,
                     formatter : vlFormatOverlayTargetSelector,
                 },
-                {name: '&vandelay.id;', field:'id'},
-                {   name: '&vandelay.view.marc;', 
+                {name: '[% l('ID') %]', field:'id'},
+                {   name: '[% l('View MARC') %]', 
                     get: vlGetViewMARC, 
                     formatter : vlFormatViewMatchMARC
                 },
                 {name: 'Match Score', field:'match_score'},
                 {name: 'Queued Record Quality', field:'rec_quality'},
                 {name: 'Matched Record Quality', field:'match_quality'},
-                {name: '&vandelay.creator;', get: vlGetCreator},
-                {name: '&vandelay.create.date;', field:'create_date', get: vlGetDateTimeField},
-                {name: '&vandelay.last.edit.date;', field:'edit_date', get: vlGetDateTimeField},
-                {name: '&vandelay.source;', field:'source'},
-                {name: '&vandelay.tcn.source;', field:'tcn_source'},
-                {name: '&vandelay.tcn.value;', field:'tcn_value'}
+                {name: '[% l('Creator') %]', get: vlGetCreator},
+                {name: '[% l('Create Date') %]', field:'create_date', get: vlGetDateTimeField},
+                {name: '[% l('Last Edit Date') %]', field:'edit_date', get: vlGetDateTimeField},
+                {name: '[% l('Source') %]', field:'source'},
+                {name: '[% l('TCN Source') %]', field:'tcn_source'},
+                {name: '[% l('TCN Value') %]', field:'tcn_value'}
             ]]
         }];
     }
 </script>
-<h1>&vandelay.import.matches;</h1><br/>
+<h1>[% l('Import Matches') %]</h1><br/>
 
 <div dojoType="dijit.layout.ContentPane" layoutAlign='client'>
     <button dojoType='dijit.form.Button' 
-        onclick="displayGlobalDiv('vl-queue-div');">&#x2196; &vandelay.back.to.import.queue;</button>
+        onclick="displayGlobalDiv('vl-queue-div');">&#x2196; [% l('Back To Import Queue') %]</button>
 </div>
 
 <div dojoType="dijit.layout.ContentPane" layoutAlign='client'>
index e5e1833..b92455f 100644 (file)
@@ -5,12 +5,12 @@
     <div dojoType="dijit.ProgressBar" jsId='vlControlledProgressBar' style="width:300px"></div>
 </div>
 <div dojoType="dijit.layout.ContentPane" layoutAlign='client' id='vl-marc-upload-status-div' class='hidden'>
-    <h1>&vandelay.upload.status;</h1><br/>
+    <h1>[% l('Upload Status') %]</h1><br/>
     <div id='vl-upload-status-uploading'>
-        <h3>&vandelay.uploading;</h3>
+        <h3>[% l('Uploading...') %]</h3>
     </div>
     <div id='vl-upload-status-processing' class='hidden'>
-        <h3>&vandelay.processing;<span id='vl-upload-status-count'/></h3>
+        <h3>[% l('Processing... ') %]<span id='vl-upload-status-count'/></h3>
     </div>
 </div>
 
index 749434f..0f24b8c 100644 (file)
@@ -9,13 +9,13 @@
                         <table class='queue-nav-table'>
                             <thead><tr><th colspan='2' class='queue-nav-table-label'>Queue Actions</th></tr></thead>
                             <tbody>
-                                <tr><td><a href='javascript:;' onclick='vlHandleQueueItemsAction("import")'>&vandelay.import.selected;</a></td></tr>
-                                <tr><td><a href='javascript:;' onclick='vlHandleQueueItemsAction("import_all")'>&vandelay.import.all;</a></td></tr>
+                                <tr><td><a href='javascript:;' onclick='vlHandleQueueItemsAction("import")'>[% l('Import Selected Records') %]</a></td></tr>
+                                <tr><td><a href='javascript:;' onclick='vlHandleQueueItemsAction("import_all")'>[% l('Import All  Records') %]</a></td></tr>
                                 <tr><td><a href='javascript:;' onclick='vlLoadErrorUIAll();'>View Import Items</a></td></tr>
                                 <tr><td><a href='javascript:;' onclick='
-                                    if(confirm("&vandelay.sure.to.delete.queue;")) {
+                                    if(confirm("[% l('Are you sure you want to delete this queue?') %]")) {
                                         vlDeleteQueue(currentType, currentQueueId, 
-                                            function() { displayGlobalDiv("vl-marc-upload-div"); });}'>&vandelay.delete.queue;</a></td></tr>
+                                            function() { displayGlobalDiv("vl-marc-upload-div"); });}'>[% l('Delete Queue') %]</a></td></tr>
                             </tbody>
                         </table>
                     </td>
@@ -24,8 +24,8 @@
                         <table  id='vl-queue-summary-table' class='queue-nav-table'>
                             <thead><tr><th colspan='2' class='queue-nav-table-label'>Queue Summary</th></tr></thead>
                             <tbody>
-                                <tr><td>&vandelay.queue.total;</td><td> <span style='font-weight:bold;' id='vl-queue-summary-total-count'/></td></tr>
-                                <tr><td>&vandelay.queue.imported;</td><td> <span style='font-weight:bold;' id='vl-queue-summary-import-count'/></td></tr>
+                                <tr><td>[% l('Records in Queue:') %]</td><td> <span style='font-weight:bold;' id='vl-queue-summary-total-count'/></td></tr>
+                                <tr><td>[% l('Records Imported:') %]</td><td> <span style='font-weight:bold;' id='vl-queue-summary-import-count'/></td></tr>
                                 <tr><td>Record Import Failures</td><td> <span style='font-weight:bold;' id='vl-queue-summary-rec-error-count'/></td></tr>
                                 <tr><td>Items in Queue</td><td> <span style='font-weight:bold;' id='vl-queue-summary-import-item-count'/></td></tr>
                                 <tr><td>Items Imported</td><td> <span style='font-weight:bold;' id='vl-queue-summary-import-item-imported-count'/></td></tr>
                             <thead><tr><th colspan='2' class='queue-nav-table-label'>Queue Filters</th></tr></thead>
                             <tbody>
                                 <tr>
-                                    <td>&vandelay.limit.to.collision.matches;</td>
+                                    <td>[% l('Limit to Records with Matches') %]</td>
                                     <td>
                                         <input dojoType='dijit.form.CheckBox' 
                                             jsId='vlQueueGridShowMatches' onchange='retrieveQueuedRecords();'/>
                                     </td>
                                 </tr>
                                 <tr>
-                                    <td>&vandelay.limit.to.non.imported;</td>
+                                    <td>[% l('Limit to Non-Imported Records') %]</td>
                                     <td>
                                         <input dojoType='dijit.form.CheckBox' 
                                             jsId='vlQueueGridShowNonImport' onchange='retrieveQueuedRecords();'/>
                                     </td>
                                 </tr>
                                 <tr>
-                                    <td>&vandelay.limit.to.import_error;</td>
+                                    <td>[% l('Limit to Records with Import Errors') %]</td>
                                     <td>
                                         <input dojoType='dijit.form.CheckBox' 
                                             jsId='vlQueueGridShowImportErrors' onchange='retrieveQueuedRecords();'/>
@@ -77,7 +77,7 @@
                             <option value='csv'>CSV</option>
                             <option value='email'>Email</option>
                         </select>
-                        <span style='padding-right:5px;'>&vandelay.results.per.page;</span>
+                        <span style='padding-right:5px;'>[% l('Records Per Page') %]</span>
                         <span class='queue-pager-span'>
                             <select jsId='vlQueueDisplayLimit' id='vl-queue-display-limit-selector'
                                 value='10' onchange='retrieveQueuedRecords();'>
                         </span>
 
                         <span class='queue-pager-span'>
-                            <span style='padding-left:5px;'>&vandelay.page;</span>
+                            <span style='padding-left:5px;'>[% l('Page') %]</span>
                             <input style='width:36px;' dojoType='dijit.form.TextBox' jsId='vlQueueDisplayPage' value='1'/>
                         </span>
 
                         <span style='padding-right:8px;'>
-                            <a href='javascript:void(0);' onclick='vlQueueGridPrevPage();'>&vandelay.prev.page;</a>
+                            <a href='javascript:void(0);' onclick='vlQueueGridPrevPage();'>[% l('&#171; Previous') %]</a>
                         </span>
                         <span style='padding-right:10px;'>
-                            <a href='javascript:void(0);' onclick='vlQueueGridNextPage();'>&vandelay.next.page;</a>
+                            <a href='javascript:void(0);' onclick='vlQueueGridNextPage();'>[% l('Next &#187;') %]</a>
                         </span>
                     </td></tr>
                 </tbody>
                     get='vlGetViewMARC'
                     formatter='vlFormatViewMARC' 
                     styles='text-align: center;'
-                    nonSelectable='true'>&vandelay.view.marc;</th>
+                    nonSelectable='true'>[% l('View MARC') %]</th>
                 <th
                     field='+get_matches'
                     get='vlGetViewMatches'
                     formatter='vlFormatViewMatches'
                     styles='text-align: center;'
-                    nonSelectable='true'>&vandelay.matches;</th>
+                    nonSelectable='true'>[% l('Matches') %]</th>
                 <th
                     field='+get_errors'
                     get='vlGetViewErrors'
                 <th
                     field='import_time'
                     styles='text-align: center;'
-                    get='vlGetDateTimeField'>&vandelay.import.time;</th>
+                    get='vlGetDateTimeField'>[% l('Import Time') %]</th>
             </tr>
         </thead>
     </table>
                     get='vlGetViewMARC'
                     formatter='vlFormatViewMARC' 
                     styles='text-align: center;'
-                    nonSelectable='true'>&vandelay.view.marc;</th>
+                    nonSelectable='true'>[% l('View MARC') %]</th>
                 <th
                     field='+get_matches'
                     get='vlGetViewMatches'
                     formatter='vlFormatViewMatches'
                     styles='text-align: center;'
-                    nonSelectable='true'>&vandelay.matches;</th>
+                    nonSelectable='true'>[% l('Matches') %]</th>
                 <th
                     field='+get_errors'
                     get='vlGetViewErrors'
                 <th
                     field='import_time'
                     styles='text-align: center;'
-                    get='vlGetDateTimeField'>&vandelay.import.time;</th>
+                    get='vlGetDateTimeField'>[% l('Import Time') %]</th>
             </tr>
         </thead>
     </table>
         <table class='form_table'>
             <tbody>
                 <tr>
-                    <td>&vandelay.auto.import.merge_profile;</td>
+                    <td>[% l('Merge Profile') %]</td>
                     <td colspan='4'>
                         <div jsId='vlUploadMergeProfile2' 
                             dojoType='dijit.form.FilteringSelect' required='false' labelAttr='name' searchAttr='name'/>
                     </td>
                 </tr>
                 <tr>
-                    <td>&vandelay.auto.import.noncolliding;</td>
+                    <td>[% l('Import Non-Matching Records') %]</td>
                     <td colspan='4'>
                         <input jsId='vlUploadQueueImportNoMatch2' dojoType='dijit.form.CheckBox'/>
                     </td>
                 </tr>
                 <tr>
-                    <td>&vandelay.auto.import.auto_overlay_exact;</td>
+                    <td>[% l('Merge On Exact Match (901c)') %]</td>
                     <td colspan='4'>
                         <input jsId='vlUploadQueueAutoOverlayExact2' dojoType='dijit.form.CheckBox'/>
                     </td>
                 </tr>
                 <tr>
-                    <td>&vandelay.auto.import.auto_overlay_1match;</td>
+                    <td>[% l('Merge On Single Match') %]</td>
                     <td colspan='4'>
                         <input jsId='vlUploadQueueAutoOverlay1Match2' dojoType='dijit.form.CheckBox'/>
                     </td>
                 </tr>
                 <tr>
-                    <td>&vandelay.auto.import.auto_overlay_best;</td>
+                    <td>[% l('Merge On Best Match') %]</td>
                     <td colspan='4'><input jsId='vlUploadQueueAutoOverlayBestMatch2' dojoType='dijit.form.CheckBox'/></td>
                 </tr>
                 <tr>
-                    <td>&vandelay.auto.import.auto_overlay_best_ratio;</td>
+                    <td>[% l('Best/Single Match Minimum Quality Ratio') %]</td>
                     <td colspan='4'>
                         <input style='width:3em' value='0.0' jsId='vlUploadQueueAutoOverlayBestMatchRatio2' dojoType='dijit.form.TextBox'/>
-                        <span style='padding-left: 10px; font-size:90%'>(&vandelay.auto.import.auto_overlay_best_ratio.desc;)</span>
+                        <span style='padding-left: 10px; font-size:90%'>[% l('New Record Quality / Quality of Best Match') %]</span>
                     </td>
                 </tr>
                 <tr>
-                    <td>&vandelay.auto.import.ft_merge_profile;</td>
+                    <td>[% l('Insufficient Quality Fall-Through Profile') %]</td>
                     <td colspan='4'>
                         <div jsId='vlUploadFtMergeProfile2' dojoType='dijit.form.FilteringSelect' required='false' labelAttr='name' searchAttr='name'/>
                     </td>
index 2149dfa..e72633b 100644 (file)
@@ -1,17 +1,17 @@
 <!-- Form for choosing which queue to view -->
-<h1>&vandelay.select.queue;</h1><br/>
+<h1>[% l('Select a Queue to Inspect') %]</h1><br/>
 <table class='form_table'>
     <tr>
-        <td>&vandelay.queue.type;</td>
+        <td>[% l('Queue Type') %]</td>
         <td>
             <select jsId='vlQueueSelectType' dojoType='dijit.form.FilteringSelect' onchange='vlShowQueueSelect();'>
-                <option value='bib' selected='selected'>&vandelay.bib.records;</option>
-                <option value='auth'>&vandelay.auth.records;</option>
+                <option value='bib' selected='selected'>[% l('Bibliographic Records') %]</option>
+                <option value='auth'>[% l('Authority Records') %]</option>
             </select>
         </td>
     </tr>
     <tr>
-        <td>&vandelay.queue;</td>
+        <td>[% l('Queue') %]</td>
         <td>
             <select jsId='vlQueueSelectQueueList' dojoType='dijit.form.FilteringSelect'>
             </select>
@@ -19,7 +19,7 @@
     </tr>
     <tr>
         <td colspan='2'>
-            <button dojoType='dijit.form.Button' onclick='vlFetchQueueFromForm();'>&vandelay.retrieve.queue;</button>
+            <button dojoType='dijit.form.Button' onclick='vlFetchQueueFromForm();'>[% l('Retrieve Queue') %]</button>
         </td>
     </tr>
 </table>
index 144cd45..cdfc6d6 100644 (file)
@@ -1,16 +1,16 @@
 <div dojoType="dijit.Toolbar" id='toolbar'>
     <div dojoType="dijit.form.Button" iconClass="dijitEditorIcon dijitEditorIconCopy" id='vl-menu-marc-export'
-        onclick="displayGlobalDiv('vl-marc-export-div');" showLabel="true">&vandelay.export.records;</div>
+        onclick="displayGlobalDiv('vl-marc-export-div');" showLabel="true">[% l('Export Records') %]</div>
     <div dojoType="dijit.form.Button" iconClass="dijitEditorIcon dijitEditorIconCopy"  id='vl-menu-marc-upload'
-        onclick="displayGlobalDiv('vl-marc-upload-div');" showLabel="true">&vandelay.import.records;</div>
+        onclick="displayGlobalDiv('vl-marc-upload-div');" showLabel="true">[% l('Import Records') %]</div>
     <div dojoType="dijit.form.Button" iconClass="dijitEditorIcon dijitEditorIconCopy"  id='vl-menu-queue-select'
-        onclick="vlShowQueueSelect();" showLabel="true">&vandelay.inspect.queue;</div>
+        onclick="vlShowQueueSelect();" showLabel="true">[% l('Inspect Queue') %]</div>
     <div dojoType="dijit.form.Button" iconClass="dijitEditorIcon dijitEditorIconCopy"  id='vl-menu-attr-editor'
-        onclick="vlShowAttrEditor();" showLabel="true">&vandelay.edit.attributes;</div>
+        onclick="vlShowAttrEditor();" showLabel="true">[% l('Record Display Attributes') %]</div>
     <div dojoType="dijit.form.Button" iconClass="dijitEditorIcon dijitEditorIconCopy"  id='vl-menu-profile-editor'
-        onclick="vlShowProfileEditor();" showLabel="true">&vandelay.edit.profiles;</div>
+        onclick="vlShowProfileEditor();" showLabel="true">[% l('Merge / Overlay Profiles') %]</div>
     <div dojoType="dijit.form.Button" iconClass="dijitEditorIcon dijitEditorIconCopy"  id='vl-menu-match-set-editor'
-        onclick="vlShowMatchSetEditor();" showLabel="true">&vandelay.edit.match_set;</div>
+        onclick="vlShowMatchSetEditor();" showLabel="true">[% l('Record Match Sets') %]</div>
     <div dojoType="dijit.form.Button" iconClass="dijitEditorIcon dijitEditorIconCopy"  id='vl-menu-import-item-attr-editor'
-        onclick="vlShowImportItemAttrEditor();" showLabel="true">&vandelay.edit.import_item_attrs;</div>
+        onclick="vlShowImportItemAttrEditor();" showLabel="true">[% l('Import Item Attributes') %]</div>
 </div>
index 0c1bbd5..cd5b3b1 100644 (file)
@@ -1,23 +1,23 @@
-<h1>&vandelay.marc.file.upload;</h1><br/>
+<h1>[% l('Evergreen MARC File Upload') %]</h1><br/>
 <form id="vl-marc-upload-form" enctype="multipart/form-data">
     <input type='hidden' name='ses' id='vl-ses-input'/>
     <table class='form_table'>
         <tr>
-            <td>&vandelay.record.type;</td>
+            <td>[% l('Record Type') %]</td>
             <td colspan='4'>
                 <select id='vl-record-type' dojoType='dijit.form.FilteringSelect' 
                         jsId='vlUploadRecordType' onchange='vlShowUploadForm();'>
-                    <option value='bib' selected='selected'>&vandelay.bib.records;</option>
-                    <option value='auth'>&vandelay.auth.records;</option>
+                    <option value='bib' selected='selected'>[% l('Bibliographic Records') %]</option>
+                    <option value='auth'>[% l('Authority Records') %]</option>
                 </select>
             </td>
         </tr>
         <tr>
-            <td>&vandelay.create.upload.queue;</td>
+            <td>[% l('Create a New Upload Queue') %]</td>
             <td>
                 <input type='text' dojoType='dijit.form.TextBox' id='vl-queue-name' size='32'></input>
             </td>
-            <td>&vandelay.add.existing.queue;</td>
+            <td>[% l('or Add to an Existing Queue') %]</td>
             <td>
                 <select jsId='vlUploadQueueSelector' dojoType='dijit.form.FilteringSelect' required='false'>
                 </select>
             </td>
         </tr>
         <tr>
-            <td>&vandelay.import.bib_sources;</td>
+            <td>[% l('Select a Record Source') %]</td>
             <td>
                 <select name='bib_source' jsId='vlUploadSourceSelector' 
                     dojoType='dijit.form.FilteringSelect' labelAttr='source' searchAttr='source'/>
             </td>
         </tr>
         <tr><td colspan='2' style='margin-top:10px;border-bottom:1px solid #888;border-top:2px solid #888'>
-            <b>&vandelay.import.actions;</b>
+            <b>[% l('Record Import Actions') %]</b>
         </td></tr>
         <tr>
-            <td>&vandelay.auto.import.merge_profile;</td>
+            <td>[% l('Merge Profile') %]</td>
             <td colspan='4'>
                 <div jsId='vlUploadMergeProfile' dojoType='dijit.form.FilteringSelect' required='false' labelAttr='name' searchAttr='name'/>
             </td>
         </tr>
         <tr>
-            <td>&vandelay.auto.import.noncolliding;</td>
+            <td>[% l('Import Non-Matching Records') %]</td>
             <td colspan='4'>
                 <input jsId='vlUploadQueueImportNoMatch' dojoType='dijit.form.CheckBox'/>
             </td>
         </tr>
         <tr>
-            <td>&vandelay.auto.import.auto_overlay_exact;</td>
+            <td>[% l('Merge On Exact Match (901c)') %]</td>
             <td colspan='4'>
                 <input jsId='vlUploadQueueAutoOverlayExact' dojoType='dijit.form.CheckBox'/>
             </td>
         </tr>
         <tr>
-            <td>&vandelay.auto.import.auto_overlay_1match;</td>
+            <td>[% l('Merge On Single Match') %]</td>
             <td colspan='4'>
                 <input jsId='vlUploadQueueAutoOverlay1Match' dojoType='dijit.form.CheckBox'/>
             </td>
         </tr>
         <tr>
-            <td>&vandelay.auto.import.auto_overlay_best;</td>
+            <td>[% l('Merge On Best Match') %]</td>
             <td colspan='4'><input jsId='vlUploadQueueAutoOverlayBestMatch' dojoType='dijit.form.CheckBox'/></td>
         </tr>
         <tr>
-            <td>&vandelay.auto.import.auto_overlay_best_ratio;</td>
+            <td>[% l('Best/Single Match Minimum Quality Ratio') %]</td>
             <td colspan='4'>
                 <input style='width:3em' value='0.0' jsId='vlUploadQueueAutoOverlayBestMatchRatio' dojoType='dijit.form.TextBox'/>
-                <span style='padding-left: 10px; font-size:90%'>(&vandelay.auto.import.auto_overlay_best_ratio.desc;)</span>
+                <span style='padding-left: 10px; font-size:90%'>[% l('New Record Quality / Quality of Best Match') %]</span>
             </td>
         </tr>
         <tr>
-            <td>&vandelay.auto.import.ft_merge_profile;</td>
+            <td>[% l('Insufficient Quality Fall-Through Profile') %]</td>
             <td colspan='4'>
                 <div jsId='vlUploadFtMergeProfile' dojoType='dijit.form.FilteringSelect' required='false' labelAttr='name' searchAttr='name'/>
             </td>
@@ -93,9 +93,9 @@
         <tr><td colspan='2' style='padding-bottom: 10px;'></td></tr>
         <tr>
             <td colspan='5'>
-                <span id="vl-file-label">&vandelay.file.to.upload;</span>
+                <span id="vl-file-label">[% l('File to Upload:') %]</span>
                 <input size='48' style='border:1px solid #888;' type="file" name="marc_upload"/>
-                <span style='margin-left:10px;'><button dojoType="dijit.form.Button" onclick="batchUpload()">&vandelay.upload;</button></span>
+                <span style='margin-left:10px;'><button dojoType="dijit.form.Button" onclick="batchUpload()">[% l('Upload') %]</button></span>
             </td>
         </tr>
     </table>
index 7aaac3f..1775028 100644 (file)
@@ -31,7 +31,7 @@
     [% INCLUDE 'vandelay/inc/queueselect.tt2' %]
 </div>
 <div dojoType="dijit.layout.ContentPane" layoutAlign="client"  id="vl-attr-editor-div" 
-        class='hidden attr-editor-detail-content-pane content' title='&vandelay.edit.attrs;'>
+        class='hidden attr-editor-detail-content-pane content' title='[% l('Record Display Attributes') %]'>
     [% INCLUDE 'vandelay/inc/attrs.tt2' %]
 </div>
 <div dojoType="dijit.layout.ContentPane" layoutAlign='client' id='vl-profile-editor-div' class='hidden content'>
diff --git a/Open-ILS/web/opac/locale/en-US/vandelay.dtd b/Open-ILS/web/opac/locale/en-US/vandelay.dtd
deleted file mode 100644 (file)
index 99dac5c..0000000
+++ /dev/null
@@ -1,119 +0,0 @@
-<!ENTITY vandelay.add.existing.queue "or Add to an Existing Queue">
-<!ENTITY vandelay.auth.attrs "Authority attributes">
-<!ENTITY vandelay.auth.records "Authority Records">
-<!ENTITY vandelay.import.actions "Record Import Actions">
-<!ENTITY vandelay.auto.import.noncolliding "Import Non-Matching Records">
-<!ENTITY vandelay.auto.import.auto_overlay_exact "Merge On Exact Match (901c)">
-<!ENTITY vandelay.auto.import.auto_overlay_1match "Merge On Single Match">
-<!ENTITY vandelay.auto.import.auto_overlay_best "Merge On Best Match">
-<!ENTITY vandelay.auto.import.auto_overlay_best_ratio "Best/Single Match Minimum Quality Ratio">
-<!ENTITY vandelay.auto.import.auto_overlay_best_ratio.desc "New Record Quality / Quality of Best Match">
-<!ENTITY vandelay.auto.import.merge_profile "Merge Profile">
-<!ENTITY vandelay.auto.import.ft_merge_profile "Insufficient Quality Fall-Through Profile">
-<!ENTITY vandelay.auto.width "Auto Width">
-<!ENTITY vandelay.back.to.import.queue "Back To Import Queue">
-<!ENTITY vandelay.bib.attrs "Bibliographic attributes">
-<!ENTITY vandelay.bib.records "Bibliographic Records">
-<!ENTITY vandelay.cancel "Cancel">
-<!ENTITY vandelay.edit "Edit">
-<!ENTITY vandelay.code "Code">
-<!ENTITY vandelay.column "Column">
-<!ENTITY vandelay.create.attr.def "Create Attribute Definition">
-<!ENTITY vandelay.create "Create">
-<!ENTITY vandelay.create.date "Create Date">
-<!ENTITY vandelay.create.upload.queue "Create a New Upload Queue">
-<!ENTITY vandelay.creator "Creator">
-<!ENTITY vandelay.delete.queue "Delete Queue">
-<!ENTITY vandelay.delete.record "Delete record">
-<!ENTITY vandelay.descrip "Description">
-<!ENTITY vandelay.dest.match.point "Destination Match Point">
-<!ENTITY vandelay.display "Display">
-<!ENTITY vandelay.done "Done">
-<!ENTITY vandelay.edit.attributes "Record Display Attributes">
-<!ENTITY vandelay.edit.attrs "Record Display Attributes">
-<!ENTITY vandelay.edit.profiles "Merge / Overlay Profiles">
-<!ENTITY vandelay.edit.match_set "Record Match Sets">
-<!ENTITY vandelay.edit.import_item_attrs "Import Item Attributes">
-<!ENTITY vandelay.false "False">
-<!ENTITY vandelay.file.to.upload "File to Upload:">
-<!ENTITY vandelay.for.example "Example">
-<!ENTITY vandelay.identifier "Identifier">
-<!ENTITY vandelay.id.field "Identifier Field?">
-<!ENTITY vandelay.id "ID">
-<!ENTITY vandelay.import.matches "Import Matches">
-<!ENTITY vandelay.import.records "Import Records">
-<!ENTITY vandelay.import.selected "Import Selected Records">
-<!ENTITY vandelay.import.all "Import All  Records">
-<!ENTITY vandelay.import.time "Import Time">
-<!ENTITY vandelay.inspect.queue "Inspect Queue">
-<!ENTITY vandelay.last.edit.date "Last Edit Date">
-<!ENTITY vandelay.limit.to.collision.matches "Limit to Records with Matches">
-<!ENTITY vandelay.limit.to.non.imported "Limit to Non-Imported Records">
-<!ENTITY vandelay.limit.to.import_error "Limit to Records with Import Errors">
-<!ENTITY vandelay.marc.file.upload "Evergreen MARC File Upload">
-<!ENTITY vandelay.marc.record "MARC Record">
-<!ENTITY vandelay.matches "Matches">
-<!ENTITY vandelay.next.page "Next &#187;">
-<!ENTITY vandelay.overlay.selected.record "Merge selected record with imported record">
-<!ENTITY vandelay.overlay.target "Merge Target">
-<!ENTITY vandelay.page "Page">
-<!ENTITY vandelay.powered.by.evergreen "Powered by Evergreen!">
-<!ENTITY vandelay.prev.page "&#171; Previous">
-<!ENTITY vandelay.processing "Processing... ">
-<!ENTITY vandelay.queue "Queue">
-<!ENTITY vandelay.queue.type "Queue Type">
-<!ENTITY vandelay.record.queue "Record Queue">
-<!ENTITY vandelay.record.type "Record Type">
-<!ENTITY vandelay.refresh "Refresh">
-<!ENTITY vandelay.remove.advanced "Remove (advanced)">
-<!ENTITY vandelay.remove "Remove">
-<!ENTITY vandelay.results.per.page "Records Per Page">
-<!ENTITY vandelay.retrieve.queue "Retrieve Queue">
-<!ENTITY vandelay.return "Return">
-<!ENTITY vandelay.select.cols "Select Columns">
-<!ENTITY vandelay.select.queue "Select a Queue to Inspect">
-<!ENTITY vandelay.source.match.point "Source Match Point">
-<!ENTITY vandelay.source "Source">
-<!ENTITY vandelay.subfields "Subfield(s)">
-<!ENTITY vandelay.subfield "Subfield">
-<!ENTITY vandelay.sure.to.delete "Are you sure you want to delete this record?">
-<!ENTITY vandelay.sure.to.delete.queue "Are you sure you want to delete this queue?">
-<!ENTITY vandelay.tags "Tag(s)">
-<!ENTITY vandelay.tag "Tag">
-<!ENTITY vandelay.tcn.source "TCN Source">
-<!ENTITY vandelay.tcn.value "TCN Value">
-<!ENTITY vandelay.tooltip.subfields "You can enter multiple subfields, separated by spaces and/or commas.">
-<!ENTITY vandelay.tooltip.tags "You can enter multiple tags, separated by spaces and/or commas.">
-<!ENTITY vandelay.true "True">
-<!ENTITY vandelay.update "Update">
-<!ENTITY vandelay.uploading "Uploading...">
-<!ENTITY vandelay.upload.status "Upload Status">
-<!ENTITY vandelay.upload "Upload">
-<!ENTITY vandelay.vandelay "Vandelay">
-<!ENTITY vandelay.view.marc "View MARC">
-<!ENTITY vandelay.xpath.advanced "XPath (advanced)">
-<!ENTITY vandelay.xpath "XPath">
-<!ENTITY vandelay.save "Save Changes">
-<!ENTITY vandelay.record_saved "Record Saved">
-<!ENTITY vandelay.export.records "Export Records">
-<!ENTITY vandelay.export.use_field_no "Use Field Number">
-<!ENTITY vandelay.export.from_csv "From CSV File">
-<!ENTITY vandelay.export.record_id "Record ID">
-<!ENTITY vandelay.export.or "Or">
-<!ENTITY vandelay.export.format "Record Format">
-<!ENTITY vandelay.export.format.marc21 "MARC21">
-<!ENTITY vandelay.export.format.unimarc "UNIMARC">
-<!ENTITY vandelay.export.format.xml "MARC XML">
-<!ENTITY vandelay.export.format.bre "Evergreen Record Entry">
-<!ENTITY vandelay.export.encoding "Record Encoding">
-<!ENTITY vandelay.export.utf8 "UTF-8">
-<!ENTITY vandelay.export.marc8 "MARC8">
-<!ENTITY vandelay.export.holdings "Include holdings in Bibliographic Records">
-<!ENTITY vandelay.export.retrieve "Retrieve Records">
-<!ENTITY vandelay.export.field_no_hint "(starting from 0)">
-<!ENTITY vandelay.export.bucket "Record Bucket ID">
-<!ENTITY vandelay.select_actions "-- Actions --">
-<!ENTITY vandelay.queue.total "Records in Queue:">
-<!ENTITY vandelay.queue.imported "Records Imported:">
-<!ENTITY vandelay.queue.column_picker.title "Column Picker">
-<!ENTITY vandelay.import.bib_sources "Select a Record Source">