From 2da66f1f710523548ca0746d5f7ef945de6d8f6a Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sun, 1 Oct 2023 16:29:55 +0800 Subject: vim-patch:9.0.1967: xattr errors not translated (#25454) Problem: xattr errors not translated Solution: mark for translation, consistently capitalize first letter. closes: vim/vim#13236 https://github.com/vim/vim/commit/7ece036d72cf639b05d3936183220bec7179bf63 --- src/nvim/os/fs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/nvim/os/fs.c') 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 -- cgit