Fix #1970061 [[Enhancement] Popup not translatable in Transifex](https://bugs.launchpad.net/calibre/+bug/1970061)

This commit is contained in:
Kovid Goyal 2022-04-24 10:27:25 +05:30
parent 50a2be5ce7
commit 7752b02a73
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -124,7 +124,7 @@ class TagEditor(QDialog, Ui_TagEditor):
row_indices = list(self.available_tags.selectionModel().selectedRows())
if not row_indices:
error_dialog(self, 'No tags selected', 'You must select at least one tag from the list of Available tags.').exec()
error_dialog(self, _('No tags selected'), _('You must select at least one tag from the list of Available tags.')).exec()
return
if not confirm(
_('Deleting tags is done immediately and there is no undo.'),