Mercurial > vim
comparison src/ex_docmd.c @ 26952:b34ddbca305c v8.2.4005
patch 8.2.4005: error messages are spread out
Commit: https://github.com/vim/vim/commit/a6f7929e62c19a6a2418a016b4c59b83eb1887ac
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 4 21:30:47 2022 +0000
patch 8.2.4005: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 04 Jan 2022 22:45:04 +0100 |
parents | 51ddf6740ac6 |
children | d92e0d85923f |
comparison
equal
deleted
inserted
replaced
26951:c3fbe78b6109 | 26952:b34ddbca305c |
---|---|
8271 int | 8271 int |
8272 vim_mkdir_emsg(char_u *name, int prot UNUSED) | 8272 vim_mkdir_emsg(char_u *name, int prot UNUSED) |
8273 { | 8273 { |
8274 if (vim_mkdir(name, prot) != 0) | 8274 if (vim_mkdir(name, prot) != 0) |
8275 { | 8275 { |
8276 semsg(_("E739: Cannot create directory: %s"), name); | 8276 semsg(_(e_cannot_create_directory_str), name); |
8277 return FAIL; | 8277 return FAIL; |
8278 } | 8278 } |
8279 return OK; | 8279 return OK; |
8280 } | 8280 } |
8281 #endif | 8281 #endif |