Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cura/UI
diff options
context:
space:
mode:
authordigitalfrost <gerald.hofmaier@gmail.com>2022-09-05 21:19:27 +0300
committerdigitalfrost <gerald.hofmaier@gmail.com>2022-09-05 21:22:45 +0300
commit2b981daf17b435ee107b1ce5256adda156fd8a00 (patch)
tree788e2ee8cf6cff65b4939f78c0d90b203fac5899 /cura/UI
parent2d3ad84167236aea48e9a92ab72073d4736a792d (diff)
PrintInformation.py: Fix grammar in docstrings
Fix grammar and typos for: - class docstring - defineAbbreviatedMachineName - _onOutputStart
Diffstat (limited to 'cura/UI')
-rw-r--r--cura/UI/PrintInformation.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/cura/UI/PrintInformation.py b/cura/UI/PrintInformation.py
index 2b8e13b09f..8b31285a9b 100644
--- a/cura/UI/PrintInformation.py
+++ b/cura/UI/PrintInformation.py
@@ -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()