LP1147286 - Allow translating more of the staff client portal page.
authorPasi Kallinen <pasi.kallinen@pttk.fi>
Tue, 5 Mar 2013 16:38:57 +0000 (18:38 +0200)
committerBen Shum <bshum@biblio.org>
Thu, 7 Mar 2013 07:06:15 +0000 (02:06 -0500)
Add translatable strings for image alt-tags and the Search button on
the staff client portal page.

Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/web/opac/locale/en-US/lang.dtd
Open-ILS/xul/staff_client/server/index.xhtml

index 877c926..f327a52 100644 (file)
 <!ENTITY staff.client.portal.welcome "Welcome to Evergreen">
 <!ENTITY staff.client.portal.circpatron "Circulation and Patrons">
 <!ENTITY staff.client.portal.checkout "Check Out Items">
+<!ENTITY staff.client.portal.checkout.description "Check Out Items">
 <!ENTITY staff.client.portal.retrievebc "(Retrieve Patron By Barcode)">
 <!ENTITY staff.client.portal.checkin "Check In Items">
+<!ENTITY staff.client.portal.checkin.description "Check In Items">
 <!ENTITY staff.client.portal.patronreg "Register Patron(s)">
+<!ENTITY staff.client.portal.patronreg.description "Register Patron(s)">
 <!ENTITY staff.client.portal.patronsearch "Search For Patron By Name">
+<!ENTITY staff.client.portal.patronsearch.description "Search For Patron By Name">
 <!ENTITY staff.client.portal.holdlist "Pull List for Hold Requests">
+<!ENTITY staff.client.portal.holdlist.description "Pull List for Hold Requests">
 <!ENTITY staff.client.portal.itemcataloging "Item Search and Cataloging">
 <!ENTITY staff.client.portal.advsearch "Advanced Search">
+<!ENTITY staff.client.portal.advsearch.description "Advanced Search">
 <!ENTITY staff.client.portal.itemstatus "Item Status / Display">
+<!ENTITY staff.client.portal.itemstatus.description "Item Status / Display">
 <!ENTITY staff.client.portal.marcutil "MARC Batch Import / Export">
+<!ENTITY staff.client.portal.marcutil.description "MARC Batch Import / Export">
 <!ENTITY staff.client.portal.z3950 "z39.50 Import">
+<!ENTITY staff.client.portal.z3950.description "z39.50 Import">
 <!ENTITY staff.client.portal.copybuckets "Copy Buckets">
+<!ENTITY staff.client.portal.copybuckets.description "Copy Buckets">
 <!ENTITY staff.client.portal.recordbuckets "Record Buckets">
+<!ENTITY staff.client.portal.recordbuckets.description "Record Buckets">
 <!ENTITY staff.client.portal.admin "Administration">
 <!ENTITY staff.client.portal.helpdesk "Get Help with Evergreen">
+<!ENTITY staff.client.portal.helpdesk.description "Submit A Helpdesk Ticket">
 <!ENTITY staff.client.portal.reports "Reports">
+<!ENTITY staff.client.portal.reports.description "Reports">
 <!ENTITY staff.client.portal.receipts "Edit Receipt Templates">
+<!ENTITY staff.client.portal.receipts.description "Edit Receipt Templates">
 <!ENTITY staff.client.portal.copyright "Copyright &copy; 2006-2012 Georgia Public Library Service, and others">
 <!ENTITY staff.client.portal.poweredby "Powered by">
 <!ENTITY staff.client.portal.toggle_tpac "Toggle Template Toolkit OPAC Use">
 <!ENTITY staff.client.portal.toggle_tpac.message_on "The use of the Template Toolkit OPAC has been enabled. You may need to restart the staff client for this to take effect.">
 <!ENTITY staff.client.portal.toggle_tpac.message_off "The use of the Template Toolkit OPAC has been disabled. You may need to restart the staff client for this to take effect.">
+<!ENTITY staff.client.portal.open_new_tab.description "Open in a new tab">
+<!ENTITY staff.client.portal.search.button "Search">
 <!ENTITY staff.item.batch.hold.groupbox_caption "Request Details">
 <!ENTITY staff.item.batch.hold.hold_type_menu.label "Hold Type">
 <!ENTITY staff.item.batch.hold.hold_type_menu.accesskey "T">
index 1b36f3a..03bc29c 100644 (file)
             <tr>
               <td height="50"><img src="skin/media/images/portal/forward.png" height="48" width="48"
               onclick="try { checkout(false); } catch(E) { alert(E); }" alt=
-              "Check Out Items" /></td>
+              "&staff.client.portal.checkout.description;" /></td>
 
