Move translation

This commit is contained in:
Ben Hardill 2024-04-18 11:47:49 +01:00
parent c990ec39d6
commit 5f4ece6813
No known key found for this signature in database
GPG Key ID: 74DD076979ABB1E7
2 changed files with 3 additions and 3 deletions

View File

@ -641,6 +641,7 @@
"errors": {
"catalogLoadFailed": "<p>Failed to load node catalogue.</p><p>Check the browser console for more information</p>",
"installFailed": "<p>Failed to install: __module__</p><p>__message__</p><p>Check the log for more information</p>",
"installTimeout": "<p>Install continuing the background, Nodes will appear in palette when complete.</p><p>Or you can monitor the install logs</p>",
"removeFailed": "<p>Failed to remove: __module__</p><p>__message__</p><p>Check the log for more information</p>",
"updateFailed": "<p>Failed to update: __module__</p><p>__message__</p><p>Check the log for more information</p>",
"enableFailed": "<p>Failed to enable: __module__</p><p>__message__</p><p>Check the log for more information</p>",
@ -668,8 +669,7 @@
"remove": "Remove",
"update": "Update"
}
},
"timeout": "<p>Install continuing the background, Nodes will appear in palette when complete.</p><p>Or you can monitor the install logs</p>"
}
}
},
"sidebar": {

View File

@ -1273,7 +1273,7 @@ RED.palette.editor = (function() {
installNodeModule(entry.id,entry.version,entry.pkg_url,function(xhr, textStatus,err) {
spinner.remove();
if (err && xhr.status === 504) {
var notification = RED.notify(RED._("palette.editor.timeout"), {
var notification = RED.notify(RED._("palette.editor.errors.installTimeout"), {
modal: true,
fixed: true,
buttons: [