diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2022-01-19 18:32:27 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-01-22 10:48:51 +1100 |
commit | 4ab5e5413944a92699a9540148666f0de26aa44b (patch) | |
tree | 58a4b648b5a4e5a6ed5f01b4e40ae5ba3c3ebad7 /pkg/i18n/english.go | |
parent | ab84410b4155bcee73ead0e2a7510924575b1323 (diff) |
add support for git bisect
Diffstat (limited to 'pkg/i18n/english.go')
-rw-r--r-- | pkg/i18n/english.go | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pkg/i18n/english.go b/pkg/i18n/english.go index b815b6b70..8899cc6fc 100644 --- a/pkg/i18n/english.go +++ b/pkg/i18n/english.go @@ -453,7 +453,24 @@ type TranslationSet struct { SortCommits string CantChangeContextSizeError string LcOpenCommitInBrowser string + LcViewBisectOptions string Actions Actions + Bisect Bisect +} + +type Bisect struct { + MarkStart string + MarkSkipCurrent string + MarkSkipSelected string + ResetTitle string + ResetPrompt string + ResetOption string + BisectMenuTitle string + Mark string + Skip string + CompleteTitle string + CompletePrompt string + CompletePromptIndeterminate string } type Actions struct { @@ -541,6 +558,10 @@ type Actions struct { OpenMergeTool string OpenCommitInBrowser string OpenPullRequest string + StartBisect string + ResetBisect string + BisectSkip string + BisectMark string } const englishIntroPopupMessage = ` @@ -1005,6 +1026,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", + LcViewBisectOptions: "view bisect options", Actions: Actions{ // TODO: combine this with the original keybinding descriptions (those are all in lowercase atm) CheckoutCommit: "Checkout commit", @@ -1091,6 +1113,22 @@ func EnglishTranslationSet() TranslationSet { OpenMergeTool: "Open merge tool", OpenCommitInBrowser: "Open commit in browser", OpenPullRequest: "Open pull request in browser", + StartBisect: "Start bisect", + ResetBisect: "Reset bisect", + BisectSkip: "Bisect skip", + BisectMark: "Bisect mark", + }, + Bisect: Bisect{ + Mark: "mark %s as %s", + MarkStart: "mark %s as %s (start bisect)", + Skip: "skip %s", + ResetTitle: "Reset 'git bisect'", + ResetPrompt: "Are you sure you want to reset 'git bisect'?", + ResetOption: "reset bisect", + BisectMenuTitle: "Bisect", + CompleteTitle: "Bisect complete", + CompletePrompt: "Bisect complete! The following commit introduced the change:\n\n%s\n\nDo you want to reset 'git bisect' now?", + CompletePromptIndeterminate: "Bisect complete! Some commits were skipped, so any of the following commits may have introduced the change:\n\n%s\n\nDo you want to reset 'git bisect' now?", }, } } |