ons 2002-12-11 klockan 16.07 skrev Denis Barbier: > On Wed, Dec 11, 2002 at 12:45:45AM +0100, Denis Barbier wrote: > [...] > > 3. May I set a _ macro in frontend.h in order to start i18n of > > frontends? As libdiscover already calls dcgettext, I would like to > > set it to > > #define _(x) dcgettext("cdebconf", (x), LC_MESSAGES) > [...] > > An alternative is to store msgids in debconf 'text' elements, there > is then no need for libc gettext. But discover already uses dcgettext, why not use the simple convenience of _("string to be translated")? Is there a reason why a .c or a shell script can't put in the same POTFILES.in as the templates file? We sure want all translatable strings to end up in the same .po file! /Martin
Attachment:
signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel