From 9b372eac7332465b659f3ac93a102814c660147c Mon Sep 17 00:00:00 2001 From: tntscreed Date: Thu, 16 Mar 2023 13:19:19 +0100 Subject: [PATCH] Added remaining QMessageBox text to self.tr method I'm assuming it was left out on accident. Sorry, but I can't update the translation files on my own. --- manuskript/mainWindow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manuskript/mainWindow.py b/manuskript/mainWindow.py index 1221691..b3e3dcf 100644 --- a/manuskript/mainWindow.py +++ b/manuskript/mainWindow.py @@ -448,8 +448,8 @@ class MainWindow(QMainWindow, Ui_MainWindow): tableview_model = self.BulkManageUi.tableView.model() if tableview_model.rowCount() > 0: confirm = QMessageBox.warning( - self, "Un-applied data!", - "There are un-applied entries in this tab. Discard them?", + self, self.tr("Un-applied data!"), + self.tr("There are un-applied entries in this tab. Discard them?"), QMessageBox.Yes | QMessageBox.No, defaultButton = QMessageBox.No )