diff options
-rw-r--r-- | src/nvim/os/fs.c | 6 | ||||
-rw-r--r-- | test/old/testdir/test_writefile.vim | 1 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/nvim/os/fs.c b/src/nvim/os/fs.c index de7996e51b..476ede2046 100644 --- a/src/nvim/os/fs.c +++ b/src/nvim/os/fs.c @@ -66,9 +66,9 @@ static const char e_xattr_erange[] static const char e_xattr_enotsup[] = N_("E1507: Extended attributes are not supported by the filesystem"); static const char e_xattr_e2big[] - = N_("E1508: size of the extended attribute value is larger than the maximum size allowed"); + = N_("E1508: Size of the extended attribute value is larger than the maximum size allowed"); static const char e_xattr_other[] - = N_("E1509: error occured when reading or writing extended attribute"); + = N_("E1509: Error occured when reading or writing extended attribute"); #endif struct iovec; @@ -832,7 +832,7 @@ error_exit: xfree(val); if (errmsg != NULL) { - emsg(errmsg); + emsg(_(errmsg)); } } #endif diff --git a/test/old/testdir/test_writefile.vim b/test/old/testdir/test_writefile.vim index df993feb62..1e0556c92d 100644 --- a/test/old/testdir/test_writefile.vim +++ b/test/old/testdir/test_writefile.vim @@ -1011,7 +1011,6 @@ func Test_write_with_xattr_support() set backupcopy& bw! - endfunc " vim: shiftwidth=2 sts=2 expandtab |