diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2022-01-05 12:01:59 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-01-07 10:52:51 +1100 |
commit | 91fe68576cde3e4582373b255c5eb97cd3065c71 (patch) | |
tree | dce5212c30f0a1b01cc96e7ee10307c80578e7f4 /pkg/i18n/english.go | |
parent | bbb5eee23a62162d2695a27f923e1a543852742a (diff) |
refactor
Diffstat (limited to 'pkg/i18n/english.go')
-rw-r--r-- | pkg/i18n/english.go | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/pkg/i18n/english.go b/pkg/i18n/english.go index d3ed9af15..da87f0d10 100644 --- a/pkg/i18n/english.go +++ b/pkg/i18n/english.go @@ -438,7 +438,6 @@ type TranslationSet struct { LcDefaultBranch string LcSelectBranch string CreatePullRequest string - CreatingPullRequestAtUrl string OpeningCommitInBrowser string SelectConfigFile string NoConfigFileFoundErr string @@ -456,10 +455,10 @@ type TranslationSet struct { SortCommits string CantChangeContextSizeError string LcOpenCommitInBrowser string - Spans Spans + Actions Actions } -type Spans struct { +type Actions struct { CheckoutCommit string CheckoutReflogCommit string CheckoutTag string @@ -540,6 +539,8 @@ type Spans struct { HardReset string Undo string Redo string + CopyPullRequestURL string + OpenMergeTool string } const englishIntroPopupMessage = ` @@ -989,7 +990,6 @@ func EnglishTranslationSet() TranslationSet { LcCreatePullRequestOptions: "create pull request options", LcDefaultBranch: "default branch", LcSelectBranch: "select branch", - CreatingPullRequestAtUrl: "Creating pull request at URL: %s", OpeningCommitInBrowser: "Opening commit in browser at URL: %s", SelectConfigFile: "Select config file", NoConfigFileFoundErr: "No config file found", @@ -1007,7 +1007,7 @@ func EnglishTranslationSet() TranslationSet { SortCommits: "commit sort order", CantChangeContextSizeError: "Cannot change context while in patch building mode because we were too lazy to support it when releasing the feature. If you really want it, please let us know!", LcOpenCommitInBrowser: "open commit in browser", - Spans: Spans{ + Actions: Actions{ // TODO: combine this with the original keybinding descriptions (those are all in lowercase atm) CheckoutCommit: "Checkout commit", CheckoutReflogCommit: "Checkout reflog commit", @@ -1089,6 +1089,8 @@ func EnglishTranslationSet() TranslationSet { FastForwardBranch: "Fast forward branch", Undo: "Undo", Redo: "Redo", + CopyPullRequestURL: "Copy pull request URL", + OpenMergeTool: "Open merge tool", }, } } |