Re: [PATCH v2 2/2] docs/zh_CN: Add staging/xz Chinese translation

From: Jonathan Corbet
Date: Thu Oct 20 2022 - 10:05:13 EST


Rui Li <me@xxxxxxxxx> writes:

> Thanks for your reminding. I ran the check patch script before sending
> this patch. However, the original file Documentation/staging/xz.rst
> seems not has SPDX-License-Identifier header.

You cannot know what the license of the source file is, since it hasn't
been declared there. What you *do* know, though, is that it must be
GPLv2 compatible. Your translation can thus be strictly GPLv2. My
suggestion in such cases would be to put:

.. SPDX-License-Identifier: GPL-2.0

into translations of documents that lack an SPDX line of their own.

Thanks,

jon