Remove unused keyword argument

I18ncp already puts the number of printers in the text, so the keyword argument is not longer
necessary.

CURA-7665
This commit is contained in:
Kostas Karmas 2020-09-07 16:33:16 +02:00
parent bde6e1bb97
commit 17177eccfa

View File

@ -463,7 +463,7 @@ class CloudOutputDeviceManager:
"You are about to remove {0} printer from Cura. This action cannot be undone.\nAre you sure you want to continue?",
"You are about to remove {0} printers from Cura. This action cannot be undone.\nAre you sure you want to continue?",
len(remove_printers_ids)
).format(num_printers = len(remove_printers_ids))
)
if remove_printers_ids == all_ids:
question_content = self.i18n_catalog.i18nc("@label", "You are about to remove all printers from Cura. This action cannot be undone.\nAre you sure you want to continue?")
result = QMessageBox.question(None, question_title, question_content)