[open-ils-commits] r17434 - in trunk/Open-ILS: web/opac/locale/en-US xul/staff_client/server/admin xul/staff_client/server/cat (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Sep 1 22:35:40 EDT 2010


Author: dbs
Date: 2010-09-01 22:35:37 -0400 (Wed, 01 Sep 2010)
New Revision: 17434

Modified:
   trunk/Open-ILS/web/opac/locale/en-US/lang.dtd
   trunk/Open-ILS/xul/staff_client/server/admin/copy_locations.xhtml
   trunk/Open-ILS/xul/staff_client/server/cat/marcedit.xul
Log:
i18n for biblio source editor and label prefix/suffix fields in copy location editor

There were a few outstanding strings in the biblio source editor and copy location
editor that needed attention. They are now un-hardcoded.


Modified: trunk/Open-ILS/web/opac/locale/en-US/lang.dtd
===================================================================
--- trunk/Open-ILS/web/opac/locale/en-US/lang.dtd	2010-09-02 02:11:21 UTC (rev 17433)
+++ trunk/Open-ILS/web/opac/locale/en-US/lang.dtd	2010-09-02 02:35:37 UTC (rev 17434)
@@ -1825,10 +1825,14 @@
 <!ENTITY staff.server.admin.copy_locations.editor.help "Help">
 <!ENTITY staff.server.admin.copy_locations.editor.opac_visible "OPAC Visible">
 <!ENTITY staff.server.admin.copy_locations.editor.circulate "Circulate">
+<!ENTITY staff.server.admin.copy_locations.editor.create "Create">
 <!ENTITY staff.server.admin.copy_locations.editor.edit "Edit">
 <!ENTITY staff.server.admin.copy_locations.editor.delete "Delete">
 <!ENTITY staff.server.admin.copy_locations.editor.help.holdable "If a copy location is 'Holdable', copies in that location may have holds placed on them.">
 <!ENTITY staff.server.admin.copy_locations.editor.delete.confirm "Are you sure you wish to delete the selected copy location?  Note: If copies are currently attached to this location, the delete operation will fail.">
+<!ENTITY staff.server.admin.copy_locations.editor.prefix "Label prefix">
+<!ENTITY staff.server.admin.copy_locations.editor.suffix "Label suffix">
+<!ENTITY staff.server.admin.copy_locations.editor.welcome "Welcome">
 <!ENTITY staff.server.admin.copy_locations.submit "Submit">
 <!ENTITY staff.server.admin.copy_locations.cancel "Cancel">
 <!ENTITY staff.server.admin.copy_locations.update_success "Update Succeeded">
@@ -2568,6 +2572,8 @@
 <!ENTITY staff.cat.marcedit.help.accesskey "H">
 <!ENTITY staff.cat.marcedit.caption.label "MARC Record">
 <!ENTITY staff.cat.marcedit.toggleFFE.label "Fixed Fields -- Record type: ">
+<!ENTITY staff.cat.marcedit.source.caption "Bibliographic source">
+<!ENTITY staff.cat.marcedit.source.submit.label "Update source">
 <!ENTITY staff.cat.marc_new.load.label "Load">
 <!ENTITY staff.cat.marc_new.load.accesskey "L">
 <!ENTITY staff.cat.marc_view.title "MARC View">

Modified: trunk/Open-ILS/xul/staff_client/server/admin/copy_locations.xhtml
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/admin/copy_locations.xhtml	2010-09-02 02:11:21 UTC (rev 17433)
+++ trunk/Open-ILS/xul/staff_client/server/admin/copy_locations.xhtml	2010-09-02 02:35:37 UTC (rev 17434)
@@ -37,7 +37,7 @@
     <body onload='try{clEditorInit();}catch(e){alert(js2JSON(e));}'>
 
         <div class='welcome_box'>
-            <span>Welcome </span><b><span id='user'/></b>
+            <span>&staff.server.admin.copy_locations.editor.welcome; </span><b><span id='user'/></b>
         </div>
 
         <center>
@@ -96,7 +96,7 @@
                         </td>
                     </tr>
                     <tr>
-                        <td colspan='4'><input id='sc_new_submit' type='submit' value='Create' disabled='disabled'/></td>
+                        <td colspan='4'><input id='sc_new_submit' type='submit' value='&staff.server.admin.copy_locations.editor.create;' disabled='disabled'/></td>
                     </tr>
                 </tbody>
             </table>
@@ -116,8 +116,8 @@
                         <td width=''>&staff.server.admin.copy_locations.editor.hold_verify;</td>
                         <td width=''>&staff.server.admin.copy_locations.editor.opac_visible;</td>
                         <td width=''>&staff.server.admin.copy_locations.editor.circulate;</td>
-                        <td width=''>Label prefix</td>
-                        <td width=''>Label suffix</td>
+                        <td width=''>&staff.server.admin.copy_locations.editor.prefix;</td>
+                        <td width=''>&staff.server.admin.copy_locations.editor.suffix;</td>
                         <td width=''>&staff.server.admin.copy_locations.editor.edit;</td>
                         <td width=''>&staff.server.admin.copy_locations.editor.delete;</td>
                     </tr>
@@ -135,8 +135,8 @@
                         <td name='cl_circulate'> </td>
                         <td name='cl_label_prefix'> </td>
                         <td name='cl_label_suffix'> </td>
-                        <td><input type='submit' value='Edit' name='cl_edit' disabled='disabled'> </input></td>
-                        <td><input type='submit' value='Delete' name='cl_delete' disabled='disabled'> </input></td>
+                        <td><input type='submit' value='&staff.server.admin.copy_locations.editor.edit;' name='cl_edit' disabled='disabled'> </input></td>
+                        <td><input type='submit' value='&staff.server.admin.copy_locations.editor.delete;' name='cl_delete' disabled='disabled'> </input></td>
                     </tr>
                 </tbody>
             </table>

Modified: trunk/Open-ILS/xul/staff_client/server/cat/marcedit.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/marcedit.xul	2010-09-02 02:11:21 UTC (rev 17433)
+++ trunk/Open-ILS/xul/staff_client/server/cat/marcedit.xul	2010-09-02 02:35:37 UTC (rev 17434)
@@ -238,9 +238,9 @@
         </groupbox>
 
             <vbox>
-                <caption id="bib-source-list-caption" hidden="true">Bibliographic source</caption>
+                <caption id="bib-source-list-caption" hidden="true">&staff.cat.marcedit.source.caption;</caption>
                 <menulist id="bib-source-list" rows="3" hidden="true" onselect='onBibSourceSelect();'><menupopup id='bib-source-list-popup'></menupopup></menulist>
-                <button id="bib-source-list-button" label="Update source" disabled="true" oncommand="updateBibSource();" hidden="true"/>
+                <button id="bib-source-list-button" label="&staff.cat.marcedit.source.submit.label;" disabled="true" oncommand="updateBibSource();" hidden="true"/>
             </vbox>
         </hbox>
 



More information about the open-ils-commits mailing list