From a529ba178717ff5e673b4e2ea9aa4364f0255b43 Mon Sep 17 00:00:00 2001 From: "luz.paz" Date: Sun, 29 Apr 2018 09:09:22 -0400 Subject: [PATCH] Crowdin: more fixes --- src/Mod/Arch/ArchSite.py | 10 +++++----- src/Mod/Sketcher/App/SketchObject.cpp | 2 +- src/Mod/Test/Gui/UnitTestImp.cpp | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Mod/Arch/ArchSite.py b/src/Mod/Arch/ArchSite.py index 0ac4085445..c7ff422d9a 100644 --- a/src/Mod/Arch/ArchSite.py +++ b/src/Mod/Arch/ArchSite.py @@ -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 = "[ " diff --git a/src/Mod/Sketcher/App/SketchObject.cpp b/src/Mod/Sketcher/App/SketchObject.cpp index 3f636b72a0..b89ac77457 100644 --- a/src/Mod/Sketcher/App/SketchObject.cpp +++ b/src/Mod/Sketcher/App/SketchObject.cpp @@ -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()) diff --git a/src/Mod/Test/Gui/UnitTestImp.cpp b/src/Mod/Test/Gui/UnitTestImp.cpp index 09c0429d59..533afd2ca6 100644 --- a/src/Mod/Test/Gui/UnitTestImp.cpp +++ b/src/Mod/Test/Gui/UnitTestImp.cpp @@ -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.")); } /**