From 7752b02a73a1f4e60478156544440fa6f0bb04c7 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 24 Apr 2022 10:27:25 +0530 Subject: [PATCH] Fix #1970061 [[Enhancement] Popup not translatable in Transifex](https://bugs.launchpad.net/calibre/+bug/1970061) --- src/calibre/gui2/dialogs/tag_editor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/dialogs/tag_editor.py b/src/calibre/gui2/dialogs/tag_editor.py index d248af8940..6c1ec7cbf8 100644 --- a/src/calibre/gui2/dialogs/tag_editor.py +++ b/src/calibre/gui2/dialogs/tag_editor.py @@ -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.'),