1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-05-17 22:32:58 +02:00

update translations to match conventions

This commit is contained in:
Francisco Miamoto 2021-09-12 08:48:07 -03:00 committed by Jesse Duffield
parent 3e58797096
commit e7a005f44d
2 changed files with 7 additions and 7 deletions

View File

@ -590,12 +590,12 @@ func (gui *Gui) handleTagCommit() error {
func (gui *Gui) createTagMenu(commitSha string) error { func (gui *Gui) createTagMenu(commitSha string) error {
items := []*menuItem{ items := []*menuItem{
{ {
displayString: gui.Tr.LightweightTag, displayString: gui.Tr.LcLightweightTag,
onPress: func() error { onPress: func() error {
return gui.handleCreateLightweightTag(commitSha) return gui.handleCreateLightweightTag(commitSha)
}}, }},
{ {
displayString: gui.Tr.AnnotatedTag, displayString: gui.Tr.LcAnnotatedTag,
onPress: func() error { onPress: func() error {
return gui.handleCreateAnnotatedTag(commitSha) return gui.handleCreateAnnotatedTag(commitSha)
}}, }},

View File

@ -302,8 +302,8 @@ type TranslationSet struct {
TagMenuTitle string TagMenuTitle string
TagNameTitle string TagNameTitle string
TagMessageTitle string TagMessageTitle string
LightweightTag string LcLightweightTag string
AnnotatedTag string LcAnnotatedTag string
LcDeleteTag string LcDeleteTag string
DeleteTagTitle string DeleteTagTitle string
DeleteTagPrompt 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}}'", SetUpstreamMessage: "Are you sure you want to set the upstream branch of '{{.checkedOut}}' to '{{.selected}}'",
LcEditRemote: "edit remote", LcEditRemote: "edit remote",
LcTagCommit: "tag commit", LcTagCommit: "tag commit",
TagMenuTitle: "create tag", TagMenuTitle: "Create tag",
TagNameTitle: "Tag name:", TagNameTitle: "Tag name:",
TagMessageTitle: "Tag message: ", TagMessageTitle: "Tag message: ",
AnnotatedTag: "annotated tag", LcAnnotatedTag: "annotated tag",
LightweightTag: "lightweight tag", LcLightweightTag: "lightweight tag",
LcDeleteTag: "delete tag", LcDeleteTag: "delete tag",
DeleteTagTitle: "Delete tag", DeleteTagTitle: "Delete tag",
DeleteTagPrompt: "Are you sure you want to delete tag '{{.tagName}}'?", DeleteTagPrompt: "Are you sure you want to delete tag '{{.tagName}}'?",