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">
"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}"
<!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:">