0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

patch 8.2.3985: error messages are spread out

Problem:    Error messages are spread out.
Solution:   Move more error messages to errors.h.
This commit is contained in:
Bram Moolenaar
2022-01-02 19:25:26 +00:00
parent 3d0da09bb2
commit ac78dd4a35
23 changed files with 285 additions and 104 deletions

View File

@@ -563,9 +563,9 @@ foldManualAllowed(int create)
if (foldmethodIsManual(curwin) || foldmethodIsMarker(curwin))
return TRUE;
if (create)
emsg(_("E350: Cannot create fold with current 'foldmethod'"));
emsg(_(e_cannot_create_fold_with_current_foldmethod));
else
emsg(_("E351: Cannot delete fold with current 'foldmethod'"));
emsg(_(e_cannot_delete_fold_with_current_foldmethod));
return FALSE;
}