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

7ece036d72
This commit is contained in:
zeertzjq 2023-10-01 16:29:55 +08:00 committed by GitHub
parent 248305cf37
commit 2da66f1f71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -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

View File

@ -1011,7 +1011,6 @@ func Test_write_with_xattr_support()
set backupcopy&
bw!
endfunc
" vim: shiftwidth=2 sts=2 expandtab