Next: , Previous: , Up: Preparing Translatable Strings   [Contents][Index]


4.3.5 No embedded URLs

It is good to not embed URLs in translatable strings, for several reasons:

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");