Merge pull request #216 from Derbeth/translation
Allow to better translate add-ons dialog
This commit is contained in:
commit
8c5abe3a13
@ -348,7 +348,9 @@ class AddonsDialog(QDialog):
|
|||||||
selected = self.selectedAddons()
|
selected = self.selectedAddons()
|
||||||
if not selected:
|
if not selected:
|
||||||
return
|
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))):
|
dict(num=len(selected))):
|
||||||
return
|
return
|
||||||
for dir in selected:
|
for dir in selected:
|
||||||
|
Loading…
Reference in New Issue
Block a user