Re: Rough draft: easier translation of psql help

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Rough draft: easier translation of psql help
Date: 2009-09-14 03:46:46
Message-ID: 20090914034646.GA17263@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut wrote:

> Instead of translating the whole string, that is (picking a shorter
> example)
>
> N_("ALTER TEXT SEARCH PARSER name RENAME TO newname")
>
> we really only want to translate the placeholders, so it could look like
> this:
>
> appendPQExpBuffer(buf,
> "ALTER TEXT SEARCH PARSER %s RENAME TO %s",
> _("name"),
> _("newname"));

+1000

Should create_help.pl be run on "make dist"?

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Itagaki Takahiro 2009-09-14 04:02:27 Re: logging hook for database audit
Previous Message Jeff Janes 2009-09-14 03:42:11 Re: XLogInsert