Ability to add projects path to the settings file (#2816)

* add the ability to set the projects path

* Update packages/node_modules/@node-red/runtime/locales/en-US/runtime.json

use directory to keep consistency with the project

Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>

* Update packages/node_modules/@node-red/runtime/lib/storage/localfilesystem/projects/index.js

only show the projects directory is projects are enabled

Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>

* use "directory" instead of "folder" to keep consistency with the Node-RED project

Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
This commit is contained in:
Tiago Ferreira
2021-01-18 13:18:07 +00:00
committed by GitHub
parent d8c8d7bc57
commit 55ff035fc9
3 changed files with 16 additions and 0 deletions

View File

@@ -156,6 +156,7 @@
"projects": {
"changing-project": "Setting active project : __project__",
"active-project": "Active project : __project__",
"projects-directory": "Projects directory: __projectsDirectory__",
"project-not-found": "Project not found : __project__",
"no-active-project": "No active project : using default flows file",
"disabled": "Projects disabled : editorTheme.projects.enabled=false",