mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Merge pull request #2337 from piyonakajima/language_of_tooltip
fix tooltip language in subflow
This commit is contained in:
commit
775f1110d3
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user