[open-ils-commits] r10973 - in trunk/Open-ILS/web: conify/global/permission js/dojo/openils/conify/nls opac/locale/en-US

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Oct 29 12:35:57 EDT 2008


Author: dbs
Date: 2008-10-29 12:35:54 -0400 (Wed, 29 Oct 2008)
New Revision: 10973

Modified:
   trunk/Open-ILS/web/conify/global/permission/perm_list.html
   trunk/Open-ILS/web/js/dojo/openils/conify/nls/pgt.js
   trunk/Open-ILS/web/opac/locale/en-US/conify.dtd
Log:
A few more strings to be i18n-ized for the Conify perm_list interface


Modified: trunk/Open-ILS/web/conify/global/permission/perm_list.html
===================================================================
--- trunk/Open-ILS/web/conify/global/permission/perm_list.html	2008-10-29 16:32:20 UTC (rev 10972)
+++ trunk/Open-ILS/web/conify/global/permission/perm_list.html	2008-10-29 16:35:54 UTC (rev 10973)
@@ -94,11 +94,11 @@
 						window.perm_grid_layout = [
 							{	cells : [
 									[
-										{ name : "Code",        field : "code",        width : "300px", editor : dojox.grid.editors.Dijit, rowSpan : "2" },
-										{ name : "Description", field : "description", width : "auto",  editor : dojox.grid.editors.Editor, style : "minHeight:1em;" }
+										{ name : pgt_strings.LABEL_CODE,        field : "code",        width : "300px", editor : dojox.grid.editors.Dijit, rowSpan : "2" },
+										{ name : pgt_strings.LABEL_DESCRIPTION, field : "description", width : "auto",  editor : dojox.grid.editors.Editor, style : "minHeight:1em;" }
 									],
 									[
-										{ name : "Translation",
+										{ name : pgt_strings.LABEL_TRANSLATION,
 										  width : "10em",
 										  height : "2em",
 										  get : function (row) {
@@ -151,7 +151,7 @@
 			</script>
 
 			<div dojoType="dijit.layout.LayoutContainer" orientation="horizontal" style="margin-top: 5px;" layoutAlign="top">
-				<span>New Permission:</span>
+				<span>&conify.perm_list.new_permission.label;</span>
 				<div dojoType="dijit.form.TextBox" id="new_perm_code" jsId="new_perm_code" label="&conify.perm_list.new_code.label;"></div>
 				<button dojoType="dijit.form.Button" id="save_new_perm_code" jsId="save_new_perm_code" label="&conify.perm_list.add.label;"> 
 					<script type="dojo/connect" event="onClick">

Modified: trunk/Open-ILS/web/js/dojo/openils/conify/nls/pgt.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/openils/conify/nls/pgt.js	2008-10-29 16:32:20 UTC (rev 10972)
+++ trunk/Open-ILS/web/js/dojo/openils/conify/nls/pgt.js	2008-10-29 16:35:54 UTC (rev 10973)
@@ -6,6 +6,9 @@
 	"ERROR_DELETING": "Problem deleting ${0}",
 	"ERROR_FETCHING_PERMS": "Problem fetching perms",
 	"ERROR_SAVING_DATA": "Problem saving data for ${0}",
+	"LABEL_CODE": "Code",
+	"LABEL_DESCRIPTION": "Description",
+	"LABEL_TRANSLATION": "Translation",
 	"STATUS_DELETED": "${0} deleted", 
 	"SUCCESS_CREATING_PERMISSION": "New ${0} permission created",
 	"SUCCESS_SAVE": "Saved changes to ${0}"

Modified: trunk/Open-ILS/web/opac/locale/en-US/conify.dtd
===================================================================
--- trunk/Open-ILS/web/opac/locale/en-US/conify.dtd	2008-10-29 16:32:20 UTC (rev 10972)
+++ trunk/Open-ILS/web/opac/locale/en-US/conify.dtd	2008-10-29 16:35:54 UTC (rev 10973)
@@ -104,3 +104,4 @@
 <!ENTITY conify.perm_list.add_button.label "Add">
 <!ENTITY conify.perm_list.save_changes.label "Save Changes">
 <!ENTITY conify.perm_list.delete_selected.label "Delete Selected">
+<!ENTITY conify.perm_list.new_permission.label "New Permission:">



More information about the open-ils-commits mailing list