From 4af4d1f0b060082731216a121826ea417995940e Mon Sep 17 00:00:00 2001 From: Boris Yumankulov Date: Thu, 26 Jun 2025 14:27:09 +0500 Subject: [PATCH] fix(dialogs): fix File Explorer buttons translate Signed-off-by: Boris Yumankulov --- portprotonqt/dialogs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/portprotonqt/dialogs.py b/portprotonqt/dialogs.py index f008b85..cab1a4d 100644 --- a/portprotonqt/dialogs.py +++ b/portprotonqt/dialogs.py @@ -134,8 +134,8 @@ class FileExplorer(QDialog): # Кнопки self.button_layout = QHBoxLayout() self.button_layout.setSpacing(10) - self.select_button = QPushButton("Select (A)") - self.cancel_button = QPushButton("Cancel (B)") + self.select_button = QPushButton(_("Select")) + self.cancel_button = QPushButton(_("Cancel")) self.select_button.setStyleSheet(FileExplorerStyles.BUTTON_STYLE) self.cancel_button.setStyleSheet(FileExplorerStyles.BUTTON_STYLE) self.button_layout.addWidget(self.select_button)