From: zeertzjq Date: Sun, 1 Oct 2023 07:07:14 +0000 (+0200) Subject: patch 9.0.1967: xattr errors not translated X-Git-Tag: v9.0.1967^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ece036d72cf639b05d3936183220bec7179bf63;p=thirdparty%2Fvim.git patch 9.0.1967: xattr errors not translated Problem: xattr errors not translated Solution: mark for translation, consistently capitalize first letter. closes: #13236 Signed-off-by: Christian Brabandt Co-authored-by: zeertzjq --- diff --git a/src/errors.h b/src/errors.h index 16b38cf99a..bb807e7d56 100644 --- a/src/errors.h +++ b/src/errors.h @@ -3557,9 +3557,9 @@ EXTERN char e_xattr_erange[] EXTERN char e_xattr_enotsup[] INIT(= N_("E1507: Extended attributes are not supported by the filesystem")); EXTERN char e_xattr_e2big[] - INIT(= N_("E1508: size of the extended attribute value is larger than the maximum size allowed")); + INIT(= N_("E1508: Size of the extended attribute value is larger than the maximum size allowed")); EXTERN char e_xattr_other[] - INIT(= N_("E1509: error occured when reading or writing extended attribute")); + INIT(= N_("E1509: Error occured when reading or writing extended attribute")); // E1509 - E1519 unused EXTERN char e_aptypes_is_null_nr_str[] INIT(= "E1520: Internal error: ap_types or ap_types[idx] is NULL: %d: %s"); diff --git a/src/os_unix.c b/src/os_unix.c index 5ec45c8ff0..9356db0b75 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -3186,7 +3186,7 @@ error_exit: vim_free(val); if (errmsg != NULL) - emsg((char *)errmsg); + emsg(_(errmsg)); } #endif diff --git a/src/testdir/test_writefile.vim b/src/testdir/test_writefile.vim index 3b0164e880..600c36d9b2 100644 --- a/src/testdir/test_writefile.vim +++ b/src/testdir/test_writefile.vim @@ -998,7 +998,6 @@ func Test_write_with_xattr_support() set backupcopy& bw! - endfunc " vim: shiftwidth=2 sts=2 expandtab diff --git a/src/version.c b/src/version.c index 2c3c9f1bf5..a46db2a853 100644 --- a/src/version.c +++ b/src/version.c @@ -704,6 +704,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1967, /**/ 1966, /**/