From 29f5d85c7b74ede807db1d91a8b2e96b5aebfc23 Mon Sep 17 00:00:00 2001 From: jeffser Date: Wed, 31 Jul 2024 19:55:30 -0600 Subject: [PATCH] Added string to translation list --- src/window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window.py b/src/window.py index bb13123..ede1698 100644 --- a/src/window.py +++ b/src/window.py @@ -885,7 +885,7 @@ Generate a title following these rules: source_view.set_editable(False) code_block_box = Gtk.Box(css_classes=["card"], orientation=1, overflow=1) title_box = Gtk.Box(margin_start=12, margin_top=3, margin_bottom=3, margin_end=3) - title_box.append(Gtk.Label(label=language.get_name() if language else "Code Block", hexpand=True, xalign=0)) + title_box.append(Gtk.Label(label=language.get_name() if language else _("Code Block"), hexpand=True, xalign=0)) copy_button = Gtk.Button(icon_name="edit-copy-symbolic", css_classes=["flat", "circular"], tooltip_text=_("Copy Message")) copy_button.connect("clicked", self.on_copy_code_clicked, buffer) title_box.append(copy_button)