From fae304105b9376aed1bbdb2b2290e4662e1ea2de Mon Sep 17 00:00:00 2001 From: David Matos Date: Sun, 25 Jan 2026 11:15:56 +0100 Subject: [PATCH] fix typo and add ellipsis for title --- src/apprt/gtk/class/tab.zig | 6 +++--- src/apprt/gtk/ui/1.2/surface.blp | 2 +- src/apprt/gtk/ui/1.5/window.blp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/apprt/gtk/class/tab.zig b/src/apprt/gtk/class/tab.zig index e343e0293..76f651b61 100644 --- a/src/apprt/gtk/class/tab.zig +++ b/src/apprt/gtk/class/tab.zig @@ -429,7 +429,7 @@ pub const Tab = extern struct { config_: ?*Config, terminal_: ?[*:0]const u8, surface_override_: ?[*:0]const u8, - tab_override: ?[*:0]const u8, + tab_override_: ?[*:0]const u8, zoomed_: c_int, bell_ringing_: c_int, _: *gobject.ParamSpec, @@ -437,7 +437,7 @@ pub const Tab = extern struct { const zoomed = zoomed_ != 0; const bell_ringing = bell_ringing_ != 0; - // Our plain title is the manually tab overriden title if it exists, + // Our plain title is the manually tab overridden title if it exists, // otherwise the overridden title if it exists, otherwise // the terminal title if it exists, otherwise a default string. const plain = plain: { @@ -447,7 +447,7 @@ pub const Tab = extern struct { break :title config.get().title orelse null; }; - const plain = tab_override orelse + const plain = tab_override_ orelse surface_override_ orelse terminal_ orelse config_title orelse diff --git a/src/apprt/gtk/ui/1.2/surface.blp b/src/apprt/gtk/ui/1.2/surface.blp index 2d73652ef..f36c4ec47 100644 --- a/src/apprt/gtk/ui/1.2/surface.blp +++ b/src/apprt/gtk/ui/1.2/surface.blp @@ -278,7 +278,7 @@ menu context_menu_model { label: _("Tab"); item { - label: _("Change Tab Title..."); + label: _("Change Tab Title…"); action: "tab.prompt-tab-title"; } diff --git a/src/apprt/gtk/ui/1.5/window.blp b/src/apprt/gtk/ui/1.5/window.blp index 305c7ef8c..a139f8cc5 100644 --- a/src/apprt/gtk/ui/1.5/window.blp +++ b/src/apprt/gtk/ui/1.5/window.blp @@ -317,7 +317,7 @@ menu main_menu { menu tab_context_menu { item { - label: _("Change Title..."); + label: _("Change Tab Title…"); action: "win.prompt-context-tab-title"; } }