1
0
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:
Nick O'Leary 2019-10-23 21:33:32 +01:00 committed by GitHub
commit 775f1110d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;