mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
add locale warning
This commit is contained in:
parent
4d048af384
commit
af0f02d63e
@ -246,7 +246,7 @@ var api = module.exports = {
|
|||||||
throw error
|
throw error
|
||||||
} else {
|
} else {
|
||||||
// credentialSecret is set to False
|
// credentialSecret is set to False
|
||||||
log.warn("Using Unecrypted credentials")
|
log.warn(log._("nodes.credentials.unencrypted",{message:err.toString()}))
|
||||||
credentialCache = credentials;
|
credentialCache = credentials;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -104,7 +104,8 @@
|
|||||||
"error":"Error loading credentials: __message__",
|
"error":"Error loading credentials: __message__",
|
||||||
"error-saving":"Error saving credentials: __message__",
|
"error-saving":"Error saving credentials: __message__",
|
||||||
"not-registered": "Credential type '__type__' is not registered",
|
"not-registered": "Credential type '__type__' is not registered",
|
||||||
"system-key-warning": "\n\n---------------------------------------------------------------------\nYour flow credentials file is encrypted using a system-generated key.\n\nIf the system-generated key is lost for any reason, your credentials\nfile will not be recoverable, you will have to delete it and re-enter\nyour credentials.\n\nYou should set your own key using the 'credentialSecret' option in\nyour settings file. Node-RED will then re-encrypt your credentials\nfile using your chosen key the next time you deploy a change.\n---------------------------------------------------------------------\n"
|
"system-key-warning": "\n\n---------------------------------------------------------------------\nYour flow credentials file is encrypted using a system-generated key.\n\nIf the system-generated key is lost for any reason, your credentials\nfile will not be recoverable, you will have to delete it and re-enter\nyour credentials.\n\nYou should set your own key using the 'credentialSecret' option in\nyour settings file. Node-RED will then re-encrypt your credentials\nfile using your chosen key the next time you deploy a change.\n---------------------------------------------------------------------\n",
|
||||||
|
"unencrypted" : "Using Unecrypted credentials"
|
||||||
},
|
},
|
||||||
"flows": {
|
"flows": {
|
||||||
"safe-mode": "Flows stopped in safe mode. Deploy to start.",
|
"safe-mode": "Flows stopped in safe mode. Deploy to start.",
|
||||||
|
Loading…
Reference in New Issue
Block a user