PartDesign: replace unicode characters with simple hyphens

This commit is contained in:
vocx-fc
2020-06-01 12:30:04 -05:00
committed by Yorik van Havre
parent 0759436661
commit 0a445d9e5b
3 changed files with 9 additions and 9 deletions

View File

@@ -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);
}

View File

@@ -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);
}

View File

@@ -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);
}