1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-06 03:53:59 +02:00

remove capitalization of keybindings descriptions

This commit is contained in:
Dawid Dziurla 2018-09-03 18:16:54 +02:00
parent c49e4dc287
commit 230a5afa4c
No known key found for this signature in database
GPG Key ID: 7B6D8368172E9B0B
6 changed files with 15 additions and 15 deletions

View File

@ -144,7 +144,7 @@ func (gui *Gui) handleRenameCommit(g *gocui.Gui, v *gocui.View) error {
if gui.getItemPosition(gui.getCommitsView(g)) != 0 { if gui.getItemPosition(gui.getCommitsView(g)) != 0 {
return gui.createErrorPanel(g, gui.Tr.SLocalize("OnlyRenameTopCommit")) return gui.createErrorPanel(g, gui.Tr.SLocalize("OnlyRenameTopCommit"))
} }
gui.createPromptPanel(g, v, gui.Tr.SLocalize("RenameCommit"), func(g *gocui.Gui, v *gocui.View) error { gui.createPromptPanel(g, v, gui.Tr.SLocalize("renameCommit"), func(g *gocui.Gui, v *gocui.View) error {
if err := gui.GitCommand.RenameCommit(v.Buffer()); err != nil { if err := gui.GitCommand.RenameCommit(v.Buffer()); err != nil {
return gui.createErrorPanel(g, err.Error()) return gui.createErrorPanel(g, err.Error())
} }

View File

@ -88,7 +88,7 @@ func (gui *Gui) GetKeybindings() []Binding {
Key: 'u', Key: 'u',
Modifier: gocui.ModNone, Modifier: gocui.ModNone,
Handler: gui.handleCheckForUpdate, Handler: gui.handleCheckForUpdate,
Description: gui.Tr.SLocalize("CheckForUpdate"), Description: gui.Tr.SLocalize("checkForUpdate"),
}, { }, {
ViewName: "files", ViewName: "files",
Key: 'c', Key: 'c',
@ -284,13 +284,13 @@ func (gui *Gui) GetKeybindings() []Binding {
Key: 'r', Key: 'r',
Modifier: gocui.ModNone, Modifier: gocui.ModNone,
Handler: gui.handleRenameCommit, Handler: gui.handleRenameCommit,
Description: gui.Tr.SLocalize("RenameCommit"), Description: gui.Tr.SLocalize("renameCommit"),
}, { }, {
ViewName: "commits", ViewName: "commits",
Key: 'R', Key: 'R',
Modifier: gocui.ModNone, Modifier: gocui.ModNone,
Handler: gui.handleRenameCommitEditor, Handler: gui.handleRenameCommitEditor,
Description: gui.Tr.SLocalize("RenameCommitEditor"), Description: gui.Tr.SLocalize("renameCommitEditor"),
}, { }, {
ViewName: "commits", ViewName: "commits",
Key: 'g', Key: 'g',

View File

@ -45,7 +45,7 @@ func (gui *Gui) renderStatusOptions(g *gocui.Gui) error {
return gui.renderOptionsMap(g, map[string]string{ return gui.renderOptionsMap(g, map[string]string{
"o": gui.Tr.SLocalize("OpenConfig"), "o": gui.Tr.SLocalize("OpenConfig"),
"e": gui.Tr.SLocalize("EditConfig"), "e": gui.Tr.SLocalize("EditConfig"),
"u": gui.Tr.SLocalize("CheckForUpdate"), "u": gui.Tr.SLocalize("checkForUpdate"),
"?": gui.Tr.SLocalize("help"), "?": gui.Tr.SLocalize("help"),
}) })
} }

View File

@ -224,8 +224,8 @@ func addDutch(i18nObject *i18n.Bundle) error {
ID: "OnlyRenameTopCommit", ID: "OnlyRenameTopCommit",
Other: "Je kan alleen de bovenste commit hernoemen", Other: "Je kan alleen de bovenste commit hernoemen",
}, &i18n.Message{ }, &i18n.Message{
ID: "RenameCommit", ID: "renameCommit",
Other: "Hernoem Commit", Other: "hernoem commit",
}, &i18n.Message{ }, &i18n.Message{
ID: "PotentialErrInGetselectedCommit", ID: "PotentialErrInGetselectedCommit",
Other: "Er is mogelijk een error in getSelected Commit (geen match tussen ui en state)", Other: "Er is mogelijk een error in getSelected Commit (geen match tussen ui en state)",

View File

@ -235,11 +235,11 @@ func addEnglish(i18nObject *i18n.Bundle) error {
ID: "OnlyRenameTopCommit", ID: "OnlyRenameTopCommit",
Other: "Can only rename topmost commit", Other: "Can only rename topmost commit",
}, &i18n.Message{ }, &i18n.Message{
ID: "RenameCommit", ID: "renameCommit",
Other: "Rename Commit", Other: "rename commit",
}, &i18n.Message{ }, &i18n.Message{
ID: "RenameCommitEditor", ID: "renameCommitEditor",
Other: "Rename Commit with editor", Other: "rename commit with editor",
}, &i18n.Message{ }, &i18n.Message{
ID: "PotentialErrInGetselectedCommit", ID: "PotentialErrInGetselectedCommit",
Other: "potential error in getSelected Commit (mismatched ui and state)", Other: "potential error in getSelected Commit (mismatched ui and state)",
@ -334,8 +334,8 @@ func addEnglish(i18nObject *i18n.Bundle) error {
ID: "ForcePushPrompt", ID: "ForcePushPrompt",
Other: "Your branch has diverged from the remote branch. Press 'esc' to cancel, or 'enter' to force push.", Other: "Your branch has diverged from the remote branch. Press 'esc' to cancel, or 'enter' to force push.",
}, &i18n.Message{ }, &i18n.Message{
ID: "CheckForUpdate", ID: "checkForUpdate",
Other: "Check for update", Other: "check for update",
}, &i18n.Message{ }, &i18n.Message{
ID: "CheckingForUpdates", ID: "CheckingForUpdates",
Other: "Checking for updates...", Other: "Checking for updates...",

View File

@ -216,8 +216,8 @@ func addPolish(i18nObject *i18n.Bundle) error {
ID: "OnlyRenameTopCommit", ID: "OnlyRenameTopCommit",
Other: "Można przmianować tylko najwyższy commit", Other: "Można przmianować tylko najwyższy commit",
}, &i18n.Message{ }, &i18n.Message{
ID: "RenameCommit", ID: "renameCommit",
Other: "Przemianuj commit", Other: "przemianuj commit",
}, &i18n.Message{ }, &i18n.Message{
ID: "PotentialErrInGetselectedCommit", ID: "PotentialErrInGetselectedCommit",
Other: "potencjalny błąd w getSelected Commit (niedopasowane ui i stan)", Other: "potencjalny błąd w getSelected Commit (niedopasowane ui i stan)",