mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
PrintInformation.py: Fix grammar in docstrings
Fix grammar and typos for: - class docstring - defineAbbreviatedMachineName - _onOutputStart
This commit is contained in:
parent
2d3ad84167
commit
2b981daf17
1 changed files with 4 additions and 4 deletions
|
@ -23,9 +23,9 @@ catalog = i18nCatalog("cura")
|
|||
|
||||
|
||||
class PrintInformation(QObject):
|
||||
"""A class for processing and the print times per build plate as well as managing the job name
|
||||
"""A class for processing the print times per build plate and managing the job name
|
||||
|
||||
This class also mangles the current machine name and the filename of the first loaded mesh into a job name.
|
||||
This class also combines the current machine name and the filename of the first loaded mesh into a job name.
|
||||
This job name is requested by the JobSpecs qml file.
|
||||
"""
|
||||
|
||||
|
@ -392,7 +392,7 @@ class PrintInformation(QObject):
|
|||
return self._base_name
|
||||
|
||||
def _defineAbbreviatedMachineName(self) -> None:
|
||||
"""Created an acronym-like abbreviated machine name from the currently active machine name.
|
||||
"""Creates an abbreviated machine name from the currently active machine name.
|
||||
|
||||
Called each time the global stack is switched.
|
||||
"""
|
||||
|
@ -446,7 +446,7 @@ class PrintInformation(QObject):
|
|||
self.setToZeroPrintInformation(self._active_build_plate)
|
||||
|
||||
def _onOutputStart(self, output_device: OutputDevice) -> None:
|
||||
"""If this is the sort of output 'device' (like local or online file storage, rather than a printer),
|
||||
"""If this is a sort of output 'device' (like local or online file storage, rather than a printer),
|
||||
the user could have altered the file-name, and thus the project name should be altered as well."""
|
||||
if isinstance(output_device, ProjectOutputDevice):
|
||||
new_name = output_device.getLastOutputName()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue