[open-ils-commits] r10979 - in trunk/Open-ILS/web: conify/global/permission js/dojo/openils/conify/nls

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Oct 29 14:20:07 EDT 2008


Author: dbs
Date: 2008-10-29 14:20:02 -0400 (Wed, 29 Oct 2008)
New Revision: 10979

Modified:
   trunk/Open-ILS/web/conify/global/permission/perm_list.html
   trunk/Open-ILS/web/conify/global/permission/perm_list.js
   trunk/Open-ILS/web/js/dojo/openils/conify/nls/ppl.js
Log:
Fix various errors in the i18n of Conify perm_list:
  * Wrong entity name for Add button
  * Dojo resources can't be wrapped in parentheses
  * Point to conify.ppl instead of config.ppl


Modified: trunk/Open-ILS/web/conify/global/permission/perm_list.html
===================================================================
--- trunk/Open-ILS/web/conify/global/permission/perm_list.html	2008-10-29 17:35:42 UTC (rev 10978)
+++ trunk/Open-ILS/web/conify/global/permission/perm_list.html	2008-10-29 18:20:02 UTC (rev 10979)
@@ -153,7 +153,7 @@
 			<div dojoType="dijit.layout.LayoutContainer" orientation="horizontal" style="margin-top: 5px;" layoutAlign="top">
 				<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;"> 
+				<button dojoType="dijit.form.Button" id="save_new_perm_code" jsId="save_new_perm_code" label="&conify.perm_list.add_button.label;"> 
 					<script type="dojo/connect" event="onClick">
 <!--
 						var new_code = new_perm_code.getValue();

Modified: trunk/Open-ILS/web/conify/global/permission/perm_list.js
===================================================================
--- trunk/Open-ILS/web/conify/global/permission/perm_list.js	2008-10-29 17:35:42 UTC (rev 10978)
+++ trunk/Open-ILS/web/conify/global/permission/perm_list.js	2008-10-29 18:20:02 UTC (rev 10979)
@@ -29,7 +29,7 @@
 dojo.require('dojox.widget.Toaster');
 dojo.require('dojox.fx');
 dojo.require('dojox.grid.Grid');
-dojo.requireLocalization("openils.config", "ppl");
+dojo.requireLocalization("openils.conify", "ppl");
 
 // some handy globals
 var cgi = new CGI();

Modified: trunk/Open-ILS/web/js/dojo/openils/conify/nls/ppl.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/openils/conify/nls/ppl.js	2008-10-29 17:35:42 UTC (rev 10978)
+++ trunk/Open-ILS/web/js/dojo/openils/conify/nls/ppl.js	2008-10-29 18:20:02 UTC (rev 10979)
@@ -1,4 +1,4 @@
-({
+{
 	"CONFIRM_DELETE": "Are you sure you want to delete ${0}?",
 	"CONFIRM_EXIT": "There are unsaved modified Permissions! OK to save these changes, Cancel to abandon them.",
 	"ERROR_CALLING_METHOD": "Problem calling method to create new Permission",
@@ -12,4 +12,4 @@
 	"STATUS_DELETED": "${0} deleted", 
 	"SUCCESS_CREATING_PERMISSION": "New ${0} permission created",
 	"SUCCESS_SAVE": "Saved changes to ${0}"
-})
+}



More information about the open-ils-commits mailing list