chore: abstract string literals

This commit is contained in:
aclist committed 2026-11-10 02:41:24 +09:00
1 parent c8fe6ec056
commit fa2f86b03e
13 files changed
+56 -74

No files matched your search

+1 -2
View File
@@ -140,8 +140,7 @@ class WaitDialog(GenericDialog):
self.cur_job += 1
def _on_cancel_clicked(self, button: Gtk.Button) -> None:
# TODO: strings
GLib.idle_add(self.update_text, "Caught cancel signal, cleaning up")
GLib.idle_add(self.update_text, dialogs.caught_cancel_signal)
self.controller.set_cancel_event()
def show_cancel(self, state: bool) -> None: