[open-ils-commits] r9279 - in trunk/Open-ILS: web/opac/locale/en-US xul/staff_client/server/cat

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Apr 8 23:10:22 EDT 2008


Author: dbs
Date: 2008-04-08 22:33:09 -0400 (Tue, 08 Apr 2008)
New Revision: 9279

Modified:
   trunk/Open-ILS/web/opac/locale/en-US/lang.dtd
   trunk/Open-ILS/xul/staff_client/server/cat/copy_editor.xul
Log:
i18n for the strings in the copy_editor.xul


Modified: trunk/Open-ILS/web/opac/locale/en-US/lang.dtd
===================================================================
--- trunk/Open-ILS/web/opac/locale/en-US/lang.dtd	2008-04-09 02:25:45 UTC (rev 9278)
+++ trunk/Open-ILS/web/opac/locale/en-US/lang.dtd	2008-04-09 02:33:09 UTC (rev 9279)
@@ -1839,3 +1839,30 @@
 <!ENTITY staff.cat.copy_buckets_quick.item_buckets.new_bucket.accesskey "N">
 <!ENTITY staff.cat.copy_buckets_quick.item_buckets.cancel.label "Cancel">
 <!ENTITY staff.cat.copy_buckets_quick.item_buckets.cancel.accesskey "C">
+<!ENTITY staff.cat.copy_editor.window.label "Copies">
+<!ENTITY staff.cat.copy_editor.groupbox1.label "Copy Viewer">
+<!ENTITY staff.cat.copy_editor.templates.label "Templates:">
+<!ENTITY staff.cat.copy_editor.templates.apply_template.label "Apply">
+<!ENTITY staff.cat.copy_editor.templates.apply_template.accesskey "y">
+<!ENTITY staff.cat.copy_editor.templates.delete_template.label "Delete">
+<!ENTITY staff.cat.copy_editor.templates.import_template.label "Import">
+<!ENTITY staff.cat.copy_editor.templates.export_template.label "Export">
+<!ENTITY staff.cat.copy_editor.templates.save_template.label "Save">
+<!ENTITY staff.cat.copy_editor.templates.reset.label "Reset">
+<!ENTITY staff.cat.copy_editor.templates.reset.accesskey "R">
+<!ENTITY staff.cat.copy_editor.identification.label "Identification">
+<!ENTITY staff.cat.copy_editor.identification.location.label "Location">
+<!ENTITY staff.cat.copy_editor.identification.location.accesskey "1">
+<!ENTITY staff.cat.copy_editor.identification.circulation.label "Circulation">
+<!ENTITY staff.cat.copy_editor.identification.circulation.accesskey "2">
+<!ENTITY staff.cat.copy_editor.identification.miscellaneous.label "Miscellaneous">
+<!ENTITY staff.cat.copy_editor.identification.miscellaneous.accesskey "3">
+<!ENTITY staff.cat.copy_editor.identification.statistics.label "Statistics">
+<!ENTITY staff.cat.copy_editor.identification.statistics.accesskey "4">
+<!ENTITY staff.cat.copy_editor.stat_cat_lib_filter_menu.label "Library Filter">
+<!ENTITY staff.cat.copy_editor.copy_notes.label "Copy Notes">
+<!ENTITY staff.cat.copy_editor.copy_notes.accesskey "N">
+<!ENTITY staff.cat.copy_editor.save.label "Modify Copies">
+<!ENTITY staff.cat.copy_editor.save.accesskey "M">
+<!ENTITY staff.cat.copy_editor.cancel.label "Close">
+<!ENTITY staff.cat.copy_editor.cancel.accesskey "C">

Modified: trunk/Open-ILS/xul/staff_client/server/cat/copy_editor.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/copy_editor.xul	2008-04-09 02:25:45 UTC (rev 9278)
+++ trunk/Open-ILS/xul/staff_client/server/cat/copy_editor.xul	2008-04-09 02:33:09 UTC (rev 9279)
@@ -21,7 +21,7 @@
 <window id="cat_copy_editor_win" 
 	onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
 	width="800" height="580" persist="width height"
-	title="Copies"
+	title="&staff.cat.copy_editor.window.label;"
 	xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
 	<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
@@ -40,46 +40,46 @@
 	<iframe id="brief_display"/>
 
 	<groupbox flex="1" style="overflow: auto">
-		<caption id="caption" label="Copy Viewer"/>
+		<caption id="caption" label="&staff.cat.copy_editor.groupbox1.label;"/>
 
 		<hbox id="top_nav">
 			<hbox style="background: grey">
-				<vbox><spacer flex="1"/><label value="Templates:" style="font-weight: bold"/><spacer flex="1"/></vbox>
+				<vbox><spacer flex="1"/><label value="&staff.cat.copy_editor.templates.label;" style="font-weight: bold"/><spacer flex="1"/></vbox>
 				<hbox id="template_placeholder"/>
