Misc. comment typos
+ Found via `codespell -q 3 --skip="*.po,*.ts,./.git,./src/3rdParty,./src/CXX,./src/zipios++,./src/Mod/Assembly/App/opendcm" -I ~/Projects/fc-word-whitelist.txt` + crowdin translation refinements: - https://crowdin.com/translate/freecad/6766/en-en#6499546 - https://crowdin.com/translate/freecad/6766/en-en#6504496
This commit is contained in:
@@ -119,10 +119,10 @@ public:
|
||||
protected:
|
||||
public: // FIXME: Remove the public keyword
|
||||
/* sMessage may be:
|
||||
* - an UI compliant string subsceptible of being translated and shown to the user in the UI
|
||||
* - a very technical message not intended to be traslated or shown to the user in the UI
|
||||
* The preferred way of throwing an exception is using the macros above. This way, the file,
|
||||
* line and function are automatically inserted. */
|
||||
* - a UI compliant string susceptible to being translated and shown to the user in the UI
|
||||
* - a very technical message not intended to be translated or shown to the user in the UI
|
||||
* The preferred way of throwing an exception is using the macros above.
|
||||
* This way, the file, line, and function are automatically inserted. */
|
||||
Exception(const char * sMessage);
|
||||
Exception(const std::string& sMessage);
|
||||
Exception(void);
|
||||
@@ -229,7 +229,8 @@ public:
|
||||
virtual void setPyObject( PyObject * pydict);
|
||||
protected:
|
||||
FileInfo file;
|
||||
// necessary for what() legacy behaviour as it returns a buffer that can not be of a temporary object to be destroyed at end of what()
|
||||
// necessary for what() legacy behaviour as it returns a buffer that
|
||||
// can not be of a temporary object to be destroyed at end of what()
|
||||
std::string _sErrMsgAndFileName;
|
||||
};
|
||||
|
||||
|
||||
@@ -407,7 +407,7 @@ class _SectionPlane:
|
||||
if not "Shape" in pl:
|
||||
obj.addProperty("Part::PropertyPartShape","Shape","SectionPlane",QT_TRANSLATE_NOOP("App::Property","The shape of this object"))
|
||||
if not "Objects" in pl:
|
||||
obj.addProperty("App::PropertyLinkList","Objects","SectionPlane",QT_TRANSLATE_NOOP("App::Property","The objects that must be considered by this section plane. Empty means all document"))
|
||||
obj.addProperty("App::PropertyLinkList","Objects","SectionPlane",QT_TRANSLATE_NOOP("App::Property","The objects that must be considered by this section plane. Empty means the whole document."))
|
||||
if not "OnlySolids" in pl:
|
||||
obj.addProperty("App::PropertyBool","OnlySolids","SectionPlane",QT_TRANSLATE_NOOP("App::Property","If false, non-solids will be cut too, with possible wrong results."))
|
||||
obj.OnlySolids = True
|
||||
|
||||
@@ -185,8 +185,8 @@ def export(exportList,filename):
|
||||
for f in flist:
|
||||
outfile.write("f" + f + "\n")
|
||||
outfile.close()
|
||||
FreeCAD.Console.PrintMessage(translate("Arch","Successfully written ").decode('utf8') + filename + "\n")
|
||||
if materials:
|
||||
FreeCAD.Console.PrintMessage(translate("Arch","Successfully written").decode('utf8') + " " + filename + "\n")
|
||||
if materials:
|
||||
outfile = pythonopen(filenamemtl,"wb")
|
||||
outfile.write("# FreeCAD v" + ver[0] + "." + ver[1] + " build" + ver[2] + " Arch module\n")
|
||||
outfile.write("# http://www.freecadweb.org\n")
|
||||
|
||||
@@ -70,7 +70,7 @@ class MaterialEditor:
|
||||
QtCore.QObject.connect(self.widget.ButtonOpen, QtCore.SIGNAL("clicked()"), self.openfile)
|
||||
QtCore.QObject.connect(self.widget.ButtonSave, QtCore.SIGNAL("clicked()"), self.savefile)
|
||||
|
||||
# add material properies (the keys) to the editor
|
||||
# add material properties (the keys) to the editor
|
||||
for group in getMaterialAttributeStructure(True): # get the mat file structure from material module, use Spaces for better ui
|
||||
# print(group)
|
||||
self.addPropertiesToGroup(group)
|
||||
|
||||
Reference in New Issue
Block a user