From e7a005f44dc0ec82a1de51e8c955a22f08812f74 Mon Sep 17 00:00:00 2001 From: Francisco Miamoto Date: Sun, 12 Sep 2021 08:48:07 -0300 Subject: [PATCH] update translations to match conventions --- pkg/gui/commits_panel.go | 4 ++-- pkg/i18n/english.go | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pkg/gui/commits_panel.go b/pkg/gui/commits_panel.go index edda92f5d..b6f153ac4 100644 --- a/pkg/gui/commits_panel.go +++ b/pkg/gui/commits_panel.go @@ -590,12 +590,12 @@ func (gui *Gui) handleTagCommit() error { func (gui *Gui) createTagMenu(commitSha string) error { items := []*menuItem{ { - displayString: gui.Tr.LightweightTag, + displayString: gui.Tr.LcLightweightTag, onPress: func() error { return gui.handleCreateLightweightTag(commitSha) }}, { - displayString: gui.Tr.AnnotatedTag, + displayString: gui.Tr.LcAnnotatedTag, onPress: func() error { return gui.handleCreateAnnotatedTag(commitSha) }}, diff --git a/pkg/i18n/english.go b/pkg/i18n/english.go index 57d42f430..f08addff7 100644 --- a/pkg/i18n/english.go +++ b/pkg/i18n/english.go @@ -302,8 +302,8 @@ type TranslationSet struct { TagMenuTitle string TagNameTitle string TagMessageTitle string - LightweightTag string - AnnotatedTag string + LcLightweightTag string + LcAnnotatedTag string LcDeleteTag string DeleteTagTitle string DeleteTagPrompt string @@ -847,11 +847,11 @@ func englishTranslationSet() TranslationSet { SetUpstreamMessage: "Are you sure you want to set the upstream branch of '{{.checkedOut}}' to '{{.selected}}'", LcEditRemote: "edit remote", LcTagCommit: "tag commit", - TagMenuTitle: "create tag", + TagMenuTitle: "Create tag", TagNameTitle: "Tag name:", TagMessageTitle: "Tag message: ", - AnnotatedTag: "annotated tag", - LightweightTag: "lightweight tag", + LcAnnotatedTag: "annotated tag", + LcLightweightTag: "lightweight tag", LcDeleteTag: "delete tag", DeleteTagTitle: "Delete tag", DeleteTagPrompt: "Are you sure you want to delete tag '{{.tagName}}'?",