A few more strings to be i18n-ized for the Conify perm_list interface
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 29 Oct 2008 16:35:54 +0000 (16:35 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 29 Oct 2008 16:35:54 +0000 (16:35 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@10973 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/conify/global/permission/perm_list.html
Open-ILS/web/js/dojo/openils/conify/nls/pgt.js
Open-ILS/web/opac/locale/en-US/conify.dtd

index d27b7ae..bc07a2e 100644 (file)
                                                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) {
                        </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">
index 8793512..0cbdf13 100644 (file)
@@ -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}"
index 14b1e52..dfec4c8 100644 (file)
 <!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:">