Inspection: Update UI strings for consistency
This commit is contained in:
committed by
Chris Hennes
parent
df08c0ce8d
commit
488bc484b9
@@ -57,7 +57,7 @@ PyMOD_INIT_FUNC(Inspection)
|
||||
//
|
||||
//
|
||||
PyObject* mod = Inspection::initModule();
|
||||
Base::Console().log("Loading Inspection module... done\n");
|
||||
Base::Console().log("Loading Inspection module… done\n");
|
||||
// clang-format off
|
||||
Inspection::PropertyDistanceList ::init();
|
||||
Inspection::Feature ::init();
|
||||
|
||||
@@ -869,7 +869,7 @@ App::DocumentObjectExecReturn* Feature::execute()
|
||||
DistanceInspection insp(this->SearchRadius.getValue(), actual, inspectNominal);
|
||||
unsigned long count = actual->countPoints();
|
||||
std::stringstream str;
|
||||
str << "Inspecting " << this->Label.getValue() << "...";
|
||||
str << "Inspecting " << this->Label.getValue() << "…";
|
||||
Base::SequencerLauncher seq(str.str().c_str(), count);
|
||||
|
||||
std::vector<float> vals(count);
|
||||
@@ -958,7 +958,7 @@ App::DocumentObjectExecReturn* Feature::execute()
|
||||
else {
|
||||
// Single-threaded operation
|
||||
std::stringstream str;
|
||||
str << "Inspecting " << this->Label.getValue() << "...";
|
||||
str << "Inspecting " << this->Label.getValue() << "…";
|
||||
Base::SequencerLauncher seq(str.str().c_str(), count);
|
||||
|
||||
for (unsigned int i = 0; i < count; i++) {
|
||||
|
||||
@@ -78,6 +78,6 @@ PyMOD_INIT_FUNC(InspectionGui)
|
||||
//
|
||||
|
||||
PyObject* mod = InspectionGui::initModule();
|
||||
Base::Console().log("Loading GUI of Inspection module... done\n");
|
||||
Base::Console().log("Loading GUI of Inspection module… done\n");
|
||||
PyMOD_Return(mod);
|
||||
}
|
||||
|
||||
@@ -46,9 +46,9 @@ CmdVisualInspection::CmdVisualInspection()
|
||||
{
|
||||
sAppModule = "Inspection";
|
||||
sGroup = QT_TR_NOOP("Inspection");
|
||||
sMenuText = QT_TR_NOOP("Visual inspection...");
|
||||
sToolTipText = QT_TR_NOOP("Visual inspection");
|
||||
sStatusTip = QT_TR_NOOP("Visual inspection");
|
||||
sMenuText = QT_TR_NOOP("Visual Inspection…");
|
||||
sToolTipText = QT_TR_NOOP("Inspects the objects visually");
|
||||
sStatusTip = sToolTipText;
|
||||
sWhatsThis = "Inspection_VisualInspection";
|
||||
}
|
||||
|
||||
@@ -72,8 +72,8 @@ CmdInspectElement::CmdInspectElement()
|
||||
{
|
||||
sAppModule = "Inspection";
|
||||
sGroup = QT_TR_NOOP("Inspection");
|
||||
sMenuText = QT_TR_NOOP("Inspection...");
|
||||
sToolTipText = QT_TR_NOOP("Get distance information");
|
||||
sMenuText = QT_TR_NOOP("Inspection…");
|
||||
sToolTipText = QT_TR_NOOP("Inspects distance information");
|
||||
sWhatsThis = "Inspection_InspectElement";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "inspect_pipette";
|
||||
|
||||
@@ -561,7 +561,7 @@ void ViewProviderInspection::inspectCallback(void* ud, SoEventCallback* n)
|
||||
QAction* fl = menu.addAction(QObject::tr("Annotation"));
|
||||
fl->setCheckable(true);
|
||||
fl->setChecked(addflag);
|
||||
QAction* cl = menu.addAction(QObject::tr("Leave info mode"));
|
||||
QAction* cl = menu.addAction(QObject::tr("Leave Info Mode"));
|
||||
QAction* id = menu.exec(QCursor::pos());
|
||||
if (fl == id) {
|
||||
addflag = fl->isChecked();
|
||||
|
||||
Reference in New Issue
Block a user