summaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index e24c09f4a..e22f14670 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -2702,7 +2702,7 @@ mch_FullName(
#endif
l = mch_chdir((char *)olddir);
if (l != 0)
- emsg(_(e_prev_dir));
+ emsg(_(e_cannot_go_back_to_previous_directory));
}
#ifdef HAVE_FCHDIR
if (fd >= 0)
@@ -5528,7 +5528,7 @@ mch_job_start(char **argv, job_T *job, jobopt_T *options, int is_terminal)
fd_in[0] = mch_open((char *)fname, O_RDONLY, 0);
if (fd_in[0] < 0)
{
- semsg(_(e_notopen), fname);
+ semsg(_(e_cant_open_file_str), fname);
goto failed;
}
}
@@ -5546,7 +5546,7 @@ mch_job_start(char **argv, job_T *job, jobopt_T *options, int is_terminal)
fd_out[1] = mch_open((char *)fname, O_WRONLY | O_CREAT | O_TRUNC, 0644);
if (fd_out[1] < 0)
{
- semsg(_(e_notopen), fname);
+ semsg(_(e_cant_open_file_str), fname);
goto failed;
}
}
@@ -5560,7 +5560,7 @@ mch_job_start(char **argv, job_T *job, jobopt_T *options, int is_terminal)
fd_err[1] = mch_open((char *)fname, O_WRONLY | O_CREAT | O_TRUNC, 0600);
if (fd_err[1] < 0)
{
- semsg(_(e_notopen), fname);
+ semsg(_(e_cant_open_file_str), fname);
goto failed;
}
}
@@ -6627,7 +6627,7 @@ mch_expand_wildcards(
*/
if ((tempname = vim_tempname('o', FALSE)) == NULL)
{
- emsg(_(e_notmp));
+ emsg(_(e_cant_get_temp_file_name));
return FAIL;
}
@@ -6888,7 +6888,7 @@ mch_expand_wildcards(
if (i != (int)len)
{
// unexpected read error
- semsg(_(e_notread), tempname);
+ semsg(_(e_cant_read_file_str), tempname);
vim_free(tempname);
vim_free(buffer);
return FAIL;
@@ -7594,7 +7594,7 @@ mch_libcall(
if (!success)
{
- semsg(_(e_libcall), funcname);
+ semsg(_(e_library_call_failed_for_str), funcname);
return FAIL;
}