pgsql: Improve internationalization of messages involving type names

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Improve internationalization of messages involving type names
Дата
Msg-id E1akaul-0007ni-Rq@gemulon.postgresql.org
обсуждение исходный текст
Ответы Re: pgsql: Improve internationalization of messages involving type names  (Stephen Frost <sfrost@snowman.net>)
Re: pgsql: Improve internationalization of messages involving type names  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Teodor Sigaev
Дата:
Сообщение: pgsql: psql tab-complete for CREATE/DROP ACCESS METHOD
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Fix minor leak in pg_dump for ACCESS METHOD.