From 0a445d9e5b41fe003b2da2b9c67f4572cd8ab7b0 Mon Sep 17 00:00:00 2001 From: vocx-fc Date: Mon, 1 Jun 2020 12:30:04 -0500 Subject: [PATCH] PartDesign: replace unicode characters with simple hyphens --- src/Mod/PartDesign/App/FeatureGroove.cpp | 6 +++--- src/Mod/PartDesign/App/FeatureHole.cpp | 6 +++--- src/Mod/PartDesign/App/FeaturePocket.cpp | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/Mod/PartDesign/App/FeatureGroove.cpp b/src/Mod/PartDesign/App/FeatureGroove.cpp index 0278740fbd..27cc5653a8 100644 --- a/src/Mod/PartDesign/App/FeatureGroove.cpp +++ b/src/Mod/PartDesign/App/FeatureGroove.cpp @@ -103,10 +103,10 @@ App::DocumentObjectExecReturn *Groove::execute(void) base = getBaseShape(); } catch (const Base::Exception&) { - std::string text(QT_TR_NOOP("The requested feature cannot be created. The reason may be that:\n\n" - " \xe2\x80\xa2 the active Body does not contain a base shape, so there is no\n" + std::string text(QT_TR_NOOP("The requested feature cannot be created. The reason may be that:\n" + " - the active Body does not contain a base shape, so there is no\n" " material to be removed;\n" - " \xe2\x80\xa2 the selected sketch does not belong to the active Body.")); + " - the selected sketch does not belong to the active Body.")); return new App::DocumentObjectExecReturn(text); } diff --git a/src/Mod/PartDesign/App/FeatureHole.cpp b/src/Mod/PartDesign/App/FeatureHole.cpp index 415f436f5b..a4cc276655 100644 --- a/src/Mod/PartDesign/App/FeatureHole.cpp +++ b/src/Mod/PartDesign/App/FeatureHole.cpp @@ -954,10 +954,10 @@ App::DocumentObjectExecReturn *Hole::execute(void) base = getBaseShape(); } catch (const Base::Exception&) { - std::string text(QT_TR_NOOP("The requested feature cannot be created. The reason may be that:\n\n" - " \xe2\x80\xa2 the active Body does not contain a base shape, so there is no\n" + std::string text(QT_TR_NOOP("The requested feature cannot be created. The reason may be that:\n" + " - the active Body does not contain a base shape, so there is no\n" " material to be removed;\n" - " \xe2\x80\xa2 the selected sketch does not belong to the active Body.")); + " - the selected sketch does not belong to the active Body.")); return new App::DocumentObjectExecReturn(text); } diff --git a/src/Mod/PartDesign/App/FeaturePocket.cpp b/src/Mod/PartDesign/App/FeaturePocket.cpp index 57933f63a1..b0de73ff52 100644 --- a/src/Mod/PartDesign/App/FeaturePocket.cpp +++ b/src/Mod/PartDesign/App/FeaturePocket.cpp @@ -117,10 +117,10 @@ App::DocumentObjectExecReturn *Pocket::execute(void) base = getBaseShape(); } catch (const Base::Exception&) { - std::string text(QT_TR_NOOP("The requested feature cannot be created. The reason may be that:\n\n" - " \xe2\x80\xa2 the active Body does not contain a base shape, so there is no\n" + std::string text(QT_TR_NOOP("The requested feature cannot be created. The reason may be that:\n" + " - the active Body does not contain a base shape, so there is no\n" " material to be removed;\n" - " \xe2\x80\xa2 the selected sketch does not belong to the active Body.")); + " - the selected sketch does not belong to the active Body.")); return new App::DocumentObjectExecReturn(text); }