fix typo and add ellipsis for title

This commit is contained in:
David Matos
2026-01-25 11:15:56 +01:00
parent ed8027a976
commit fae304105b
3 changed files with 5 additions and 5 deletions

View File

@@ -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

View File

@@ -278,7 +278,7 @@ menu context_menu_model {
label: _("Tab");
item {
label: _("Change Tab Title...");
label: _("Change Tab Title");
action: "tab.prompt-tab-title";
}

View File

@@ -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";
}
}