diff --git a/editor/js/ui/workspaces.js b/editor/js/ui/workspaces.js
index 83a405fc0..f058cce8d 100644
--- a/editor/js/ui/workspaces.js
+++ b/editor/js/ui/workspaces.js
@@ -126,8 +126,8 @@ RED.workspaces = (function() {
'').appendTo(dialogForm);
$('
'+
- ''+
- ' '+
+ ''+
+ ' '+
''+
'
').appendTo(dialogForm);
@@ -137,12 +137,12 @@ RED.workspaces = (function() {
i.addClass('fa-toggle-on');
i.removeClass('fa-toggle-off');
$("#node-input-disabled").prop("checked",false);
- $("#node-input-disabled-label").html("Enabled");
+ $("#node-input-disabled-label").html(RED._("editor:workspace.enabled"));
} else {
i.addClass('fa-toggle-off');
i.removeClass('fa-toggle-on');
$("#node-input-disabled").prop("checked",true);
- $("#node-input-disabled-label").html("Disabled");
+ $("#node-input-disabled-label").html(RED._("editor:workspace.disabled"));
}
})
@@ -150,10 +150,13 @@ RED.workspaces = (function() {
$("#node-input-disabled").prop("checked",workspace.disabled);
if (workspace.disabled) {
dialogForm.find("#node-input-disabled-btn i").removeClass('fa-toggle-on').addClass('fa-toggle-off');
- $("#node-input-disabled-label").html("Disabled");
+ $("#node-input-disabled-label").html(RED._("editor:workspace.disabled"));
+ } else {
+ $("#node-input-disabled-label").html(RED._("editor:workspace.enabled"));
}
} else {
workspace.disabled = false;
+ $("#node-input-disabled-label").html(RED._("editor:workspace.enabled"));
}
$('').prependTo(dialogForm);
diff --git a/red/api/locales/en-US/editor.json b/red/api/locales/en-US/editor.json
index 20f4129c3..369589eb4 100644
--- a/red/api/locales/en-US/editor.json
+++ b/red/api/locales/en-US/editor.json
@@ -18,7 +18,10 @@
"editFlow": "Edit flow: __name__",
"confirmDelete": "Confirm delete",
"delete": "Are you sure you want to delete '__label__'?",
- "dropFlowHere": "Drop the flow here"
+ "dropFlowHere": "Drop the flow here",
+ "status": "Status",
+ "enabled": "Enabled",
+ "disabled":"Disabled"
},
"menu": {
"label": {