Re: [COMMITTERS] pgsql: Fix some translator comments so that xgettext finds them and

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [COMMITTERS] pgsql: Fix some translator comments so that xgettext finds them and
Date: 2006-11-28 21:46:21
Message-ID: 200611282246.22213.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Bruce Momjian wrote:
> I looked at the first URL diff. How is the pgindent output poor?

xgettext extracts comments if the first token of the comment is the tag
we choose ("translator"). But if the comment is formatted like

/*
* translator: first %s is name of a SQL
* construct, eg ORDER BY
*/

then the first token of the comment is actually the second "*", so
xgettext doesn't take it.

So we'd need a way for those comments to not be formatted that way.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2006-11-28 21:51:25 Re: [COMMITTERS] pgsql: Fix some translator comments so that
Previous Message Bruce Momjian 2006-11-28 21:35:00 Re: [COMMITTERS] pgsql: Fix some translator comments so that

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Grittner 2006-11-28 21:48:08 Re: Double entries in log for page slots in beta3
Previous Message Ron Mayer 2006-11-28 21:37:18 Re: Double entries in log for page slots in beta3