pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Guillaume Lelarge <guillaume@lelarge.info>
To: Alvaro Herrera <alvherre@commandprompt.com>
Cc: Susanne Ebrecht <susanne@2ndquadrant.com>
Cc: Pg Bugs <pgsql-bugs@postgresql.org>
Subject: Re: Syntax got translated
Date: Mon, 20 Feb 2012 21:22:30 +0100
Message-ID: <8fb0c1eb813b2718f15dc2c357f43768@localhost> (raw)
In-Reply-To: <1329757905-sup-8549@alvh.no-ip.org>
References: <4F40141A.2060109@2ndquadrant.com>
	<1329757905-sup-8549@alvh.no-ip.org>

On Mon, 20 Feb 2012 14:15:34 -0300, Alvaro Herrera
<alvherre@commandprompt.com> wrote:
> Excerpts from Susanne Ebrecht's message of sáb feb 18 18:11:54 -0300
2012:
> 
>> Output in German:
>> i      | integer | not null Vorgabewert nextval('t_i_seq'::regclass)
>> 
>> Output in French:
>> i       | integer | non NULL Par défaut, nextval('t_i_seq'::regclass)
>> 
>> Output in Spanish:
>> i       | integer | not null valor por omisión
>> nextval('t_i_seq'::regclass)
>> 
>> I think that the constraint keyword "DEFAULT" should not be translated
>> here.
>> In my eyes in all cases it should output:
>> 
>> i      | integer | not null default nextval('t_i_seq'::regclass)
> 
> I'm not clear on this.  I translated it because it seemed sensible, but
> I remember stopping for a minute to consider it.  Maybe if more people
> thinks it should not be translated, we could remove the translatability
> marker from DEFAULT and other stuff like NOT NULL.  I'mnot sure
> however.  Just removing the translations from the existing catalogs is
> not enough, because future versions will just put them back.
> 

I don't see why the modifiers shouldn't be translatable. It's not as if
they were intended to be copied and pasted in a query. They are here to
help the user understand the different modifiers in each column.

-1 to get rid of the translations.


-- 
Guillaume
 http://www.postgresql.fr
 http://dalibo.com



view thread (12+ messages)  latest in thread

Message-ID: <8fb0c1eb813b2718f15dc2c357f43768@localhost>
Permalink:  ../8fb0c1eb813b2718f15dc2c357f43768@localhost/
Also on:    postgresql.org/message-id/8fb0c1eb813b2718f15dc2c357f43768@localhost

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: guillaume@lelarge.info, alvherre@commandprompt.com, susanne@2ndquadrant.com
  Subject: Re: Syntax got translated
  In-Reply-To: <8fb0c1eb813b2718f15dc2c357f43768@localhost>
  References: <4F40141A.2060109@2ndquadrant.com> <1329757905-sup-8549@alvh.no-ip.org> <8fb0c1eb813b2718f15dc2c357f43768@localhost>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox