diff --git a/src/Mod/Mesh/Gui/AppMeshGui.cpp b/src/Mod/Mesh/Gui/AppMeshGui.cpp index 3f9bbeadf2..47ce0c63ce 100644 --- a/src/Mod/Mesh/Gui/AppMeshGui.cpp +++ b/src/Mod/Mesh/Gui/AppMeshGui.cpp @@ -156,7 +156,7 @@ PyMOD_INIT_FUNC(MeshGui) } // register preferences pages - (void)new Gui::PrefPageProducer ("Display"); + (void)new Gui::PrefPageProducer (QT_TRANSLATE_NOOP("QObject", "Display")); (void)new Gui::PrefPageProducer ( QT_TRANSLATE_NOOP("QObject", "Import-Export") ); Mesh::Extension3MFFactory::addProducer(new MeshGui::ThumbnailExtensionProducer); diff --git a/src/Mod/Path/Gui/AppPathGui.cpp b/src/Mod/Path/Gui/AppPathGui.cpp index 49cf2d9448..8b3c0641c2 100644 --- a/src/Mod/Path/Gui/AppPathGui.cpp +++ b/src/Mod/Path/Gui/AppPathGui.cpp @@ -87,7 +87,7 @@ PyMOD_INIT_FUNC(PathGui) loadPathResource(); // register preferences pages - new Gui::PrefPageProducer ("Path"); + new Gui::PrefPageProducer (QT_TRANSLATE_NOOP("QObject","Path")); PyMOD_Return(mod); } diff --git a/src/Mod/Spreadsheet/Gui/AppSpreadsheetGui.cpp b/src/Mod/Spreadsheet/Gui/AppSpreadsheetGui.cpp index 1d01e8b085..70b6327469 100644 --- a/src/Mod/Spreadsheet/Gui/AppSpreadsheetGui.cpp +++ b/src/Mod/Spreadsheet/Gui/AppSpreadsheetGui.cpp @@ -118,7 +118,7 @@ PyMOD_INIT_FUNC(SpreadsheetGui) SpreadsheetGui::SheetViewPy::init_type(); // register preference page - new Gui::PrefPageProducer ("Spreadsheet"); + new Gui::PrefPageProducer (QT_TRANSLATE_NOOP("QObject","Spreadsheet")); // add resources and reloads the translators loadSpreadsheetResource(); diff --git a/src/Mod/Start/Gui/AppStartGui.cpp b/src/Mod/Start/Gui/AppStartGui.cpp index 195a8c8c73..198142a2f1 100644 --- a/src/Mod/Start/Gui/AppStartGui.cpp +++ b/src/Mod/Start/Gui/AppStartGui.cpp @@ -100,7 +100,7 @@ PyMOD_INIT_FUNC(StartGui) Base::Console().Log("Loading GUI of Start module... done\n"); // register preferences pages - new Gui::PrefPageProducer ("Start"); + new Gui::PrefPageProducer (QT_TRANSLATE_NOOP("QObject", "Start")); // instantiating the commands CreateStartCommands(); diff --git a/src/Mod/TechDraw/Gui/AppTechDrawGui.cpp b/src/Mod/TechDraw/Gui/AppTechDrawGui.cpp index 6efdb22d2b..0b4feec49e 100644 --- a/src/Mod/TechDraw/Gui/AppTechDrawGui.cpp +++ b/src/Mod/TechDraw/Gui/AppTechDrawGui.cpp @@ -168,13 +168,13 @@ PyMOD_INIT_FUNC(TechDrawGui) TechDrawGui::ViewProviderCosmeticExtension::init(); // register preferences pages - new Gui::PrefPageProducer("TechDraw"); //General - new Gui::PrefPageProducer("TechDraw"); //Scale - new Gui::PrefPageProducer("TechDraw");//Dimensions - new Gui::PrefPageProducer("TechDraw");//Annotation - new Gui::PrefPageProducer("TechDraw"); //Colors - new Gui::PrefPageProducer("TechDraw"); //HLR - new Gui::PrefPageProducer("TechDraw"); //Advanced + new Gui::PrefPageProducer(QT_TRANSLATE_NOOP("QObject", "TechDraw")); //General + new Gui::PrefPageProducer(QT_TRANSLATE_NOOP("QObject", "TechDraw")); //Scale + new Gui::PrefPageProducer(QT_TRANSLATE_NOOP("QObject", "TechDraw"));//Dimensions + new Gui::PrefPageProducer(QT_TRANSLATE_NOOP("QObject", "TechDraw"));//Annotation + new Gui::PrefPageProducer(QT_TRANSLATE_NOOP("QObject", "TechDraw")); //Colors + new Gui::PrefPageProducer(QT_TRANSLATE_NOOP("QObject", "TechDraw")); //HLR + new Gui::PrefPageProducer(QT_TRANSLATE_NOOP("QObject", "TechDraw")); //Advanced // add resources and reloads the translators loadTechDrawResource();