nodes: Fixed a few issues with locatizations, errors and overlays

This commit is contained in:
WerWolv
2022-10-22 23:17:18 +02:00
parent 3b7f2fbdaa
commit 858e1aed3b
7 changed files with 22 additions and 17 deletions

View File

@@ -162,12 +162,12 @@ namespace hex::plugin::builtin {
for (u32 i = 0; i < data.endNodes.size(); i++)
data.dataOverlays.push_back(ImHexApi::Provider::get()->newOverlay());
}
u32 overlayIndex = 0;
for (auto endNode : data.endNodes) {
endNode->setCurrentOverlay(data.dataOverlays[overlayIndex]);
overlayIndex++;
}
u32 overlayIndex = 0;
for (auto endNode : data.endNodes) {
endNode->setCurrentOverlay(data.dataOverlays[overlayIndex]);
overlayIndex++;
}
data.currNodeError.reset();

View File

@@ -605,6 +605,7 @@ namespace hex::plugin::builtin {
{ "hex.builtin.nodes.buffer.slice.input.to", "To" },
{ "hex.builtin.nodes.buffer.repeat", "Repeat" },
{ "hex.builtin.nodes.buffer.repeat.header", "Repeat buffer" },
{ "hex.builtin.nodes.buffer.repeat.input.buffer", "Input" },
{ "hex.builtin.nodes.buffer.repeat.input.count", "Count" },
{ "hex.builtin.nodes.control_flow", "Control flow" },

View File

@@ -607,6 +607,7 @@ namespace hex::plugin::builtin {
{ "hex.builtin.nodes.buffer.slice.input.to", "To" },
{ "hex.builtin.nodes.buffer.repeat", "繰り返し" },
{ "hex.builtin.nodes.buffer.repeat.header", "バッファを繰り返し" },
//{ "hex.builtin.nodes.buffer.repeat.input.buffer", "Input" },
{ "hex.builtin.nodes.buffer.repeat.input.count", "カウント" },
{ "hex.builtin.nodes.control_flow", "制御フロー" },

View File

@@ -604,6 +604,7 @@ namespace hex::plugin::builtin {
{ "hex.builtin.nodes.buffer.slice.input.to", "" },
{ "hex.builtin.nodes.buffer.repeat", "출력" },
{ "hex.builtin.nodes.buffer.repeat.header", "버퍼 반복" },
//{ "hex.builtin.nodes.buffer.repeat.input.buffer", "Input" },
{ "hex.builtin.nodes.buffer.repeat.input.count", "개수" },
{ "hex.builtin.nodes.control_flow", "데이터 플로우" },

View File

@@ -603,6 +603,7 @@ namespace hex::plugin::builtin {
{ "hex.builtin.nodes.buffer.slice.input.to", "Para" },
{ "hex.builtin.nodes.buffer.repeat", "Repetir" },
{ "hex.builtin.nodes.buffer.repeat.header", "Repetir buffer" },
//{ "hex.builtin.nodes.buffer.repeat.input.buffer", "Input" },
{ "hex.builtin.nodes.buffer.repeat.input.count", "Contar" },
{ "hex.builtin.nodes.control_flow", "Control flow" },

View File

@@ -603,6 +603,7 @@ namespace hex::plugin::builtin {
{ "hex.builtin.nodes.buffer.slice.input.to", "" },
{ "hex.builtin.nodes.buffer.repeat", "Repeat" },
{ "hex.builtin.nodes.buffer.repeat.header", "Repeat buffer" },
//{ "hex.builtin.nodes.buffer.repeat.input.buffer", "Input" },
{ "hex.builtin.nodes.buffer.repeat.input.count", "Count" },
{ "hex.builtin.nodes.control_flow", "Control flow" },