-				<button id="apply_template" label="Apply" accesskey="y" oncommand="g.apply_template()"/>
-				<button id="delete_template" label="Delete" oncommand="g.delete_template()"/>
-				<button id="import_templates" label="Import" oncommand="g.import_templates()"/>
-				<button id="export_templates" label="Export" oncommand="g.export_templates()"/>
-				<button id="save_template" label="Save" oncommand="g.save_template()"/>
+				<button id="apply_template" label="&staff.cat.copy_editor.templates.apply_template.label;" accesskey="&staff.cat.copy_editor.templates.apply_template.accesskey;" oncommand="g.apply_template()"/>
+				<button id="delete_template" label="&staff.cat.copy_editor.templates.delete_template.label;" oncommand="g.delete_template()"/>
+				<button id="import_templates" label="&staff.cat.copy_editor.templates.import_template.label;" oncommand="g.import_templates()"/>
+				<button id="export_templates" label="&staff.cat.copy_editor.templates.export_template.label;" oncommand="g.export_templates()"/>
+				<button id="save_template" label="&staff.cat.copy_editor.templates.save_template.label;" oncommand="g.save_template()"/>
 			</hbox>
 			<spacer flex="1"/>
-			<button label="Reset" accesskey="R" oncommand="g.reset()"/>
+			<button label="&staff.cat.copy_editor.templates.reset.label;" accesskey="&staff.cat.copy_editor.templates.reset.accesskey;" oncommand="g.reset()"/>
 		</hbox>
 
 		<hbox flex="1" style="overflow: scroll">
 			<vbox flex="1">
-				<label value="Identification" style="font-weight: bold; font-size: large"/>
+				<label value="&staff.cat.copy_editor.identification.label;" style="font-weight: bold; font-size: large"/>
 				<vbox id="left_pane" flex="1"/>
 			</vbox>
 			<splitter><grippy /></splitter>
 			<vbox flex="1">
-				<button style="font-weight: bold; font-size: normal" label="Location" accesskey="1" oncommand="document.getElementById('right_pane').firstChild.firstChild.focus();"/>
+				<button style="font-weight: bold; font-size: normal" label="&staff.cat.copy_editor.identification.location.label;" accesskey="&staff.cat.copy_editor.identification.location.accesskey;" oncommand="document.getElementById('right_pane').firstChild.firstChild.focus();"/>
 				<vbox id="right_pane" flex="1"/>
 			</vbox>
 			<splitter><grippy /></splitter>
 			<vbox flex="1">
-				<button style="font-weight: bold; font-size: normal" label="Circulation" accesskey="2" oncommand="document.getElementById('right_pane2').firstChild.firstChild.focus();"/>
+				<button style="font-weight: bold; font-size: normal" label="&staff.cat.copy_editor.identification.circulation.label;" accesskey="&staff.cat.copy_editor.identification.circulation.accesskey;" oncommand="document.getElementById('right_pane2').firstChild.firstChild.focus();"/>
 				<vbox id="right_pane2" flex="1"/>
 			</vbox>
 			<splitter><grippy /></splitter>
 			<vbox flex="1">
-				<button style="font-weight: bold; font-size: normal" label="Miscellaneous" accesskey="3" oncommand="document.getElementById('right_pane3').firstChild.firstChild.focus();"/>
+				<button style="font-weight: bold; font-size: normal" label="&staff.cat.copy_editor.identification.miscellaneous.label;" accesskey="&staff.cat.copy_editor.identification.miscellaneous.accesskey;" oncommand="document.getElementById('right_pane3').firstChild.firstChild.focus();"/>
 				<vbox id="right_pane3" flex="1"/>
 			</vbox>
 			<splitter><grippy /></splitter>
 			<vbox flex="1">
-				<button style="font-weight: bold; font-size: normal" label="Statistics" accesskey="4" oncommand="document.getElementById('right_pane4').firstChild.firstChild.focus();"/>
-                <menu label="Library Filter" id="stat_cat_lib_filter_menu">
+				<button style="font-weight: bold; font-size: normal" label="&staff.cat.copy_editor.identification.statistics.label;" accesskey="&staff.cat.copy_editor.identification.statistics.accesskey;" oncommand="document.getElementById('right_pane4').firstChild.firstChild.focus();"/>
+                <menu label="&staff.cat.copy_editor.stat_cat_lib_filter_menu.label;" id="stat_cat_lib_filter_menu">
                     <menupopup />
                 </menu>
 				<vbox id="right_pane4" flex="1"/>
@@ -88,9 +88,9 @@
 
 		<hbox id="nav">
 			<spacer flex="1"/>
-			<button id="copy_notes" label="Copy Notes" accesskey="N" oncommand="g.copy_notes();"/>
-			<button id="save" label="Modify Copies" hidden="true" accesskey="M" oncommand="g.stash_and_close();"/>
-			<button id="cancel" label="Close" accesskey="C" oncommand="window.close();"/>
+			<button id="copy_notes" label="&staff.cat.copy_editor.copy_notes.label;" accesskey="&staff.cat.copy_editor.copy_notes.accesskey;" oncommand="g.copy_notes();"/>
+			<button id="save" label="&staff.cat.copy_editor.save.label;" hidden="true" accesskey="&staff.cat.copy_editor.save.accesskey;" oncommand="g.stash_and_close();"/>
+			<button id="cancel" label="&staff.cat.copy_editor.cancel.label;" accesskey="&staff.cat.copy_editor.cancel.accesskey;" oncommand="window.close();"/>
 		</hbox>
 
 		<spacer/>



More information about the open-ils-commits mailing list