luz paz
2020-07-23 11:27:15 -04:00
committed by Yorik van Havre
parent 3c35504deb
commit 752f84046c
4 changed files with 7 additions and 7 deletions

View File

@@ -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 &currentLabel : inactiveLabels)
bodyMessageStream << currentLabel << " / " << Base::Tools::fromStdString(thisDoc) << '\n';
}

File diff suppressed because one or more lines are too long

View File

@@ -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<TechDraw::DrawViewDetail *>(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;

View File

@@ -223,7 +223,7 @@ bool ViewProviderPage::onDelete(const std::vector<std::string> &)
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