Re: [PATCH v2 02/23] archive-tar.c: mark more strings for translation
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 19, 2018, 18:21 UTC
- Message-ID
- <xmqqmuunf5ny.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <20180718161101.19765-3-pclouds@gmail.com>
Nguyễn Thái Ngọc Duy <pclouds@gmail.com> writes:
Show 7 quoted lines
> @@ -256,7 +256,7 @@ static int write_tar_entry(struct archiver_args *args,
> *header.typeflag = TYPEFLAG_REG;
> mode = (mode | ((mode & 0100) ? 0777 : 0666)) & ~tar_umask;
> } else {
> - return error("unsupported file mode: 0%o (SHA1: %s)",
> + return error(_("unsupported file mode: 0%o (SHA1: %s)"),
> mode, oid_to_hex(oid));This is no longer sha1_to_hex(); the "SHA1" in the message should probably have been updated when it happened.
Cleaning it up is outside the scope of this patch.
#leftoverbits