pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Improve internationalization of messages involving type names
Date: Mon, 28 Mar 2016 17:25:19 +0000
Message-ID: <E1akaul-0007ni-Rq@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Improve internationalization of messages involving type names

Change the slightly different variations of the message
  function FOO must return type BAR
to a single wording, removing the variability in type name so that they
all create a single translation entry; since the type name is not to be
translated, there's no point in it being part of the message anyway.

Also, change them all to use the same quoting convention, namely that
the function name is not to be quoted but the type name is.  (I'm not
quite sure why this is so, but it's the clear majority.)

Some similar messages such as "encoding conversion function FOO must ..."
are also changed.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/59a2111b23f6ceec4c777d68e20c1027d3c57c6f

Modified Files
--------------
src/backend/commands/conversioncmds.c |  4 ++--
src/backend/commands/event_trigger.c  |  4 ++--
src/backend/commands/foreigncmds.c    |  4 ++--
src/backend/commands/operatorcmds.c   |  8 ++++----
src/backend/commands/proclang.c       |  8 ++++----
src/backend/commands/trigger.c        |  4 ++--
src/backend/commands/typecmds.c       | 37 ++++++++++++++++++-----------------
src/backend/parser/parse_clause.c     |  4 ++--
8 files changed, 37 insertions(+), 36 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


view thread (7+ messages)  latest in thread

Message-ID: <E1akaul-0007ni-Rq@gemulon.postgresql.org>
Permalink:  ../E1akaul-0007ni-Rq@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1akaul-0007ni-Rq@gemulon.postgresql.org

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Improve internationalization of messages involving type names
  In-Reply-To: <E1akaul-0007ni-Rq@gemulon.postgresql.org>

* 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