mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
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:
parent
bde6e1bb97
commit
17177eccfa
1 changed files with 1 additions and 1 deletions
|
@ -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} 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?",
|
"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)
|
len(remove_printers_ids)
|
||||||
).format(num_printers = len(remove_printers_ids))
|
)
|
||||||
if remove_printers_ids == all_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?")
|
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)
|
result = QMessageBox.question(None, question_title, question_content)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue