X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FModuleBase%2FModuleBase_WidgetToolbox.cpp;h=aca5ec4b6d124c992db99d858b2abffec153b0cf;hb=06e7f5859095193fc7f498bd89a7d28009794f53;hp=188e2f0126cb2460869918fabfb92ad8039cba21;hpb=c4eab94a20a0d93100549a210582d46409fec1cc;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetToolbox.cpp b/src/ModuleBase/ModuleBase_WidgetToolbox.cpp index 188e2f012..aca5ec4b6 100644 --- a/src/ModuleBase/ModuleBase_WidgetToolbox.cpp +++ b/src/ModuleBase/ModuleBase_WidgetToolbox.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2019 CEA/DEN, EDF R&D +// Copyright (C) 2014-2023 CEA, EDF // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -71,7 +71,7 @@ int ModuleBase_WidgetToolbox::addPage(ModuleBase_PageBase* thePage, { ModuleBase_PagedContainer::addPage(thePage, theName, theCaseId, theIcon, theTooltip); QFrame* aFrame = dynamic_cast(thePage); - myToolBox->addItem(aFrame, theName, theIcon ); + myToolBox->addItem(aFrame, translate(theName.toStdString()), theIcon ); return myToolBox->count(); }