diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2023-07-17 09:29:56 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2023-07-30 18:35:22 +1000 |
commit | 2082fdf84a823b7533792b99e5e3a5c3334586e9 (patch) | |
tree | 7b058ffc02fa9c0d5ec0e3c4e1854c6bb8bcb1d3 /pkg/gui/presentation | |
parent | 894485190bdecb59d672c731c14ad922c07f73ba (diff) |
i18n for worktrees
Diffstat (limited to 'pkg/gui/presentation')
-rw-r--r-- | pkg/gui/presentation/branches.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/presentation/branches.go b/pkg/gui/presentation/branches.go index 243c9d0a3..42cbdf22b 100644 --- a/pkg/gui/presentation/branches.go +++ b/pkg/gui/presentation/branches.go @@ -51,7 +51,7 @@ func getBranchDisplayStrings( coloredName := nameTextStyle.Sprint(displayName) branchStatus := utils.WithPadding(ColoredBranchStatus(b, tr), 2, utils.AlignLeft) if b.CheckedOutByOtherWorktree { - worktreeIcon := lo.Ternary(icons.IsIconEnabled(), icons.LINKED_WORKTREE_ICON, "(worktree)") + worktreeIcon := lo.Ternary(icons.IsIconEnabled(), icons.LINKED_WORKTREE_ICON, fmt.Sprintf("(%s)", tr.LcWorktree)) coloredName = fmt.Sprintf("%s %s", coloredName, style.FgDefault.Sprint(worktreeIcon)) } coloredName = fmt.Sprintf("%s %s", coloredName, branchStatus) |