diff --git a/src/Gui/CommandDoc.cpp b/src/Gui/CommandDoc.cpp index c7fa81fb16..0aebe524e9 100644 --- a/src/Gui/CommandDoc.cpp +++ b/src/Gui/CommandDoc.cpp @@ -1215,7 +1215,7 @@ void StdCmdDelete::activated(int iMsg) } std::string thisDoc = pGuiDoc->getDocument()->getName(); bodyMessageStream << qApp->translate("Std_Delete", - "These items are selected for deletion, but are not in the active document. \n\n"); + "These items are selected for deletion, but are not in the active document."); for (const auto ¤tLabel : inactiveLabels) bodyMessageStream << currentLabel << " / " << Base::Tools::fromStdString(thisDoc) << '\n'; } diff --git a/src/Mod/Arch/Resources/ui/ArchSchedule.ui b/src/Mod/Arch/Resources/ui/ArchSchedule.ui index 3c41f29c6c..3bb2cbbdff 100644 --- a/src/Mod/Arch/Resources/ui/ArchSchedule.ui +++ b/src/Mod/Arch/Resources/ui/ArchSchedule.ui @@ -94,7 +94,7 @@ Leave blank to use all objects from the document Filter - <html><head/><body><p>An optional semicolon (;) separated list of property:value filters. Prepend ! to a property name to invert the effect of the filer (exclude objects that match the filter). Objects whose property contains the value will be matched. Examples of valid filters (everything is case-insensitive):</p><p><span style=" font-weight:600;">Name:Wall</span> - Will only consider objects with &quot;wall&quot; in their name (internal name)</p><p><span style=" font-weight:600;">!Name:Wall</span> - Will only consider objects which DON'T have &quot;wall&quot; in their name (internal name)</p><p><span style=" font-weight:600;">Descriptionl:Win</span> - Will only consider objects with &quot;win&quot; in their description</p><p><span style=" font-weight:600;">!Label:Win</span> - Will only consider objects which DO NOT have &quot;win&quot; in their label</p><p><span style=" font-weight:600;">IfcType:Wall</span> - Will only consider objects which Ifc Type is &quot;Wall&quot;</p><p><span style=" font-weight:600;">!Tag:Wall</span> - Will only consider objects which tag is NOT &quot;Wall&quot;</p><p>If you leave this field empty, no filtering is applied</p></body></html> + <html><head/><body><p>An optional semicolon (;) separated list of property:value filters. Prepend ! to a property name to invert the effect of the filer (exclude objects that match the filter). Objects whose property contains the value will be matched. Examples of valid filters (everything is case-insensitive):</p><p><span style=" font-weight:600;">Name:Wall</span> - Will only consider objects with &quot;wall&quot; in their name (internal name)</p><p><span style=" font-weight:600;">!Name:Wall</span> - Will only consider objects which DON'T have &quot;wall&quot; in their name (internal name)</p><p><span style=" font-weight:600;">Description:Win</span> - Will only consider objects with &quot;win&quot; in their description</p><p><span style=" font-weight:600;">!Label:Win</span> - Will only consider objects which DO NOT have &quot;win&quot; in their label</p><p><span style=" font-weight:600;">IfcType:Wall</span> - Will only consider objects which Ifc Type is &quot;Wall&quot;</p><p><span style=" font-weight:600;">!Tag:Wall</span> - Will only consider objects which tag is NOT &quot;Wall&quot;</p><p>If you leave this field empty, no filtering is applied</p></body></html> diff --git a/src/Mod/TechDraw/Gui/TaskDetail.cpp b/src/Mod/TechDraw/Gui/TaskDetail.cpp index d6f2ebe208..4cae566077 100644 --- a/src/Mod/TechDraw/Gui/TaskDetail.cpp +++ b/src/Mod/TechDraw/Gui/TaskDetail.cpp @@ -122,7 +122,7 @@ TaskDetail::TaskDetail(TechDraw::DrawViewPart* baseFeat): createDetail(); setUiFromFeat(); - setWindowTitle(QObject::tr("New Detail")); + setWindowTitle(QObject::tr("New Detail View")); connect(ui->pbDragger, SIGNAL(clicked(bool)), this, SLOT(onDraggerClicked(bool))); @@ -208,7 +208,7 @@ TaskDetail::TaskDetail(TechDraw::DrawViewDetail* detailFeat): saveDetailState(); setUiFromFeat(); - setWindowTitle(QObject::tr("Edit Detail")); + setWindowTitle(QObject::tr("Edit Detail View")); connect(ui->pbDragger, SIGNAL(clicked(bool)), this, SLOT(onDraggerClicked(bool))); @@ -470,7 +470,7 @@ void TaskDetail::enableTaskButtons(bool b) void TaskDetail::createDetail() { // Base::Console().Message("TD::createDetail()\n"); - Gui::Command::openCommand("Create Detail"); + Gui::Command::openCommand("Create Detail View"); m_detailName = m_doc->getUniqueObjectName("Detail"); @@ -479,7 +479,7 @@ void TaskDetail::createDetail() App::DocumentObject *docObj = m_doc->getObject(m_detailName.c_str()); TechDraw::DrawViewDetail* dvd = dynamic_cast(docObj); if (!dvd) { - throw Base::TypeError("TaskDetail - new detail not found\n"); + throw Base::TypeError("TaskDetail - new detail view not found\n"); } m_detailFeat = dvd; diff --git a/src/Mod/TechDraw/Gui/ViewProviderPage.cpp b/src/Mod/TechDraw/Gui/ViewProviderPage.cpp index a75ed7db76..37609bf0ae 100644 --- a/src/Mod/TechDraw/Gui/ViewProviderPage.cpp +++ b/src/Mod/TechDraw/Gui/ViewProviderPage.cpp @@ -223,7 +223,7 @@ bool ViewProviderPage::onDelete(const std::vector &) QTextStream bodyMessageStream(&bodyMessage); bodyMessageStream << qApp->translate("Std_Delete", "The page is not empty, therefore the\nfollowing referencing objects might be lost.\n\n" - "Are you sure you want to continue?\n"); + "Are you sure you want to continue?"); for (auto ObjIterator : objs) bodyMessageStream << '\n' << QString::fromUtf8(ObjIterator->Label.getValue()); // show and evaluate the dialog