Allow to better translate add-ons dialog
This commit is contained in:
parent
44e88afed0
commit
674d45a606
@ -348,7 +348,9 @@ class AddonsDialog(QDialog):
|
||||
selected = self.selectedAddons()
|
||||
if not selected:
|
||||
return
|
||||
if not askUser(_("Delete the %(num)d selected add-ons?") %
|
||||
if not askUser(ngettext("Delete the %(num)d selected add-on?",
|
||||
"Delete the %(num)d selected add-ons?",
|
||||
len(selected)) %
|
||||
dict(num=len(selected))):
|
||||
return
|
||||
for dir in selected:
|
||||
|
Loading…
Reference in New Issue
Block a user