From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Improve internationalization of messages involving type names |
Date: | 2016-03-28 17:25:19 |
Message-ID: | E1akaul-0007ni-Rq@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2016-03-28 17:29:02 | pgsql: Fix minor leak in pg_dump for ACCESS METHOD. |
Previous Message | Teodor Sigaev | 2016-03-28 16:33:23 | pgsql: psql tab-complete for CREATE/DROP ACCESS METHOD |
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2016-03-28 17:26:49 | Re: WIP: Access method extendability |
Previous Message | Amit Kapila | 2016-03-28 17:20:49 | Re: Speed up Clog Access by increasing CLOG buffers |