Re: About dpkg translation, please consider i18n when choosing words
-----BEGIN PGP SIGNED MESSAGE-----
Christian Perrier wrote:
> Quoting Martin Quinson (firstname.lastname@example.org):
>>>The pot file is generated by automake when I do "make dist", it isn't
>>>even in revision control. Any comments would be lost?
> First task : let's explain him how to insert i18n-targheted comments
> in source code. I must admit that I don't remember this myself. Luk
> mentioned this was recently explained in -i18n. Could someone just
> bring back this mail to this thread and, please, do not always count
> on me..:-)
See  for the link.
Note that all you need to do is put comments on the line(s) just before
the line where the keyword (_ or gettext) is used and use xgettext
Note that the following sample will include all comments (so any
whitespace between comments is ignored):
// This is also included as a comment.
// Comment 1
printf(_("This is a test\n"));
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
-----END PGP SIGNATURE-----