File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -379,7 +379,7 @@ func (self *CommitFilesController) openDiffTool(node *filetree.CommitFileNode) e
379379
380380func (self * CommitFilesController ) toggleForPatch (selectedNodes []* filetree.CommitFileNode ) error {
381381 if self .c .AppState .DiffContextSize == 0 {
382- return fmt .Errorf (self .c .Tr .Actions .NotEnoughContextToStage ,
382+ return fmt .Errorf (self .c .Tr .Actions .NotEnoughContextForCustomPatch ,
383383 keybindings .Label (self .c .UserConfig ().Keybinding .Universal .IncreaseContextInDiffView ))
384384 }
385385
@@ -475,7 +475,7 @@ func (self *CommitFilesController) enterCommitFile(node *filetree.CommitFileNode
475475 }
476476
477477 if self .c .AppState .DiffContextSize == 0 {
478- return fmt .Errorf (self .c .Tr .Actions .NotEnoughContextToStage ,
478+ return fmt .Errorf (self .c .Tr .Actions .NotEnoughContextForCustomPatch ,
479479 keybindings .Label (self .c .UserConfig ().Keybinding .Universal .IncreaseContextInDiffView ))
480480 }
481481
You can’t perform that action at this time.
0 commit comments