diff options
author | Stefan Haller <stefan@haller-berlin.de> | 2023-07-26 10:08:52 +0200 |
---|---|---|
committer | Stefan Haller <stefan@haller-berlin.de> | 2023-07-26 14:27:18 +0200 |
commit | 67a7293e79c278f45541bf46e7a1a1bed946ebf1 (patch) | |
tree | 879d5b815ea6987f72c99e9a1ea1cc6778f86023 /pkg/i18n | |
parent | decb055df9b56ca38a104b9483141d170b316774 (diff) |
Show error when trying to open patch menu with an empty patch
Diffstat (limited to 'pkg/i18n')
-rw-r--r-- | pkg/i18n/english.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/i18n/english.go b/pkg/i18n/english.go index 97522da54..735ac3cf4 100644 --- a/pkg/i18n/english.go +++ b/pkg/i18n/english.go @@ -323,6 +323,7 @@ type TranslationSet struct { ViewPatchOptions string PatchOptionsTitle string NoPatchError string + EmptyPatchError string EnterFile string ExitCustomPatchBuilder string EnterUpstream string @@ -1017,6 +1018,7 @@ func EnglishTranslationSet() TranslationSet { ViewPatchOptions: "View custom patch options", PatchOptionsTitle: "Patch options", NoPatchError: "No patch created yet. To start building a patch, use 'space' on a commit file or enter to add specific lines", + EmptyPatchError: "Patch is still empty. Add some files or lines to your patch first.", EnterFile: "Enter file to add selected lines to the patch (or toggle directory collapsed)", ExitCustomPatchBuilder: `Exit custom patch builder`, EnterUpstream: `Enter upstream as '<remote> <branchname>'`, |