1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-15 01:34:26 +02:00

Added all english translations to a file and fixed some typos

This commit is contained in:
Mark Kopenga
2018-08-15 14:57:20 +02:00
parent 50b41bfccc
commit d00c46a712
4 changed files with 294 additions and 8 deletions

View File

@ -127,7 +127,7 @@ func (gui *Gui) handleBranchSelect(g *gocui.Gui, v *gocui.View) error {
branch := gui.getSelectedBranch(v)
diff, err := gui.GitCommand.GetBranchGraph(branch.Name)
if err != nil && strings.HasPrefix(diff, "fatal: ambiguous argument") {
diff = gui.Tr.SLocalize("NoTrackingThisRepo", "There is no tracking for this branch")
diff = gui.Tr.SLocalize("NoTrackingThisBranch", "There is no tracking for this branch")
}
gui.renderString(g, "main", diff)
}()