From 6d5d054c30050bc66c9c3e8697982c6c801a2a62 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Tue, 5 Nov 2019 14:21:19 +1100 Subject: support line by line additions in staging and patch building contexts --- pkg/i18n/dutch.go | 5 ++++- pkg/i18n/english.go | 7 +++++-- pkg/i18n/polish.go | 5 ++++- 3 files changed, 13 insertions(+), 4 deletions(-) (limited to 'pkg/i18n') diff --git a/pkg/i18n/dutch.go b/pkg/i18n/dutch.go index a8b75cbe4..bd3f77a09 100644 --- a/pkg/i18n/dutch.go +++ b/pkg/i18n/dutch.go @@ -434,7 +434,7 @@ func addDutch(i18nObject *i18n.Bundle) error { ID: "StageLine", Other: `stage lijn`, }, &i18n.Message{ - ID: "EscapeStaging", + ID: "ReturnToFilesPanel", Other: `ga terug naar het bestanden paneel`, }, &i18n.Message{ ID: "CantFindHunks", @@ -754,6 +754,9 @@ func addDutch(i18nObject *i18n.Bundle) error { }, &i18n.Message{ ID: "jump", Other: "jump to panel", + }, &i18n.Message{ + ID: "ExitLineByLineMode", + Other: `exit line-by-line mode`, }, ) } diff --git a/pkg/i18n/english.go b/pkg/i18n/english.go index 5d5bb5cc4..8bebb245a 100644 --- a/pkg/i18n/english.go +++ b/pkg/i18n/english.go @@ -501,13 +501,13 @@ func addEnglish(i18nObject *i18n.Bundle) error { }, &i18n.Message{ ID: "TogglePanel", - Other: `toggle staged/unstaged panel focus`, + Other: `switch to other panel`, }, &i18n.Message{ ID: "CantStageStaged", Other: `You can't stage an already staged change!`, }, &i18n.Message{ - ID: "EscapeStaging", + ID: "ReturnToFilesPanel", Other: `return to files panel`, }, &i18n.Message{ ID: "CantFindHunks", @@ -815,6 +815,9 @@ func addEnglish(i18nObject *i18n.Bundle) error { }, &i18n.Message{ ID: "enterFile", Other: "enter file to add selected lines to the patch", + }, &i18n.Message{ + ID: "ExitLineByLineMode", + Other: `exit line-by-line mode`, }, ) } diff --git a/pkg/i18n/polish.go b/pkg/i18n/polish.go index 6c55a5d30..0c90d7c2c 100644 --- a/pkg/i18n/polish.go +++ b/pkg/i18n/polish.go @@ -420,7 +420,7 @@ func addPolish(i18nObject *i18n.Bundle) error { ID: "StageLine", Other: `zatwierdź linię`, }, &i18n.Message{ - ID: "EscapeStaging", + ID: "ReturnToFilesPanel", Other: `wróć do panelu plików`, }, &i18n.Message{ ID: "CantFindHunks", @@ -737,6 +737,9 @@ func addPolish(i18nObject *i18n.Bundle) error { }, &i18n.Message{ ID: "jump", Other: "jump to panel", + }, &i18n.Message{ + ID: "ExitLineByLineMode", + Other: `exit line-by-line mode`, }, ) } -- cgit v1.2.3