Mercurial > vim
changeset 33418:f79c9a5a1753 v9.0.1967
patch 9.0.1967: xattr errors not translated
Commit: https://github.com/vim/vim/commit/7ece036d72cf639b05d3936183220bec7179bf63
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sun Oct 1 09:07:14 2023 +0200
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 <cb@256bit.org>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 01 Oct 2023 09:15:05 +0200 |
parents | 9ac758015a17 |
children | 68fc658ae847 |
files | src/errors.h src/os_unix.c src/testdir/test_writefile.vim src/version.c |
diffstat | 4 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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");
--- 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