diff --git a/editor/js/ui/library.js b/editor/js/ui/library.js index 9f3baa4d2..7bf7a5ffd 100644 --- a/editor/js/ui/library.js +++ b/editor/js/ui/library.js @@ -304,8 +304,7 @@ RED.library = (function() { // } //} //if (exists) { - // $("#node-dialog-library-save-type").html(options.type); - // $("#node-dialog-library-save-name").html(fullpath); + // $("#node-dialog-library-save-content").html(RED._("library.dialogSaveOverwrite",{libraryType:options.type,libraryName:fullpath})); // $("#node-dialog-library-save-confirm").dialog( "open" ); // return; //} diff --git a/editor/js/ui/tab-config.js b/editor/js/ui/tab-config.js index 6ef6ba00d..570ce269c 100644 --- a/editor/js/ui/tab-config.js +++ b/editor/js/ui/tab-config.js @@ -25,7 +25,7 @@ RED.sidebar.config = (function() { function show() { if (!RED.sidebar.containsTab("config")) { - RED.sidebar.addTab("config",content,true); + RED.sidebar.addTab(RED._("sidebar.config"),content,true); } refresh(); RED.sidebar.show("config"); diff --git a/editor/js/ui/tab-info.js b/editor/js/ui/tab-info.js index 3d4928e77..58cde0f92 100644 --- a/editor/js/ui/tab-info.js +++ b/editor/js/ui/tab-info.js @@ -36,7 +36,7 @@ RED.sidebar.info = (function() { function show() { if (!RED.sidebar.containsTab("info")) { - RED.sidebar.addTab("info",content,false); + RED.sidebar.addTab(RED._("sidebar.info"),content,false); } RED.sidebar.show("info"); } diff --git a/editor/js/ui/workspaces.js b/editor/js/ui/workspaces.js index 43a8c3d34..f8dd8b157 100644 --- a/editor/js/ui/workspaces.js +++ b/editor/js/ui/workspaces.js @@ -56,7 +56,7 @@ RED.workspaces = (function() { RED.nodes.dirty(true); } else { $( "#node-dialog-delete-workspace" ).dialog('option','workspace',ws); - $( "#node-dialog-delete-workspace-name" ).text(ws.label); + $( "#node-dialog-delete-workspace-content" ).text(RED._("workspaces.deleteDialog",{label:ws.label})); $( "#node-dialog-delete-workspace" ).dialog('open'); } } diff --git a/editor/templates/index.mst b/editor/templates/index.mst index e7cb7d489..006d0df7b 100644 --- a/editor/templates/index.mst +++ b/editor/templates/index.mst @@ -46,7 +46,7 @@