1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-23 00:39:13 +02:00

Moves log related translations into its own Tr.Log. namespace

This commit is contained in:
Karl Heitmann
2023-07-31 19:42:41 -04:00
parent 51e205ce11
commit b7ba06fa5b
5 changed files with 45 additions and 39 deletions

View File

@ -215,7 +215,7 @@ func (self *MergeConflictsController) HandleUndo() error {
}
self.c.LogAction("Restoring file to previous state")
self.c.LogCommand(self.c.Tr.Actions.LogHandleUndo, false)
self.c.LogCommand(self.c.Tr.Log.HandleUndo, false)
if err := os.WriteFile(state.GetPath(), []byte(state.GetContent()), 0o644); err != nil {
return err
}