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

Merge branch 'pr_3024' into dev

This commit is contained in:
Nick O'Leary 2021-06-28 15:32:32 +01:00
commit 58023b4bf0
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
2 changed files with 5 additions and 1 deletions

View File

@ -204,6 +204,9 @@ function start() {
if (settings.httpRoot !== undefined) { if (settings.httpRoot !== undefined) {
log.warn(log._("server.deprecatedOption",{old:"httpRoot", new: "httpNodeRoot/httpAdminRoot"})); log.warn(log._("server.deprecatedOption",{old:"httpRoot", new: "httpNodeRoot/httpAdminRoot"}));
} }
if (settings.readOnly){
log.info(log._("settings.readonly-mode"))
}
if (settings.httpStatic) { if (settings.httpStatic) {
log.info(log._("runtime.paths.httpStatic",{path:path.resolve(settings.httpStatic)})); log.info(log._("runtime.paths.httpStatic",{path:path.resolve(settings.httpStatic)}));
} }

View File

@ -88,7 +88,8 @@
"settings": { "settings": {
"user-not-available": "Cannot save user settings: __message__", "user-not-available": "Cannot save user settings: __message__",
"not-available": "Settings not available", "not-available": "Settings not available",
"property-read-only": "Property '__prop__' is read-only" "property-read-only": "Property '__prop__' is read-only",
"readonly-mode" : "Runtime in read-only mode. Changes will not be saved."
}, },
"library": { "library": {
"unknownLibrary": "Unknown library: __library__", "unknownLibrary": "Unknown library: __library__",