Re: A Japanese-unfriendy error message contruction
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Cc: pgsql-hackers@postgresql.org
Date: 2018-05-24T18:20:21Z
Lists: pgsql-hackers
Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp> writes: > Hello. Here is the patch set. Thanks! I pushed all this plus fixes for the OCLASS_PUBLICATION_REL code. The only non-cosmetic change I made was that I didn't much like what you'd done with the OCLASS_DEFACL code: it seemed quite confusing to be renaming buffers like that, plus it was still assuming more than I thought it should about how the message would go together in the end. I took the advice of the manual instead, and just made pairs of near-duplicate messages to be translated separately. I'm still not sure whether the OCLASS_DEFAULT case is satisfactorily translatable. It would not take a lot more code to expand its message to "default value for column %s of %s", where the second %s is the result of getRelationDescription. However, I have no idea whether there are any translations where that would really work noticeably better. regards, tom lane
Commits
-
Improve English wording of some other getObjectDescription() messages.
- b86b7bfa3e8b 11.0 landed
-
Improve translatability of some getObjectDescription() messages.
- 7c89eb750d0c 11.0 landed
-
Fix objectaddress.c code for publication relations.
- e8cb8fdfd3a2 10.5 landed
- 1a31baf61ed8 11.0 landed
-
Properly schema-qualify additional object types in getObjectDescription().
- cbb37b2e1fbe 9.3.24 landed
- eb1aa1b46bd9 10.5 landed
- ad73c07b4457 9.5.14 landed
- 8f2143bc8fe9 9.4.19 landed
- 3d3165210dcc 9.6.10 landed
- 056f52d9c3ee 11.0 landed