diff --git a/src/nexus/GUI.py b/src/nexus/GUI.py index 0ba625e..9fd3dfa 100644 --- a/src/nexus/GUI.py +++ b/src/nexus/GUI.py @@ -85,10 +85,10 @@ def __init__(self, args: argparse.Namespace): self.tr = self.translator.translate # System tray - self.tray_icon = QIcon(os.path.join(script_parent_path, 'assets', 'images', 'icon.ico')) + self.nexus_icon = QIcon(os.path.join(script_parent_path, 'assets', 'images', 'icon.ico')) self.tray = QSystemTrayIcon() self.tray.activated.connect(self.show_hide) - self.tray.setIcon(self.tray_icon) + self.tray.setIcon(self.nexus_icon) self.tray.setVisible(True) # System tray menu @@ -101,6 +101,9 @@ def __init__(self, args: argparse.Namespace): self.tray_menu.addAction(self.quit_tray_menu_action) self.tray.setContextMenu(self.tray_menu) + # Set window icon + self.window.setWindowIcon(self.nexus_icon) + # Components self.start_stop_button: QPushButton = self.window.startStopButton self.chentry_table: QTableWidget = self.window.chentryTable diff --git a/translations/i18n_en.ts b/translations/i18n_en.ts index 5b24bea..8ef646b 100644 --- a/translations/i18n_en.ts +++ b/translations/i18n_en.ts @@ -70,152 +70,152 @@ GUI - + GUI Start logging - + GUI Starting... - + GUI Start/stop logging - + GUI Quit - + GUI - + GUI Ban and delete - + GUI Stop logging - + GUI Logging started - + GUI Logging stopped - + GUI Loaded {}/{} freqlogged words - - + + GUI Banned '{}' - - + + GUI '{}' already banned - + GUI Unban {} words? - + GUI Unban '{}'? - + GUI Unbanned '{}' - + GUI '{}' not banned - + GUI None of the selected words were banned - + GUI Unbanned {}/{} selected words - + GUI Exported {} entries to {} - + GUI Ban and delete {} words? - + GUI Ban and delete '{}'? - + GUI All of the selected words were already banned - + GUI Banned and deleted {}/{} selected words - + GUI Confirm ban - + GUI Confirm unban