summaryrefslogtreecommitdiffstats
path: root/src/fold.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-02 19:25:26 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-02 19:25:26 +0000
commitac78dd4a352196ca4e6640f8e4caaf126afd49e3 (patch)
treec741cbf5a8f33503e42af2294afdbd4bf15b0ae9 /src/fold.c
parent3d0da09bb2d31afc611bf1c4b35796739d87ed63 (diff)
patch 8.2.3985: error messages are spread outv8.2.3985
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
Diffstat (limited to 'src/fold.c')
-rw-r--r--src/fold.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fold.c b/src/fold.c
index 7d993f70fd..f8331be460 100644
--- a/src/fold.c
+++ b/src/fold.c
@@ -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;
}