From 4f7f6a073ced1b31be6bbac119d1f0f4de229578 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Mon, 11 Mar 2019 13:04:08 +1100 Subject: allow user to discard old file changes for a given commit --- pkg/i18n/dutch.go | 9 +++++++++ pkg/i18n/english.go | 9 +++++++++ pkg/i18n/polish.go | 9 +++++++++ 3 files changed, 27 insertions(+) (limited to 'pkg/i18n') diff --git a/pkg/i18n/dutch.go b/pkg/i18n/dutch.go index 4d2ee4236..13eb1ee0c 100644 --- a/pkg/i18n/dutch.go +++ b/pkg/i18n/dutch.go @@ -658,6 +658,15 @@ func addDutch(i18nObject *i18n.Bundle) error { }, &i18n.Message{ ID: "checkoutCommitFile", Other: "checkout file", + }, &i18n.Message{ + ID: "discardOldFileChange", + Other: "discard this commit's changes to this file", + }, &i18n.Message{ + ID: "DiscardFileChangesTitle", + Other: "Discard file changes", + }, &i18n.Message{ + ID: "DiscardFileChangesPrompt", + Other: "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", }, ) } diff --git a/pkg/i18n/english.go b/pkg/i18n/english.go index c9eda4ce6..925b9db38 100644 --- a/pkg/i18n/english.go +++ b/pkg/i18n/english.go @@ -681,6 +681,15 @@ func addEnglish(i18nObject *i18n.Bundle) error { }, &i18n.Message{ ID: "checkoutCommitFile", Other: "checkout file", + }, &i18n.Message{ + ID: "discardOldFileChange", + Other: "discard this commit's changes to this file", + }, &i18n.Message{ + ID: "DiscardFileChangesTitle", + Other: "Discard file changes", + }, &i18n.Message{ + ID: "DiscardFileChangesPrompt", + Other: "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", }, ) } diff --git a/pkg/i18n/polish.go b/pkg/i18n/polish.go index 30462a7c3..37791d9e5 100644 --- a/pkg/i18n/polish.go +++ b/pkg/i18n/polish.go @@ -641,6 +641,15 @@ func addPolish(i18nObject *i18n.Bundle) error { }, &i18n.Message{ ID: "checkoutCommitFile", Other: "checkout file", + }, &i18n.Message{ + ID: "discardOldFileChange", + Other: "discard this commit's changes to this file", + }, &i18n.Message{ + ID: "DiscardFileChangesTitle", + Other: "Discard file changes", + }, &i18n.Message{ + ID: "DiscardFileChangesPrompt", + Other: "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", }, ) } -- cgit v1.2.3