mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
i18n switch group label & add Japanese message
This commit is contained in:
parent
8706998c8c
commit
e8ddd6d16d
@ -248,13 +248,13 @@
|
||||
var row3 = $('<div/>',{style:"display: flex; padding-top: 5px; align-items: center"}).appendTo(inputRows);
|
||||
|
||||
var selectField = $('<select/>',{style:"width:120px; text-align: center;"}).appendTo(row);
|
||||
var group0 = $('<optgroup/>', { label: "value rules" }).appendTo(selectField);
|
||||
var group0 = $('<optgroup/>', { label: RED._("node-red:switch.label.value-rules") }).appendTo(selectField);
|
||||
for (var d in operators) {
|
||||
if(operators[d].kind === 'V') {
|
||||
group0.append($("<option></option>").val(operators[d].v).text(/^switch/.test(operators[d].t)?node._(operators[d].t):operators[d].t));
|
||||
}
|
||||
}
|
||||
var group1 = $('<optgroup/>', { label: "sequence rules" }).appendTo(selectField);
|
||||
var group1 = $('<optgroup/>', { label: RED._("node-red:switch.label.sequence-rules") }).appendTo(selectField);
|
||||
for (var d in operators) {
|
||||
if(operators[d].kind === 'S') {
|
||||
group1.append($("<option></option>").val(operators[d].v).text(/^switch/.test(operators[d].t)?node._(operators[d].t):operators[d].t));
|
||||
|
@ -729,7 +729,9 @@
|
||||
"label": {
|
||||
"property": "Property",
|
||||
"rule": "rule",
|
||||
"repair": "recreate message sequences"
|
||||
"repair": "recreate message sequences",
|
||||
"value-rules": "value rules",
|
||||
"sequence-rules": "sequence rules"
|
||||
},
|
||||
"previous": "previous value",
|
||||
"and": "and",
|
||||
|
@ -727,7 +727,9 @@
|
||||
"label": {
|
||||
"property": "プロパティ",
|
||||
"rule": "条件",
|
||||
"repair": "メッセージ列の補正"
|
||||
"repair": "メッセージ列の補正",
|
||||
"value-rules": "値ルール",
|
||||
"sequence-rules": "列ルール"
|
||||
},
|
||||
"previous": "前回の値",
|
||||
"and": "~",
|
||||
|
Loading…
Reference in New Issue
Block a user