-              <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="Open in a new tab"
+              <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="&staff.client.portal.open_new_tab.description;"
               onclick="try { checkout(true); } catch(E) { alert(E); }" /><a href="#"
               onclick=
               "try { checkout(false); } catch(E) { alert(E); }; return false;">&staff.client.portal.checkout;</a><br />
             <tr>
               <td height="50"><img src="skin/media/images/portal/back.png" height="48" width="48" onclick=
               "try { checkin(false); } catch(E) { alert(E); }" alt=
-              "Check In Items" /></td>
+              "&staff.client.portal.checkin.description;" /></td>
 
-              <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="Open in a new tab"
+              <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="&staff.client.portal.open_new_tab.description;"
               onclick="try { checkin(true); } catch(E) { alert(E); }" /> <a href="#"
               onclick=
               "try { checkin(false); } catch(E) { alert(E); }; return false;">&staff.client.portal.checkin;</a><br /></td>
             <tr>
               <td height="50"><img src="skin/media/images/portal/registerpatron.png" height="48" width="48"
               onclick="try { register_patron(false); } catch(E) { alert(E); }" alt=
-              "Register Patron" /></td>
+              "&staff.client.portal.patronreg.description;" /></td>
 
-              <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="Open in a new tab"
+              <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="&staff.client.portal.open_new_tab.description;"
               onclick="try { register_patron(true); } catch(E) { alert(E); }" /> <a href=
               "#" onclick=
               "try { register_patron(false); } catch(E) { alert(E); }; return false;">&staff.client.portal.patronreg;</a></td>
             <tr>
               <td height="50"><img src="skin/media/images/portal/retreivepatron.png" height="48" width="48"
               onclick="try { find_patron(false); } catch(E) { alert(E); }" alt=
-              "Search For Patron By Name" /></td>
+              "&staff.client.portal.patronsearch.description;" /></td>
 
-              <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="Open in a new tab"
+              <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="&staff.client.portal.open_new_tab.description;"
               onclick="try { find_patron(true); } catch(E) { alert(E); }" /> <a href="#"
               onclick=
               "try { find_patron(false); } catch(E) { alert(E); }; return false;">&staff.client.portal.patronsearch;</a></td>
             <tr>
               <td height="50"><img class="funcimg" src="skin/media/images/portal/holds.png" height="48"
               width="48" onclick="try { hold_pull_list(false); } catch(E) { alert(E); }"
-              alt="Pull List for Hold Requests" /></td>
+              alt="&staff.client.portal.holdlist.description;" /></td>
 
-              <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="Open in a new tab"
+              <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="&staff.client.portal.open_new_tab.description;"
               onclick="try { hold_pull_list(true); } catch(E) { alert(E); }" /> <a href=
               "#" onclick=
               "try { hold_pull_list(false); } catch(E) { alert(E); }; return false;">&staff.client.portal.holdlist;</a></td>
               <td height="50"><img src="skin/media/images/portal/map.PNG" alt="Locate Address In Map"
               onclick="try { address_map(false); } catch(E) { alert(E); }" /></td>
 
-              <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="Open in a new tab"
+              <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="&staff.client.portal.open_new_tab.description;"
               onclick="try { address_map(true); } catch(E) { alert(E); }" /> <a href="#"
               onclick=
               "try { address_map(false); } catch(E) { alert(E); }; return false;">&staff.client.portal.addrmap;</a></td>
               <td colspan="2" rowspan="1">
                 <form action="#" onsubmit="return SearchOnSubmit();">
                   <input id="quicksearch" onfocus="SearchOnFocus();" onblur=
-                  "SearchOnBlur();" onkeydown="SearchOnFocus();" /> <input value="Search" type="submit" />
+                  "SearchOnBlur();" onkeydown="SearchOnFocus();" /> <input value="&staff.client.portal.search.button;" type="submit" />
                 </form>
               </td>
             </tr>
             <tr>
               <td height="50"><img src="skin/media/images/portal/book.png" height="48" width="48" onclick=
               "try { catalog(false); } catch(E) { alert(E); }" alt=
-              "Advanced Search" /></td>
+              "&staff.client.portal.advsearch.description;" /></td>
 
-              <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="Open in a new tab"
+              <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="&staff.client.portal.open_new_tab.description;"
               onclick="try { catalog(true); } catch(E) { alert(E); }" /> <a href="#"
               onclick=
               "try { catalog(false); } catch(E) { alert(E); }; return false;">&staff.client.portal.advsearch;</a></td>
             <tr>
               <td height="50"><img src="skin/media/images/portal/book.png" height="48" width="48" onclick=
               "try { copy_status(false); } catch(E) { alert(E); }" alt=
-              "Item Status / Display" /></td>
+              "&staff.client.portal.itemstatus.description;" /></td>
 
