Added missing NLS strings to sidebar and index.mst

This commit is contained in:
Allen Boone
2015-06-04 16:39:07 -04:00
committed by Nick O'Leary
parent 9bbd6a70b8
commit 409fa49234
8 changed files with 60 additions and 42 deletions

View File

@@ -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;
//}

View File

@@ -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");

View File

@@ -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");
}

View File

@@ -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');
}
}