diff --git a/plugins/builtin/source/content/views/view_data_processor.cpp b/plugins/builtin/source/content/views/view_data_processor.cpp index 9a7f6bc39..bad771054 100644 --- a/plugins/builtin/source/content/views/view_data_processor.cpp +++ b/plugins/builtin/source/content/views/view_data_processor.cpp @@ -340,6 +340,9 @@ namespace hex::plugin::builtin { ImNodes::MiniMap(0.2F, ImNodesMiniMapLocation_BottomRight); + if (this->m_nodes.empty()) + ImGui::TextFormattedCentered("{}", "hex.builtin.view.data_processor.help_text"_lang); + ImNodes::EndNodeEditor(); } ImGui::EndChild(); diff --git a/plugins/builtin/source/lang/de_DE.cpp b/plugins/builtin/source/lang/de_DE.cpp index d65e84795..6898d5a3d 100644 --- a/plugins/builtin/source/lang/de_DE.cpp +++ b/plugins/builtin/source/lang/de_DE.cpp @@ -107,6 +107,7 @@ namespace hex::plugin::builtin { { "hex.builtin.view.data_inspector.no_data", "Keine bytes angewählt"}, { "hex.builtin.view.data_processor.name", "Datenprozessor" }, + { "hex.builtin.view.data_processor.help_text", "Rechtsklicken um neuen Knoten zu erstellen" }, { "hex.builtin.view.data_processor.menu.remove_selection", "Auswahl entfernen" }, { "hex.builtin.view.data_processor.menu.remove_node", "Knoten entfernen" }, { "hex.builtin.view.data_processor.menu.remove_link", "Link entfernen" }, diff --git a/plugins/builtin/source/lang/en_US.cpp b/plugins/builtin/source/lang/en_US.cpp index 408dbbbc5..3e0acdafd 100644 --- a/plugins/builtin/source/lang/en_US.cpp +++ b/plugins/builtin/source/lang/en_US.cpp @@ -107,6 +107,7 @@ namespace hex::plugin::builtin { { "hex.builtin.view.data_inspector.no_data", "No bytes selected"}, { "hex.builtin.view.data_processor.name", "Data Processor" }, + { "hex.builtin.view.data_processor.help_text", "Right click to add a new node" }, { "hex.builtin.view.data_processor.menu.remove_selection", "Remove Selected" }, { "hex.builtin.view.data_processor.menu.remove_node", "Remove Node" }, { "hex.builtin.view.data_processor.menu.remove_link", "Remove Link" }, diff --git a/plugins/builtin/source/lang/it_IT.cpp b/plugins/builtin/source/lang/it_IT.cpp index b27859a32..9472886e5 100644 --- a/plugins/builtin/source/lang/it_IT.cpp +++ b/plugins/builtin/source/lang/it_IT.cpp @@ -106,6 +106,7 @@ namespace hex::plugin::builtin { { "hex.builtin.view.data_processor.name", "Processa Dati" }, + //{ "hex.builtin.view.data_processor.help_text", "Right click to add a new node" }, { "hex.builtin.view.data_processor.menu.remove_selection", "Rimuovi i selezionati" }, { "hex.builtin.view.data_processor.menu.remove_node", "Rimuovi Nodo" }, { "hex.builtin.view.data_processor.menu.remove_link", "Rimuovi Link" }, diff --git a/plugins/builtin/source/lang/ja_JP.cpp b/plugins/builtin/source/lang/ja_JP.cpp index aa294bf2d..dcf675711 100644 --- a/plugins/builtin/source/lang/ja_JP.cpp +++ b/plugins/builtin/source/lang/ja_JP.cpp @@ -106,6 +106,7 @@ namespace hex::plugin::builtin { { "hex.builtin.view.data_inspector.no_data", "範囲が選択されていません"}, { "hex.builtin.view.data_processor.name", "データプロセッサ" }, + //{ "hex.builtin.view.data_processor.help_text", "Right click to add a new node" }, { "hex.builtin.view.data_processor.menu.remove_selection", "選択部分を削除" }, { "hex.builtin.view.data_processor.menu.remove_node", "ノードを削除" }, { "hex.builtin.view.data_processor.menu.remove_link", "リンクを削除" }, diff --git a/plugins/builtin/source/lang/zh_CN.cpp b/plugins/builtin/source/lang/zh_CN.cpp index 684d47de2..f42f957b2 100644 --- a/plugins/builtin/source/lang/zh_CN.cpp +++ b/plugins/builtin/source/lang/zh_CN.cpp @@ -106,6 +106,7 @@ namespace hex::plugin::builtin { { "hex.builtin.view.data_inspector.no_data", "没有选中字节"}, { "hex.builtin.view.data_processor.name", "数据处理器" }, + //{ "hex.builtin.view.data_processor.help_text", "Right click to add a new node" }, { "hex.builtin.view.data_processor.menu.remove_selection", "移除已选" }, { "hex.builtin.view.data_processor.menu.remove_node", "移除节点" }, { "hex.builtin.view.data_processor.menu.remove_link", "移除链接" },