mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Merge pull request #4243 from kazuhitoyokoi/master-jpn4subflow
Add Japanese translation for error message when creating subflow
This commit is contained in:
commit
fe3626035c
@ -403,6 +403,7 @@
|
|||||||
},
|
},
|
||||||
"errors": {
|
"errors": {
|
||||||
"noNodesSelected": "<strong>Cannot create subflow</strong>: no nodes selected",
|
"noNodesSelected": "<strong>Cannot create subflow</strong>: no nodes selected",
|
||||||
|
"acrossMultipleGroups": "Cannot create subflow across multiple groups",
|
||||||
"multipleInputsToSelection": "<strong>Cannot create subflow</strong>: multiple inputs to selection"
|
"multipleInputsToSelection": "<strong>Cannot create subflow</strong>: multiple inputs to selection"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -403,6 +403,7 @@
|
|||||||
},
|
},
|
||||||
"errors": {
|
"errors": {
|
||||||
"noNodesSelected": "<strong>サブフローを作成できません</strong>: ノードが選択されていません",
|
"noNodesSelected": "<strong>サブフローを作成できません</strong>: ノードが選択されていません",
|
||||||
|
"acrossMultipleGroups": "複数のグループをまたがるサブフローは作成できません",
|
||||||
"multipleInputsToSelection": "<strong>サブフローを作成できません</strong>: 複数の入力が選択されています"
|
"multipleInputsToSelection": "<strong>サブフローを作成できません</strong>: 複数の入力が選択されています"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -647,7 +647,7 @@ RED.subflow = (function() {
|
|||||||
for (i=0; i<nodeList.length;i++) {
|
for (i=0; i<nodeList.length;i++) {
|
||||||
if (nodeList[i].g && !includedGroups.has(nodeList[i].g)) {
|
if (nodeList[i].g && !includedGroups.has(nodeList[i].g)) {
|
||||||
if (containingGroup !== nodeList[i].g) {
|
if (containingGroup !== nodeList[i].g) {
|
||||||
RED.notify("Cannot create subflow across multiple groups","error");
|
RED.notify(RED._("subflow.errors.acrossMultipleGroups"), "error");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user