-              <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="Open in a new tab"
+              <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="&staff.client.portal.open_new_tab.description;"
               onclick="try { copy_status(true); } catch(E) { alert(E); }" /> <a href="#"
               onclick=
               "try { copy_status(false); } catch(E) { alert(E); }; return false;">&staff.client.portal.itemstatus;</a></td>
             <tr>
               <td height="50"><img src="skin/media/images/portal/batchimport.png" height="48" width="48"
               onclick="try { MARC_batch_import(false); } catch(E) { alert(E); }" alt=
-              "MARC Batch Import / Export" /></td>
+              "&staff.client.portal.marcutil.description;" /></td>
 
-              <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="Open in a new tab"
+              <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="&staff.client.portal.open_new_tab.description;"
               onclick="try { MARC_batch_import(true); } catch(E) { alert(E); }" />
               <a href="#" onclick=
               "try { MARC_batch_import(false); } catch(E) { alert(E); }; return false;">&staff.client.portal.marcutil;</a></td>
 
             <tr>
               <td height="50"><img src="skin/media/images/portal/z3950.png" height="48" width="48" onclick=
-              "try { z39_50(false); } catch(E) { alert(E); }" alt="Z39.50 Import" /></td>
+              "try { z39_50(false); } catch(E) { alert(E); }" alt="&staff.client.portal.z3950.description;" /></td>
 
-              <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="Open in a new tab"
+              <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="&staff.client.portal.open_new_tab.description;"
               onclick="try { z39_50(true); } catch(E) { alert(E); }" /> <a href="#"
               onclick=
               "try { z39_50(false); } catch(E) { alert(E); }; return false;">&staff.client.portal.z3950;</a></td>
             <tr>
               <td height="50"><img src="skin/media/images/portal/bucket.png" height="48" width="48" onclick=
               "try { copy_buckets(false); } catch(E) { alert(E); }" alt=
-              "Copy Buckets" /></td>
+              "&staff.client.portal.copybuckets.description;" /></td>
 
-              <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="Open in a new tab"
+              <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="&staff.client.portal.open_new_tab.description;"
               onclick="try { copy_buckets(true); } catch(E) { alert(E); }" /> <a href="#"
               onclick=
               "try { copy_buckets(false); } catch(E) { alert(E); }; return false;">&staff.client.portal.copybuckets;</a></td>
             <tr>
               <td height="50"><img src="skin/media/images/portal/bucket.png" height="48" width="48" onclick=
               "try { record_buckets(false); } catch(E) { alert(E); }" alt=
-              "Record Buckets" /></td>
+              "&staff.client.portal.recordbuckets.description;" /></td>
 
-              <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="Open in a new tab"
+              <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="&staff.client.portal.open_new_tab.description;"
               onclick="try { record_buckets(true); } catch(E) { alert(E); }" /> <a href=
               "index.html#" onclick=
               "try { record_buckets(false); } catch(E) { alert(E); }; return false;">&staff.client.portal.recordbuckets;</a></td>
             <tr>
               <td height="50"><img src="skin/media/images/portal/helpdesk.png" height="48" width="48"
               onclick="try { helpdesk(false); } catch(E) { alert(E); }" alt=
-              "Submit A Helpdesk Ticket" /></td>
+              "&staff.client.portal.helpdesk.description;" /></td>
 
               <td><a href="#"
               onclick="try { helpdesk(false); } catch(E) { alert(E); }">&staff.client.portal.helpdesk;</a></td>
             <tr>
               <td height="50"><img src="skin/media/images/portal/reports.png" height="48" width="48"
               onclick="try { local_admin_reports(false); } catch(E) { alert(E); }" alt=
-              "Reports" /></td>
+              "&staff.client.portal.reports.description;" /></td>
 
-              <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="Open in a new tab"
+              <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="&staff.client.portal.open_new_tab.description;"
               onclick="try { local_admin_reports(true); } catch(E) { alert(E); }" />
               <a href="#" onclick=
               "try { local_admin_reports(false); } catch(E) { alert(E); }; return false;">
             <tr>
               <td height="50"><img src="skin/media/images/portal/receipt_editor.png" height="48" width="48"
               onclick="try { receipt_editor(false); } catch(E) { alert(E); }" alt=
-              "Edit Receipt Templates" /></td>
+              "&staff.client.portal.receipts.description;" /></td>
 
-              <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="Open in a new tab"
+              <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="&staff.client.portal.open_new_tab.description;"
               onclick="try { receipt_editor(true); } catch(E) { alert(E); }" /> <a href=
               "#" onclick=
               "try { receipt_editor(false); } catch(E) { alert(E); }; return false;">&staff.client.portal.receipts;</a></td>