summaryrefslogtreecommitdiffstats
path: root/pkg/i18n
diff options
context:
space:
mode:
authorLuka Markušić <luka.markusic@microblink.com>2022-05-08 16:01:30 +0200
committerLuka Markušić <luka.markusic@microblink.com>2022-05-17 07:28:52 +0200
commit1de5ca3511b677bdeb3f7ac066dcfeb5b693ae6f (patch)
tree37691ab5686928501182249e90b3e2a803c60abd /pkg/i18n
parentf7c44f2407243418a0c4bb8380ede097694644c3 (diff)
Don't panic when there are no valid git repos
Diffstat (limited to 'pkg/i18n')
-rw-r--r--pkg/i18n/english.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/i18n/english.go b/pkg/i18n/english.go
index 3dd9822e5..851cb3a99 100644
--- a/pkg/i18n/english.go
+++ b/pkg/i18n/english.go
@@ -255,6 +255,7 @@ type TranslationSet struct {
DiscardFileChangesPrompt string
DisabledForGPG string
CreateRepo string
+ NoRecentRepositories string
AutoStashTitle string
AutoStashPrompt string
StashPrefix string
@@ -873,6 +874,7 @@ func EnglishTranslationSet() TranslationSet {
DiscardFileChangesPrompt: "Are you sure you want to discard this commit's changes to this file? If this file was created in this commit, it will be deleted",
DisabledForGPG: "Feature not available for users using GPG",
CreateRepo: "Not in a git repository. Create a new git repository? (y/n): ",
+ NoRecentRepositories: "Must open lazygit in a git repository. No valid recent repositories. Exiting.",
AutoStashTitle: "Autostash?",
AutoStashPrompt: "You must stash and pop your changes to bring them across. Do this automatically? (enter/esc)",
StashPrefix: "Auto-stashing changes for ",