Re: About dpkg translation, please consider i18n when choosing words
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Christian Perrier wrote:
> Quoting Martin Quinson (martin.quinson@loria.fr):
>
>
>>>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 [1] 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
- --add-comments.
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"));
Cheers
Luk
http://lists.debian.org/debian-i18n/2005/04/msg00198.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFCrxSX5UTeB5t8Mo0RAu3JAKDDv3PIdzZVHGalVMYUZYc/bzqxfwCfWfuh
8sWQsK6LuEtx3BMiM5ROyyg=
=wLEa
-----END PGP SIGNATURE-----
Reply to: