1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Fix the language of the tooltip

This commit is contained in:
NAKAJIMA,Tomohiro 2019-10-17 19:27:08 +09:00 committed by NAKAJIMA, Tomohiro
parent 873bdc6733
commit dd20a3e685

View File

@ -1048,7 +1048,7 @@ RED.subflow = (function() {
} }
langs.forEach(function(l) { langs.forEach(function(l) {
var row = $('<div>').appendTo(content); var row = $('<div>').appendTo(content);
$('<span>').css({display:"inline-block",width:"50px"}).text(l+(l===currentLocale?"*":"")).appendTo(row); $('<span>').css({display:"inline-block",width:"120px"}).text(RED._("languages."+l)+(l===currentLocale?"*":"")).appendTo(row);
$('<span>').text(ui.label[l]||"").appendTo(row); $('<span>').text(ui.label[l]||"").appendTo(row);
}); });
return content; return content;