@@ -695,7 +695,7 @@ class AddNodesToGroupMenuCommand : public SingleMenuCommand
695695{
696696public:
697697 AddNodesToGroupMenuCommand (NodeUIManager& uiManager, const UINodeGroupPtr& uiNodeGroup, const NE ::NodeCollection& relevantNodes) :
698- SingleMenuCommand (NE ::FormatString (NE ::Localize (L" Add To Group \" %s \" " ), uiNodeGroup->GetName ().c_str ()), false),
698+ SingleMenuCommand (NE ::FormatString (NE ::Localize (L" Add To Group \" %ls \" " ), uiNodeGroup->GetName ().c_str ()), false),
699699 uiManager (uiManager),
700700 uiNodeGroup (uiNodeGroup),
701701 relevantNodes (relevantNodes)
@@ -895,7 +895,7 @@ MenuCommandStructure CreateOutputSlotCommandStructure (NodeUIManager& uiManager,
895895 OutputSlotGroupCommandPtr disconnectGroup (new NodeGroupCommand<OutputSlotCommandPtr> (NE::Localize (L" Disconnect" )));
896896 uiManager.EnumerateConnectedInputSlots (outputSlot, [&] (UIInputSlotConstPtr inputSlot) {
897897 UINodeConstPtr uiNode = uiManager.GetUINode (inputSlot->GetOwnerNodeId ());
898- std::wstring disconnectCommandName = NE::FormatString (L" %s (%s )" , uiNode->GetNodeName ().c_str (), inputSlot->GetName ().c_str ());
898+ std::wstring disconnectCommandName = NE::FormatString (L" %ls (%ls )" , uiNode->GetNodeName ().c_str (), inputSlot->GetName ().c_str ());
899899 disconnectGroup->AddChildCommand (OutputSlotCommandPtr (new DisconnectFromOutputSlotMenuCommand (disconnectCommandName, inputSlot)));
900900 });
901901 disconnectGroup->AddChildCommand (OutputSlotCommandPtr (new DisconnectAllFromOutputSlotMenuCommand (NE::Localize (L" All" ))));
@@ -914,7 +914,7 @@ MenuCommandStructure CreateInputSlotCommandStructure (NodeUIManager& uiManager,
914914 InputSlotGroupCommandPtr disconnectGroup (new NodeGroupCommand<InputSlotCommandPtr> (NE::Localize (L" Disconnect" )));
915915 uiManager.EnumerateConnectedOutputSlots (inputSlot, [&] (UIOutputSlotConstPtr outputSlot) {
916916 UINodeConstPtr uiNode = uiManager.GetUINode (outputSlot->GetOwnerNodeId ());
917- std::wstring disconnectCommandName = NE::FormatString (L" %s (%s )" , uiNode->GetNodeName ().c_str (), outputSlot->GetName ().c_str ());
917+ std::wstring disconnectCommandName = NE::FormatString (L" %ls (%ls )" , uiNode->GetNodeName ().c_str (), outputSlot->GetName ().c_str ());
918918 disconnectGroup->AddChildCommand (InputSlotCommandPtr (new DisconnectFromInputSlotMenuCommand (disconnectCommandName, outputSlot)));
919919 });
920920 disconnectGroup->AddChildCommand (InputSlotCommandPtr (new DisconnectAllFromInputSlotMenuCommand (NE::Localize (L" All" ))));
0 commit comments