diff options
author | Francisco Miamoto <francisco@dorayaki.co> | 2021-09-12 08:48:07 -0300 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-12-26 17:08:31 +1100 |
commit | e7a005f44dc0ec82a1de51e8c955a22f08812f74 (patch) | |
tree | b54202d8a9e099c0531ebdf4283785be60f2fe42 | |
parent | 3e58797096af0fc56a473b9c651c75f84dbeeecd (diff) |
update translations to match conventions
-rw-r--r-- | pkg/gui/commits_panel.go | 4 | ||||
-rw-r--r-- | 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}}'?", |