git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 559e7a0) | patch
Improve internationalization of messages involving type names
2016年3月28日 17:12:00 +0000 (14:12 -0300)
2016年3月28日 17:24:37 +0000 (14:24 -0300)
commit 59a2111b23f6ceec4c777d68e20c1027d3c57c6f
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.
src/backend/commands/conversioncmds.c diff | blob | blame | history
src/backend/commands/event_trigger.c diff | blob | blame | history
src/backend/commands/foreigncmds.c diff | blob | blame | history
src/backend/commands/operatorcmds.c diff | blob | blame | history
src/backend/commands/proclang.c diff | blob | blame | history
src/backend/commands/trigger.c diff | blob | blame | history
src/backend/commands/typecmds.c diff | blob | blame | history
src/backend/parser/parse_clause.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /