mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-19 22:33:16 +02:00
Added all the missing translations from dutch.go
This commit is contained in:
parent
f792f74f0f
commit
dd7e93ac8d
@ -1,6 +1,7 @@
|
|||||||
package gui
|
package gui
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"github.com/jesseduffield/lazygit/pkg/i18n"
|
||||||
|
|
||||||
// "io"
|
// "io"
|
||||||
// "io/ioutil"
|
// "io/ioutil"
|
||||||
@ -147,21 +148,21 @@ func (gui *Gui) handleIgnoreFile(g *gocui.Gui, v *gocui.View) error {
|
|||||||
|
|
||||||
func (gui *Gui) renderfilesOptions(g *gocui.Gui, file *commands.File) error {
|
func (gui *Gui) renderfilesOptions(g *gocui.Gui, file *commands.File) error {
|
||||||
optionsMap := map[string]string{
|
optionsMap := map[string]string{
|
||||||
"← → ↑ ↓": "navigate",
|
"← → ↑ ↓": lang.SLocalize("navigate", "navigate"),
|
||||||
"S": "stash files",
|
"S": lang.SLocalize("stashFiles", "stash files"),
|
||||||
"c": "commit changes",
|
"c": lang.SLocalize("CommitChanges", "commit changes"),
|
||||||
"o": "open",
|
"o": lang.SLocalize("open", "open"),
|
||||||
"i": "ignore",
|
"i": lang.SLocalize("ignore", "ignore"),
|
||||||
"d": "delete",
|
"d": lang.SLocalize("delete", "delete"),
|
||||||
"space": "toggle staged",
|
"space": lang.SLocalize("toggleStaged", "toggle staged"),
|
||||||
"R": "refresh",
|
"R": lang.SLocalize("refresh", "refresh"),
|
||||||
"t": "add patch",
|
"t": lang.SLocalize("addPatch", "add patch"),
|
||||||
"e": "edit",
|
"e": lang.SLocalize("edit", "edit"),
|
||||||
"PgUp/PgDn": "scroll",
|
"PgUp/PgDn": lang.SLocalize("scroll", "scroll"),
|
||||||
}
|
}
|
||||||
if gui.State.HasMergeConflicts {
|
if gui.State.HasMergeConflicts {
|
||||||
optionsMap["a"] = "abort merge"
|
optionsMap["a"] = lang.SLocalize("abortMerge", "abort merge")
|
||||||
optionsMap["m"] = "resolve merge conflicts"
|
optionsMap["m"] = lang.SLocalize("resolveMergeConflicts", "resolve merge conflicts")
|
||||||
}
|
}
|
||||||
if file == nil {
|
if file == nil {
|
||||||
return gui.renderOptionsMap(g, optionsMap)
|
return gui.renderOptionsMap(g, optionsMap)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user