From 68586ec49a3316db4d5685e8cbbb0e4b1b540d66 Mon Sep 17 00:00:00 2001 From: Kristijan Husak Date: Mon, 20 Apr 2020 10:42:24 +0200 Subject: Handle regex compilation errors and show them to the user. --- pkg/i18n/dutch.go | 3 +++ pkg/i18n/english.go | 3 +++ pkg/i18n/polish.go | 3 +++ 3 files changed, 9 insertions(+) (limited to 'pkg/i18n') diff --git a/pkg/i18n/dutch.go b/pkg/i18n/dutch.go index fbde75d69..f4ab0c768 100644 --- a/pkg/i18n/dutch.go +++ b/pkg/i18n/dutch.go @@ -763,6 +763,9 @@ func addDutch(i18nObject *i18n.Bundle) error { }, &i18n.Message{ ID: "IgnoreTrackedPrompt", Other: "Are you sure you want to ignore a tracked file?", + }, &i18n.Message{ + ID: "commitPrefixPatternError", + Other: "Error in commitPrefix pattern", }, ) } diff --git a/pkg/i18n/english.go b/pkg/i18n/english.go index 7a2f5c88a..fa5a3ba65 100644 --- a/pkg/i18n/english.go +++ b/pkg/i18n/english.go @@ -1137,6 +1137,9 @@ func addEnglish(i18nObject *i18n.Bundle) error { }, &i18n.Message{ ID: "copyBranchNameToClipboard", Other: "copy branch name to clipboard", + }, &i18n.Message{ + ID: "commitPrefixPatternError", + Other: "Error in commitPrefix pattern", }, ) } diff --git a/pkg/i18n/polish.go b/pkg/i18n/polish.go index 5e9db605a..e42d726e2 100644 --- a/pkg/i18n/polish.go +++ b/pkg/i18n/polish.go @@ -746,6 +746,9 @@ func addPolish(i18nObject *i18n.Bundle) error { }, &i18n.Message{ ID: "IgnoreTrackedPrompt", Other: "Are you sure you want to ignore a tracked file?", + }, &i18n.Message{ + ID: "commitPrefixPatternError", + Other: "Error in commitPrefix pattern", }, ) } -- cgit v1.2.3