Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id A6033161CA36 for ; Mon, 20 Feb 2012 16:22:45 -0400 (AST) Received: from sd-17937.dedibox.fr ([88.191.100.74]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RzZkx-0002uQ-AE for pgsql-bugs@postgresql.org; Mon, 20 Feb 2012 20:22:44 +0000 Received: from mail.lelarge.info (localhost.localdomain [127.0.0.1]) by sd-17937.dedibox.fr (Postfix) with ESMTPA id 92D493B92D; Mon, 20 Feb 2012 21:22:30 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Date: Mon, 20 Feb 2012 21:22:30 +0100 From: Guillaume Lelarge To: Alvaro Herrera Cc: Susanne Ebrecht , Pg Bugs Subject: Re: Syntax got translated In-Reply-To: <1329757905-sup-8549@alvh.no-ip.org> References: <4F40141A.2060109@2ndquadrant.com> <1329757905-sup-8549@alvh.no-ip.org> Message-ID: <8fb0c1eb813b2718f15dc2c357f43768@localhost> X-Sender: guillaume@lelarge.info User-Agent: RoundCube Webmail/0.4-beta Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201202/149 X-Sequence-Number: 32492 On Mon, 20 Feb 2012 14:15:34 -0300, Alvaro Herrera wrote: > Excerpts from Susanne Ebrecht's message of s=C3=A1b feb 18 18:11:54 -03= 00 2012: >=20 >> Output in German: >> i | integer | not null Vorgabewert nextval('t_i_seq'::regclass) >>=20 >> Output in French: >> i | integer | non NULL Par d=C3=A9faut, nextval('t_i_seq'::regcl= ass) >>=20 >> Output in Spanish: >> i | integer | not null valor por omisi=C3=B3n >> nextval('t_i_seq'::regclass) >>=20 >> I think that the constraint keyword "DEFAULT" should not be translated >> here. >> In my eyes in all cases it should output: >>=20 >> i | integer | not null default nextval('t_i_seq'::regclass) >=20 > 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. >=20 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. --=20 Guillaume http://www.postgresql.fr http://dalibo.com