summaryrefslogtreecommitdiffstats
path: root/ui/main_window.py
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-05-03 15:46:08 +0200
committerDanilo M. <danix@danix.xyz>2026-05-03 15:46:08 +0200
commitd0215cc927dcc2ee7d3f177419196901c8167eee (patch)
tree6219da3fd1d6dce435bddc0b60bfa54f74074fb2 /ui/main_window.py
parentab830bf7b489339d6d13ec673fd539a0023eb97d (diff)
downloadpublisher-d0215cc927dcc2ee7d3f177419196901c8167eee.tar.gz
publisher-d0215cc927dcc2ee7d3f177419196901c8167eee.zip
feat: wire Traduci button in MissingTranslationView
Adds a Traduci button that enables on row selection and emits translate_requested, connected to _do_translate in main_window. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'ui/main_window.py')
-rw-r--r--ui/main_window.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/main_window.py b/ui/main_window.py
index b29ff57..b3c657a 100644
--- a/ui/main_window.py
+++ b/ui/main_window.py
@@ -69,6 +69,7 @@ class MainWindow(QMainWindow):
self._missing_view = MissingTranslationView()
self._missing_view.article_selected.connect(self._on_article_selected)
+ self._missing_view.translate_requested.connect(self._do_translate)
self._stack.addWidget(self._missing_view)
self._page_no_translation = self._stack.count() - 1