Misc. typo fixes

Found via `codespell`
This commit is contained in:
luz.paz
2018-08-25 17:02:07 -04:00
committed by wmayer
parent 00312a39f9
commit 53e122a75a
4 changed files with 8 additions and 8 deletions

View File

@@ -766,7 +766,7 @@ bool SelectionSingleton::addSelection(const char* pDocName, const char* pObjectN
return true;
}
else {
// neither an existing nor active document available
// neither an existing nor active document available
// this can often happen when importing .iv files
Base::Console().Error("Cannot add to selection: no document '%s' found.\n", pDocName);
return false;
@@ -1039,7 +1039,7 @@ PyMethodDef SelectionSingleton::Methods[] = {
"second argumeht defines the document name. If no document name is given the\n"
"currently active document is used"},
{"getSelection", (PyCFunction) SelectionSingleton::sGetSelection, METH_VARARGS,
"getSelection([string]) -- Return a list of selected objets\n"
"getSelection([string]) -- Return a list of selected objects\n"
"Return a list of selected objects for a given document name. If no\n"
"document name is given the selection for the active document is returned."},
{"getCompleteSelection", (PyCFunction) SelectionSingleton::sGetCompleteSelection, METH_VARARGS,

View File

@@ -125,7 +125,7 @@ def makeBoreHole():
App.ActiveDocument.recompute()
# hide all objets except of the final one
# hide all objects except of the final one
Gui.ActiveDocument.getObject(Wire.Name).hide()
Gui.ActiveDocument.getObject(Face.Name).hide()
Gui.ActiveDocument.getObject(Prism.Name).hide()

View File

@@ -1,6 +1,6 @@
/***************************************************************************
* Copyright (c) 2013 Jan Rheinländer <jrheinlaender[at]users.sourceforge.net> *
* *
/***************************************************************************
* Copyright (c) 2013 *
* Jan Rheinländer <jrheinlaender[at]users.sourceforge.net> *
* This file is part of the FreeCAD CAx development system. *
* *
* This library is free software; you can redistribute it and/or *
@@ -44,7 +44,7 @@ Plane::Plane()
{
// These properties are only relevant for the visual appearance.
// Since they are getting changed from within its view provider
// their type is set to "Ouput" to avoid that they are marked as
// their type is set to "Output" to avoid that they are marked as
// touched all the time.
ADD_PROPERTY_TYPE(ResizeMode,(static_cast<long>(0)), "Size", App::Prop_Output, "Automatic or manual resizing");
ResizeMode.setEnums(ResizeModeEnums);

View File

@@ -63,7 +63,7 @@ T_DESCR_COMMUNITYHELP1 = translate("StartPage", "The <a href=\"http://forum.free
T_DESCR_COMMUNITYHELP2 = translate("StartPage", "If it is the first time you are posting on the forum, be sure to <a href=\"https://forum.freecadweb.org/viewtopic.php?f=3&t=2264\">read the guidelines</a> first!")
T_DESCR_COMMUNITYHELP3 = translate("StartPage", "FreeCAD also maintains a public <a href=\"https://www.freecadweb.org/tracker\">bug tracker</a> where anybody can submit bugs and propose new features. To avoid causing extra work and give the best chances to see your bug solved, make sure you read the <a href=\"https://forum.freecadweb.org/viewtopic.php?f=3&t=5236\">bug submission guide</a> before posting.")
T_ADDONS = translate("StartPage", "Available addons")
T_DESCR_ADDONS = translate("StartPage", "Below is a list of available extra workbenches that can be added to your FreeCAD installation. Browse and install them from menu Tools -> Addons mananger. You can learn more about any of them by clicking the links below.")
T_DESCR_ADDONS = translate("StartPage", "Below is a list of available extra workbenches that can be added to your FreeCAD installation. Browse and install them from menu Tools -> Addons manager. You can learn more about any of them by clicking the links below.")
T_OFFLINEHELP = translate("StartPage", "If not bundled with your FreeCAD version, install the FreeCAD documentation package to get documentation hubs, workbench help and individual command documentation without an internet connection.")
T_OFFLINEPLACEHOLDER = translate("StartPage", "Cannot fetch information from GitHub. <a href=\"EnableDownload.py\">Authorize FreeCAD to access the internet</a> and reload the Start page.")
T_RECENTCOMMITS = translate("StartPage", "Recent commits")