Syntax got translated

From: Susanne Ebrecht <susanne(at)2ndquadrant(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Syntax got translated
Date: 2012-02-18 21:11:54
Message-ID: 4F40141A.2060109@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hello,

I tested 9.1.2 and I used --enable-nls in ./configure.

I used psql.

I tested German, French and Spanish - I guess it is in all translated
languages.

The test is very easy:

CREATE TABLE t(i serial);

\d t

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)

Susanne

--
Dipl. Inf. Susanne Ebrecht - 2ndQuadrant
PostgreSQL Development, 24x7 Support, Training and Services
www.2ndQuadrant.com

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Susanne Ebrecht 2012-02-18 21:30:29 Re: Syntax got translated
Previous Message Tom Lane 2012-02-18 18:49:47 Re: BUG #6465: postgresql-pltcl refuses to compile with 9.1, and FreeBSD does support threaded python