No embedded URLs in translatable strings
https://www.gnu.org/software/gettext/manual/gettext.html#Preparing-Strings
No embedded URLs
It is good to not embed URLs in translatable strings, for several reasons:
- It avoids possible mistakes during copy and paste.
- Translators cannot translate the URLs or, by mistake, use the URLs from other packages that are present in their compendium.
- When the URLs change, translators don’t need to revisit the translation of the string.
The same holds for email addresses.
So, you would change
fputs (_("GNU GPL version 3 <https://gnu.org/licenses/gpl.html>\n"),
stream);
to
fprintf (stream, _("GNU GPL version 3 <%s>\n"),
"https://gnu.org/licenses/gpl.html");