From 467ef5578879eda3f691817971615c33679174dc Mon Sep 17 00:00:00 2001 From: luzpaz Date: Sun, 27 Aug 2017 13:40:54 -0400 Subject: [PATCH] Misc. typos discovered via crowdin should close several crowdin issues. --- src/Gui/DownloadItem.cpp | 2 +- src/Gui/Language/FreeCAD.ts | 2 +- src/Mod/Arch/Resources/translations/Arch.ts | 4 ++-- src/Mod/Arch/Resources/ui/ArchMaterial.ui | 2 +- src/Mod/Draft/DraftGui.py | 2 +- src/Mod/Draft/Resources/translations/Draft.ts | 6 +++--- src/Mod/Draft/Resources/ui/preferences-dxf.ui | 2 +- src/Mod/PartDesign/Gui/CommandBody.cpp | 2 +- src/Mod/PartDesign/Gui/CommandPrimitive.cpp | 8 ++++---- src/Mod/Path/Gui/Resources/translations/Path.ts | 10 +++++----- src/Mod/Ship/Instance.py | 2 +- src/Mod/Ship/TankInstance.py | 2 +- src/Mod/Ship/WeightInstance.py | 2 +- src/Mod/TemplatePyMod/FeaturePython.py | 4 ++-- 14 files changed, 25 insertions(+), 25 deletions(-) diff --git a/src/Gui/DownloadItem.cpp b/src/Gui/DownloadItem.cpp index d7f99cb3eb..55ba0313f9 100644 --- a/src/Gui/DownloadItem.cpp +++ b/src/Gui/DownloadItem.cpp @@ -446,7 +446,7 @@ void DownloadItem::downloadReadyRead() if (!m_requestFileName) getFileName(); if (!m_output.open(QIODevice::WriteOnly)) { - downloadInfoLabel->setText(tr("Error opening save file: %1") + downloadInfoLabel->setText(tr("Error opening saved file: %1") .arg(m_output.errorString())); stopButton->click(); /*emit*/ statusChanged(); diff --git a/src/Gui/Language/FreeCAD.ts b/src/Gui/Language/FreeCAD.ts index b05594977a..cc1ce6cf0a 100644 --- a/src/Gui/Language/FreeCAD.ts +++ b/src/Gui/Language/FreeCAD.ts @@ -2842,7 +2842,7 @@ The 'Status' column shows whether the document could be recovered. - Error opening save file: %1 + Error opening saved file: %1 diff --git a/src/Mod/Arch/Resources/translations/Arch.ts b/src/Mod/Arch/Resources/translations/Arch.ts index aabc70255f..05c5b49ad7 100644 --- a/src/Mod/Arch/Resources/translations/Arch.ts +++ b/src/Mod/Arch/Resources/translations/Arch.ts @@ -2488,7 +2488,7 @@ Site creation aborted. - Copy values from an existing mateiral in the document + Copy values from an existing material in the document @@ -3559,7 +3559,7 @@ Site creation aborted. - Tolerance value to use when checking if 2 adjacent faces as planar + Tolerance value to use when checking if 2 adjacent faces are planar diff --git a/src/Mod/Arch/Resources/ui/ArchMaterial.ui b/src/Mod/Arch/Resources/ui/ArchMaterial.ui index 040a2ce444..19a71e45d8 100644 --- a/src/Mod/Arch/Resources/ui/ArchMaterial.ui +++ b/src/Mod/Arch/Resources/ui/ArchMaterial.ui @@ -35,7 +35,7 @@ - Copy values from an existing mateiral in the document + Copy values from an existing material in the document diff --git a/src/Mod/Draft/DraftGui.py b/src/Mod/Draft/DraftGui.py index 1322b23de5..8a72e1d9a0 100644 --- a/src/Mod/Draft/DraftGui.py +++ b/src/Mod/Draft/DraftGui.py @@ -672,7 +672,7 @@ class DraftToolBar: self.wplabel.setToolTip(translate("draft", "Current working plane:",utf8_decode=True)+self.wplabel.text()) self.constrButton.setToolTip(translate("draft", "Toggle construction mode")) - self.colorButton.setToolTip(translate("draft", "Curreont line color")) + self.colorButton.setToolTip(translate("draft", "Current line color")) self.facecolorButton.setToolTip(translate("draft", "Current face color")) self.widthButton.setToolTip(translate("draft", "Current line width")) self.fontsizeButton.setToolTip(translate("draft", "Current font size")) diff --git a/src/Mod/Draft/Resources/translations/Draft.ts b/src/Mod/Draft/Resources/translations/Draft.ts index 10befedbf1..48d1d07b5f 100755 --- a/src/Mod/Draft/Resources/translations/Draft.ts +++ b/src/Mod/Draft/Resources/translations/Draft.ts @@ -2380,7 +2380,7 @@ Values with differences below this value will be treated as same. - if this is checked, Drawing Views will be exported as blocks. This might fail for post-R12 templates. + If this is checked, Drawing Views will be exported as blocks. This might fail for post-R12 templates. @@ -2460,7 +2460,7 @@ Ex: for files in millimeters: 1, in centimeters: 10, in meters: 1000, in inches: - draft + Draft Draft Command Bar @@ -3705,7 +3705,7 @@ To enabled FreeCAD to download these libraries, answer Yes. - Curreont line color + Current line color diff --git a/src/Mod/Draft/Resources/ui/preferences-dxf.ui b/src/Mod/Draft/Resources/ui/preferences-dxf.ui index 54c0173e63..a866025136 100644 --- a/src/Mod/Draft/Resources/ui/preferences-dxf.ui +++ b/src/Mod/Draft/Resources/ui/preferences-dxf.ui @@ -530,7 +530,7 @@ Ex: for files in millimeters: 1, in centimeters: 10, in meters: 1000, in inches: - if this is checked, Drawing Views will be exported as blocks. This might fail for post-R12 templates. + If this is checked, Drawing Views will be exported as blocks. This might fail for post-R12 templates. Export Drawing Views as blocks diff --git a/src/Mod/PartDesign/Gui/CommandBody.cpp b/src/Mod/PartDesign/Gui/CommandBody.cpp index 1abc151895..e6003d5f8a 100644 --- a/src/Mod/PartDesign/Gui/CommandBody.cpp +++ b/src/Mod/PartDesign/Gui/CommandBody.cpp @@ -184,7 +184,7 @@ void CmdPartDesignBody::activated(int iMsg) } else { QMessageBox::warning(Gui::getMainWindow(), QObject::tr("Bad base feature"), - QObject::tr("Body may be based no more than on one feature.")); + QObject::tr("Body may be based on no more than one feature.")); return; } } diff --git a/src/Mod/PartDesign/Gui/CommandPrimitive.cpp b/src/Mod/PartDesign/Gui/CommandPrimitive.cpp index 7314d40b03..dbda0ea599 100644 --- a/src/Mod/PartDesign/Gui/CommandPrimitive.cpp +++ b/src/Mod/PartDesign/Gui/CommandPrimitive.cpp @@ -181,7 +181,7 @@ void CmdPrimtiveCompAdditive::languageChange() QAction* arc1 = a[0]; arc1->setText(QApplication::translate("CmdPrimtiveCompAdditive","Additive Box")); - arc1->setToolTip(QApplication::translate("PartDesign_CompPrimitiveAdditive","Create an additive box by its with, height and length")); + arc1->setToolTip(QApplication::translate("PartDesign_CompPrimitiveAdditive","Create an additive box by its width, height and length")); arc1->setStatusTip(arc1->toolTip()); QAction* arc2 = a[1]; arc2->setText(QApplication::translate("CmdPrimtiveCompAdditive","Additive Cylinder")); @@ -189,7 +189,7 @@ void CmdPrimtiveCompAdditive::languageChange() arc2->setStatusTip(arc2->toolTip()); QAction* arc3 = a[2]; arc3->setText(QApplication::translate("CmdPrimtiveCompAdditive","Additive Sphere")); - arc3->setToolTip(QApplication::translate("PartDesign_CompPrimitiveAdditive","Create an additive sphere by its radius and varius angles")); + arc3->setToolTip(QApplication::translate("PartDesign_CompPrimitiveAdditive","Create an additive sphere by its radius and various angles")); arc3->setStatusTip(arc3->toolTip()); QAction* arc4 = a[3]; arc4->setText(QApplication::translate("CmdPrimtiveCompAdditive","Additive Cone")); @@ -338,7 +338,7 @@ void CmdPrimtiveCompSubtractive::languageChange() QAction* arc1 = a[0]; arc1->setText(QApplication::translate("CmdPrimtiveCompSubtractive","Subtractive Box")); - arc1->setToolTip(QApplication::translate("PartDesign_CompPrimitiveSubtractive","Create an subtractive box by its with, height and length")); + arc1->setToolTip(QApplication::translate("PartDesign_CompPrimitiveSubtractive","Create an subtractive box by its width, height and length")); arc1->setStatusTip(arc1->toolTip()); QAction* arc2 = a[1]; arc2->setText(QApplication::translate("CmdPrimtiveCompSubtractive","Subtractive Cylinder")); @@ -346,7 +346,7 @@ void CmdPrimtiveCompSubtractive::languageChange() arc2->setStatusTip(arc2->toolTip()); QAction* arc3 = a[2]; arc3->setText(QApplication::translate("CmdPrimtiveCompSubtractive","Subtractive Sphere")); - arc3->setToolTip(QApplication::translate("PartDesign_CompPrimitiveSubtractive","Create an subtractive sphere by its radius and varius angles")); + arc3->setToolTip(QApplication::translate("PartDesign_CompPrimitiveSubtractive","Create an subtractive sphere by its radius and various angles")); arc3->setStatusTip(arc3->toolTip()); QAction* arc4 = a[3]; arc4->setText(QApplication::translate("CmdPrimtiveCompSubtractive","Subtractive Cone")); diff --git a/src/Mod/Path/Gui/Resources/translations/Path.ts b/src/Mod/Path/Gui/Resources/translations/Path.ts index 1bcd175331..5242668b45 100644 --- a/src/Mod/Path/Gui/Resources/translations/Path.ts +++ b/src/Mod/Path/Gui/Resources/translations/Path.ts @@ -468,12 +468,12 @@ - extra allowance from part width + Extra allowance from part width - extra allownace from part width + Extra allowance from part width @@ -2237,7 +2237,7 @@ Height Allowance - extra allownace from part width + Extra allowance from part width @@ -2266,7 +2266,7 @@ Length Allowance - extra allownace from part width + Extra allowance from part width @@ -2680,7 +2680,7 @@ Width Allowance - extra allownace from part width + Extra allowance from part width diff --git a/src/Mod/Ship/Instance.py b/src/Mod/Ship/Instance.py index a223ed1d97..ab844b7b35 100644 --- a/src/Mod/Ship/Instance.py +++ b/src/Mod/Ship/Instance.py @@ -257,7 +257,7 @@ class ViewProviderShip: def setDisplayMode(self, mode): """Map the display mode defined in attach with those defined in getDisplayModes. Since they have the same names nothing needs to be - done. This method is optinal. + done. This method is optional. Keyword arguments: mode -- Mode to be activated. diff --git a/src/Mod/Ship/TankInstance.py b/src/Mod/Ship/TankInstance.py index 1908d398ec..1acc5273ff 100644 --- a/src/Mod/Ship/TankInstance.py +++ b/src/Mod/Ship/TankInstance.py @@ -269,7 +269,7 @@ class ViewProviderTank: def setDisplayMode(self, mode): """Map the display mode defined in attach with those defined in getDisplayModes. Since they have the same names nothing needs to be - done. This method is optinal. + done. This method is optional. Keyword arguments: mode -- Mode to be activated. diff --git a/src/Mod/Ship/WeightInstance.py b/src/Mod/Ship/WeightInstance.py index 57e55ed053..40b51d0d4f 100644 --- a/src/Mod/Ship/WeightInstance.py +++ b/src/Mod/Ship/WeightInstance.py @@ -319,7 +319,7 @@ class ViewProviderWeight: def setDisplayMode(self, mode): """Map the display mode defined in attach with those defined in getDisplayModes. Since they have the same names nothing needs to be - done. This method is optinal. + done. This method is optional. Keyword arguments: mode -- Mode to be activated. diff --git a/src/Mod/TemplatePyMod/FeaturePython.py b/src/Mod/TemplatePyMod/FeaturePython.py index 46204659c0..04739e592d 100644 --- a/src/Mod/TemplatePyMod/FeaturePython.py +++ b/src/Mod/TemplatePyMod/FeaturePython.py @@ -56,7 +56,7 @@ class ViewProviderBox: def setDisplayMode(self,mode): ''' Map the display mode defined in attach with those defined in getDisplayModes. - Since they have the same names nothing needs to be done. This method is optinal. + Since they have the same names nothing needs to be done. This method is optional. ''' return mode @@ -362,7 +362,7 @@ class ViewProviderPoints: def setDisplayMode(self,mode): ''' Map the display mode defined in attach with those defined in getDisplayModes. - Since they have the same names nothing needs to be done. This method is optinal. + Since they have the same names nothing needs to be done. This method is optional. ''' return mode