<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Here’s the TLDR version:<br>
Pology doesn’t support ‘SPDX-FileCopyrightText’ headers, which
Lokalize uses. It would be nice if it did.</p>
<p>Long version:<br>
</p>
<p>For some time, Lokalize has been writing author contribution
information using ‘SPDX-FileCopyrightText’ comments in the PO
header, e.g.<br>
<br>
<font face="monospace"> # SPDX-FileCopyrightText: 2023, 2024
Nomen Nescio <a class="moz-txt-link-rfc2396E" href="mailto:nomen@example.com"><nomen@example.com></a></font><br>
<br>
instead of the old-style<br>
<br>
<font face="monospace"> # Nomen Nescio
<a class="moz-txt-link-rfc2396E" href="mailto:nomen@example.com"><nomen@example.com></a>, 2023, 2024.</font><br>
<br>
However, Pology currently doesn’t support this. That is, it treats
the ‘SPDX-FileCopyrightText’ line as a normal ‘comment’ field
instead of<br>
as an ‘author’ field.<br>
<br>
One result is that the ‘normalize-header’ sieve doesn’t normalize
the author information, i.e., it completeley ignores the
‘SPDX-FileCopyrightText’ lines.<br>
<br>
I discovered the problem by noticing that posummit had for some
time automatically been *removing* my author information (but not
that of others, using the old-style format) from files I have been
updating. I was really to blame, because I had set up to my
posummit scripts to automatically clear any ‘comment’ fields (but
not ‘title’ or ‘author’ fields), as they generally don’t contain
any useful information for *our* translations, only ‘noise’. This
was working well before, but not after Lokalize started writing
‘SPDX-FileCopyrightText’ headers and converting old-style author
information to the new format. (Note that it only does this for
the *current* translator, not for the others.)<br>
<br>
So this is a request for supporting the new
‘SPDX-FileCopyrightText’ format. This is what I think should
happen:</p>
<ol>
<li>‘SPDX-FileCopyrightText’ lines should be treated as ‘author’
fields instead of ‘comment’ fields.</li>
<li>The ‘normalize-header’ sieve should (by default or as an
option) output the author list using the new format.</li>
</ol>
<p><br>
</p>
<p></p>
<pre class="moz-signature" cols="72">--
Karl Ove Hufthammer</pre>
</body>
</html>