summaryrefslogtreecommitdiffstats
path: root/pkg/i18n
diff options
context:
space:
mode:
authorJoel Baranick <joel.baranick@ensighten.com>2022-09-02 20:57:39 -0700
committerJesse Duffield <jessedduffield@gmail.com>2023-07-30 18:35:21 +1000
commit35e6e6347a37910a48ad312663d5f8ee6f929496 (patch)
tree88cf3098035fadbe316f2d921f0e58f1d2273544 /pkg/i18n
parent54708233ac595067937f09851fa58a0a326ca71f (diff)
Put all worktree i18n strings together
Use tabwriter to align worktree panel contents
Diffstat (limited to 'pkg/i18n')
-rw-r--r--pkg/i18n/english.go18
1 files changed, 16 insertions, 2 deletions
diff --git a/pkg/i18n/english.go b/pkg/i18n/english.go
index 6d479cfdc..734a25c80 100644
--- a/pkg/i18n/english.go
+++ b/pkg/i18n/english.go
@@ -200,7 +200,6 @@ type TranslationSet struct {
TagsTitle string
MenuTitle string
RemotesTitle string
- WorktreesTitle string
RemoteBranchesTitle string
PatchBuildingTitle string
InformationTitle string
@@ -546,10 +545,18 @@ type TranslationSet struct {
EnterWorktree string
DeleteWorktree string
DeleteWorktreeTitle string
+ WorktreesTitle string
+ WorktreeTitle string
DeleteWorktreePrompt string
ForceDeleteWorktreePrompt string
CantDeleteCurrentWorktree string
CantDeleteMainWorktree string
+ NoWorktreesThisRepo string
+ MissingWorktree string
+ MainWorktree string
+ Name string
+ Branch string
+ Path string
Actions Actions
Bisect Bisect
}
@@ -907,7 +914,6 @@ func EnglishTranslationSet() TranslationSet {
TagsTitle: "Tags",
MenuTitle: "Menu",
RemotesTitle: "Remotes",
- WorktreesTitle: "Worktrees",
RemoteBranchesTitle: "Remote branches",
PatchBuildingTitle: "Main panel (patch building)",
InformationTitle: "Information",
@@ -1251,6 +1257,8 @@ func EnglishTranslationSet() TranslationSet {
SearchKeybindings: "%s: Next match, %s: Previous match, %s: Exit search mode",
SearchPrefix: "Search: ",
FilterPrefix: "Filter: ",
+ WorktreesTitle: "Worktrees",
+ WorktreeTitle: "Worktree",
EnterWorktree: "Enter worktree",
DeleteWorktree: "Delete worktree",
DeleteWorktreeTitle: "Delete worktree",
@@ -1258,6 +1266,12 @@ func EnglishTranslationSet() TranslationSet {
ForceDeleteWorktreePrompt: "'{{.worktreeName}}' is not fully merged. Are you sure you want to delete it?",
CantDeleteCurrentWorktree: "You cannot delete the current worktree!",
CantDeleteMainWorktree: "You cannot delete the main worktree!",
+ NoWorktreesThisRepo: "No worktrees",
+ MissingWorktree: "(missing)",
+ MainWorktree: "(main)",
+ Name: "Name",
+ Branch: "Branch",
+ Path: "Path",
Actions: Actions{
// TODO: combine this with the original keybinding descriptions (those are all in lowercase atm)
CheckoutCommit: "Checkout commit",