Fix various errors in the i18n of Conify perm_list:
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 29 Oct 2008 18:20:02 +0000 (18:20 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 29 Oct 2008 18:20:02 +0000 (18:20 +0000)
  * Wrong entity name for Add button
  * Dojo resources can't be wrapped in parentheses
  * Point to conify.ppl instead of config.ppl

git-svn-id: svn://svn.open-ils.org/ILS/trunk@10979 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/conify/global/permission/perm_list.html
Open-ILS/web/conify/global/permission/perm_list.js
Open-ILS/web/js/dojo/openils/conify/nls/ppl.js

index 71d043e..5295fc6 100644 (file)
                        <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();
index bfe983f..1984109 100644 (file)
@@ -29,7 +29,7 @@ dojo.require('dijit.layout.BorderContainer');
 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();
index 0cbdf13..693c598 100644 (file)
@@ -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}"
-})
+}