Crowdin: more fixes
This commit is contained in:
@@ -278,14 +278,14 @@ class _CommandSite:
|
||||
else:
|
||||
warning = True
|
||||
if warning :
|
||||
message = translate( "Arch" , "Please select only Building objects or nothing!\n\
|
||||
Site are not allowed to accept other object than Building.\n\
|
||||
Other objects will be removed from the selection.\n\
|
||||
You can change that in the preferences.") + "\n"
|
||||
message = translate( "Arch" , "Please either select only Building objects or nothing at all!\n\
|
||||
Site is not allowed to accept any other object besides Building.\n\
|
||||
Other objects will be removed from the selection.\n\
|
||||
Note: You can change that in the preferences." )
|
||||
ArchCommands.printMessage( message )
|
||||
if sel and len(siteobj) == 0:
|
||||
message = translate( "Arch" , "There is no valid object in the selection.\n\
|
||||
Site creation aborted.") + "\n"
|
||||
Site creation aborted.") + "\n"
|
||||
ArchCommands.printMessage( message )
|
||||
else :
|
||||
ss = "[ "
|
||||
|
||||
@@ -4238,7 +4238,7 @@ bool SketchObject::increaseBSplineDegree(int GeoId, int degreeincrement /*= 1*/)
|
||||
bool SketchObject::modifyBSplineKnotMultiplicity(int GeoId, int knotIndex, int multiplicityincr)
|
||||
{
|
||||
#if OCC_VERSION_HEX < 0x060900
|
||||
THROWMT(Base::NotImplementedError, QT_TRANSLATE_NOOP("Exceptions", "This version of OCE/OCC does not support knot operation. You need 6.9.0 or higher\n"))
|
||||
THROWMT(Base::NotImplementedError, QT_TRANSLATE_NOOP("Exceptions", "This version of OCE/OCC does not support knot operation. You need 6.9.0 or higher")+"\n")
|
||||
#endif
|
||||
|
||||
if (GeoId < 0 || GeoId > getHighestCurveIndex())
|
||||
|
||||
@@ -160,7 +160,7 @@ void UnitTestDialog::on_treeViewFailure_itemDoubleClicked(QTreeWidgetItem * item
|
||||
void UnitTestDialog::on_helpButton_clicked()
|
||||
{
|
||||
QMessageBox::information(this, tr("Help"), tr(
|
||||
"Enter the name of a callable object which, when called, will return a TestCase."
|
||||
"Enter the name of a callable object which, when called, will return a TestCase.\n"
|
||||
"Click 'start', and the test thus produced will be run.\n\n"
|
||||
"Double click on an error in the tree view to see more information about it, "
|
||||
"including the stack trace."));
|
||||
@@ -174,7 +174,7 @@ void UnitTestDialog::on_aboutButton_clicked()
|
||||
QMessageBox::information(this, tr("About FreeCAD UnitTest"), tr(
|
||||
"Copyright (c) Werner Mayer\n\n"
|
||||
"FreeCAD UnitTest is part of FreeCAD and supports writing Unit Tests for "
|
||||
"own modules."));
|
||||
"ones own modules."));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user