1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Name flows back to sheets in the ui

This commit is contained in:
Nick O'Leary 2015-09-25 21:06:39 +01:00
parent ef10ade0cc
commit f2b73187d8
2 changed files with 10 additions and 10 deletions

View File

@ -175,6 +175,11 @@ var RED = (function() {
{id:"menu-item-export-library",label:RED._("menu.label.library"),disabled:true,onselect:RED.library.export} {id:"menu-item-export-library",label:RED._("menu.label.library"),disabled:true,onselect:RED.library.export}
]}, ]},
null, null,
{id:"menu-item-subflow",label:RED._("menu.label.subflows"), options: [
{id:"menu-item-subflow-create",label:RED._("menu.label.createSubflow"),onselect:RED.subflow.createSubflow},
{id:"menu-item-subflow-convert",label:RED._("menu.label.selectionToSubflow"),disabled:true,onselect:RED.subflow.convertToSubflow},
]},
null,
{id:"menu-item-flow",label:RED._("menu.label.flows"),options:[ {id:"menu-item-flow",label:RED._("menu.label.flows"),options:[
{id:"menu-item-flow-add",label:RED._("menu.label.add"),onselect:RED.workspaces.add}, {id:"menu-item-flow-add",label:RED._("menu.label.add"),onselect:RED.workspaces.add},
{id:"menu-item-flow-edit",label:RED._("menu.label.rename"),onselect:RED.workspaces.edit}, {id:"menu-item-flow-edit",label:RED._("menu.label.rename"),onselect:RED.workspaces.edit},
@ -182,11 +187,6 @@ var RED = (function() {
null null
]}, ]},
null, null,
{id:"menu-item-subflow",label:RED._("menu.label.subflows"), options: [
{id:"menu-item-subflow-create",label:RED._("menu.label.createSubflow"),onselect:RED.subflow.createSubflow},
{id:"menu-item-subflow-convert",label:RED._("menu.label.selectionToSubflow"),disabled:true,onselect:RED.subflow.convertToSubflow},
]},
null,
{id:"menu-item-keyboard-shortcuts",label:RED._("menu.label.keyboardShortcuts"),onselect:RED.keyboard.showHelp}, {id:"menu-item-keyboard-shortcuts",label:RED._("menu.label.keyboardShortcuts"),onselect:RED.keyboard.showHelp},
{id:"menu-item-help", {id:"menu-item-help",
label: RED.settings.theme("menu.menu-item-help.label","Node-RED Website"), label: RED.settings.theme("menu.menu-item-help.label","Node-RED Website"),

View File

@ -9,14 +9,14 @@
} }
}, },
"workspace": { "workspace": {
"defaultName": "Flow __number__", "defaultName": "Sheet __number__",
"renameSheet": "Rename flow", "renameSheet": "Rename sheet",
"confirmDelete": "Confirm delete", "confirmDelete": "Confirm delete",
"delete": "Are you sure you want to delete '__label__'?", "delete": "Are you sure you want to delete '__label__'?",
"dropFlowHere": "Drop the flow here", "dropFlowHere": "Drop the flow here",
"config": { "config": {
"local": "on this flow", "local": "on this sheet",
"global": "on all flows" "global": "on all sheets"
} }
}, },
"menu": { "menu": {
@ -34,7 +34,7 @@
"subflows": "Subflows", "subflows": "Subflows",
"createSubflow": "Create Subflow", "createSubflow": "Create Subflow",
"selectionToSubflow": "Selection to Subflow", "selectionToSubflow": "Selection to Subflow",
"flows": "Flows", "flows": "Sheets",
"add": "Add", "add": "Add",
"rename": "Rename", "rename": "Rename",
"delete": "Delete", "delete": "Delete",