[TD] get rid of trailing newlines
as discussed with luzpaz in https://github.com/FreeCAD/FreeCAD/pull/3735 there shouldn't be trailing newlines in translated strings. - Moreover fix the logic of the output dialog text
This commit is contained in:
@@ -195,9 +195,9 @@ bool ViewProviderTemplate::onDelete(const std::vector<std::string> &)
|
||||
QString bodyMessage;
|
||||
QTextStream bodyMessageStream(&bodyMessage);
|
||||
bodyMessageStream << qApp->translate("Std_Delete",
|
||||
"The following referencing objects might break.\n\n"
|
||||
"Are you sure you want to continue?\n");
|
||||
bodyMessageStream << '\n' << QString::fromUtf8(page->Label.getValue());
|
||||
"The following referencing objects might break:");
|
||||
bodyMessageStream << "\n\n" << QString::fromUtf8(page->Label.getValue());
|
||||
bodyMessageStream << "\n\nAre you sure you want to continue?";
|
||||
|
||||
// show and evaluate dialog
|
||||
int DialogResult = QMessageBox::warning(Gui::getMainWindow(),
|
||||
|
||||
Reference in New Issue
Block a user