summaryrefslogtreecommitdiffstats
path: root/pkg/i18n
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2019-02-18 19:42:23 +1100
committerJesse Duffield <jessedduffield@gmail.com>2019-02-18 19:42:23 +1100
commitadc252901944e84433cb8a50de9b114ba120282d (patch)
tree914cc8c0276f402ff1b0dfbcb3b89dfbab242936 /pkg/i18n
parent43ab7318d37e049cf3ae406fed8823c5c7f577a3 (diff)
dealing better with errors at the top level
Diffstat (limited to 'pkg/i18n')
-rw-r--r--pkg/i18n/dutch.go3
-rw-r--r--pkg/i18n/english.go3
-rw-r--r--pkg/i18n/polish.go3
3 files changed, 9 insertions, 0 deletions
diff --git a/pkg/i18n/dutch.go b/pkg/i18n/dutch.go
index 2c39cd435..851febcac 100644
--- a/pkg/i18n/dutch.go
+++ b/pkg/i18n/dutch.go
@@ -478,6 +478,9 @@ func addDutch(i18nObject *i18n.Bundle) error {
}, &i18n.Message{
ID: "FwdCommitsToPush",
Other: "Cannot fast-forward a branch with commits to push",
+ }, &i18n.Message{
+ ID: "ErrorOccurred",
+ Other: "An error occurred! Please create an issue at https://github.com/jesseduffield/lazygit/issues",
},
)
}
diff --git a/pkg/i18n/english.go b/pkg/i18n/english.go
index 788897c31..d7b509861 100644
--- a/pkg/i18n/english.go
+++ b/pkg/i18n/english.go
@@ -522,6 +522,9 @@ func addEnglish(i18nObject *i18n.Bundle) error {
}, &i18n.Message{
ID: "FwdCommitsToPush",
Other: "Cannot fast-forward a branch with commits to push",
+ }, &i18n.Message{
+ ID: "ErrorOccurred",
+ Other: "An error occurred! Please create an issue at https://github.com/jesseduffield/lazygit/issues",
},
)
}
diff --git a/pkg/i18n/polish.go b/pkg/i18n/polish.go
index c37fe3dd9..205ec9d6c 100644
--- a/pkg/i18n/polish.go
+++ b/pkg/i18n/polish.go
@@ -461,6 +461,9 @@ func addPolish(i18nObject *i18n.Bundle) error {
}, &i18n.Message{
ID: "FwdCommitsToPush",
Other: "Cannot fast-forward a branch with commits to push",
+ }, &i18n.Message{
+ ID: "ErrorOccurred",
+ Other: "An error occurred! Please create an issue at https://github.com/jesseduffield/lazygit/issues",
},
)
}