diff options
author | glendsoza <gledsouza23@gmail.com> | 2022-01-22 16:55:00 +0530 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-01-26 09:04:12 +1100 |
commit | 257e222f8d28e8b678ae996f779dc4a4bb76a434 (patch) | |
tree | 4b6ca93b67ae5153e490764a2ad43b67d13eaa5e /pkg/i18n | |
parent | 874e230aefb8b7fce1fa99dbeaa9528166c1c788 (diff) |
ISSUE 1706: Ask confirmation before reverting a commit
Diffstat (limited to 'pkg/i18n')
-rw-r--r-- | pkg/i18n/chinese.go | 1 | ||||
-rw-r--r-- | pkg/i18n/dutch.go | 1 | ||||
-rw-r--r-- | pkg/i18n/english.go | 2 | ||||
-rw-r--r-- | pkg/i18n/polish.go | 1 |
4 files changed, 5 insertions, 0 deletions
diff --git a/pkg/i18n/chinese.go b/pkg/i18n/chinese.go index 585d77b38..4843dc149 100644 --- a/pkg/i18n/chinese.go +++ b/pkg/i18n/chinese.go @@ -438,6 +438,7 @@ func chineseTranslationSet() TranslationSet { LcCreatePullRequestOptions: "创建抓取请求选项", LcDefaultBranch: "默认分支", LcSelectBranch: "选择分支", + ConfirmRevertCommit: "您确定要撤消 {{.selectedCommit}} 吗?", Actions: Actions{ // TODO: combine this with the original keybinding descriptions (those are all in lowercase atm) CheckoutCommit: "检出提交", diff --git a/pkg/i18n/dutch.go b/pkg/i18n/dutch.go index 7e8b2dcec..3e9989a6a 100644 --- a/pkg/i18n/dutch.go +++ b/pkg/i18n/dutch.go @@ -362,5 +362,6 @@ func dutchTranslationSet() TranslationSet { LcViewStashFiles: "bekijk bestanden van stash entry", CreatePullRequestOptions: "Bekijk opties voor pull-aanvraag", LcCreatePullRequestOptions: "bekijk opties voor pull-aanvraag", + ConfirmRevertCommit: "Weet u zeker dat u {{.selectedCommit}} ongedaan wilt maken?", } } diff --git a/pkg/i18n/english.go b/pkg/i18n/english.go index 8899cc6fc..8b421de08 100644 --- a/pkg/i18n/english.go +++ b/pkg/i18n/english.go @@ -454,6 +454,7 @@ type TranslationSet struct { CantChangeContextSizeError string LcOpenCommitInBrowser string LcViewBisectOptions string + ConfirmRevertCommit string Actions Actions Bisect Bisect } @@ -1027,6 +1028,7 @@ func EnglishTranslationSet() TranslationSet { 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", + ConfirmRevertCommit: "Are you sure you want to revert {{.selectedCommit}}? ", Actions: Actions{ // TODO: combine this with the original keybinding descriptions (those are all in lowercase atm) CheckoutCommit: "Checkout commit", diff --git a/pkg/i18n/polish.go b/pkg/i18n/polish.go index f378fa08b..13313a165 100644 --- a/pkg/i18n/polish.go +++ b/pkg/i18n/polish.go @@ -229,5 +229,6 @@ func polishTranslationSet() TranslationSet { LcCopiedToClipboard: "skopiowany do schowka", CreatePullRequestOptions: "Utwórz opcje żądania ściągnięcia", LcCreatePullRequestOptions: "utwórz opcje żądania ściągnięcia", + ConfirmRevertCommit: "Czy na pewno chcesz obrócić {{.selectedCommit}}?", } } |