summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index d8c5a12c72..7e0bd64ab7 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -2120,7 +2120,7 @@ check_overwrite(
// with UNIX it is possible to open a directory
if (mch_isdir(ffname))
{
- semsg(_(e_isadir2), ffname);
+ semsg(_(e_src_is_directory), ffname);
return FAIL;
}
#endif
@@ -2137,7 +2137,7 @@ check_overwrite(
else
#endif
{
- emsg(_(e_exists));
+ emsg(_(e_file_exists));
return FAIL;
}
}
@@ -3586,7 +3586,7 @@ check_secure(void)
if (secure)
{
secure = 2;
- emsg(_(e_curdir));
+ emsg(_(e_command_not_allowed_from_vimrc_in_current_dir_or_tag_search));
return TRUE;
}
#ifdef HAVE_SANDBOX
@@ -3729,7 +3729,7 @@ ex_substitute(exarg_T *eap)
++cmd;
if (vim_strchr((char_u *)"/?&", *cmd) == NULL)
{
- emsg(_(e_backslash));
+ emsg(_(e_backslash_should_be_followed_by));
return;
}
if (*cmd != '&')
@@ -3944,7 +3944,7 @@ ex_substitute(exarg_T *eap)
if (!subflags.do_count && !curbuf->b_p_ma)
{
// Substitution is not allowed in non-'modifiable' buffer
- emsg(_(e_modifiable));
+ emsg(_(e_cannot_make_changes_modifiable_is_off));
return;
}
@@ -4903,7 +4903,7 @@ ex_global(exarg_T *eap)
++cmd;
if (vim_strchr((char_u *)"/?&", *cmd) == NULL)
{
- emsg(_(e_backslash));
+ emsg(_(e_backslash_should_be_followed_by));
return;
}
if (*cmd == '&')