From: Bruce Momjian Date: Thu, 1 Feb 2007 21:28:34 +0000 (+0000) Subject: Add "May/Can/Might" section to error message style guidlines, and X-Git-Tag: REL8_3_BETA1~1346 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=f7e5ecb02645f8c7627e5837e9828a388626b74e;p=postgresql.git Add "May/Can/Might" section to error message style guidlines, and "can't" -> "cannot" section. --- diff --git a/doc/src/sgml/sources.sgml b/doc/src/sgml/sources.sgml index c9cbd68d42f..a3c989b6fb6 100644 --- a/doc/src/sgml/sources.sgml +++ b/doc/src/sgml/sources.sgml @@ -1,4 +1,4 @@ - + PostgreSQL Coding Conventions @@ -605,6 +605,30 @@ BETTER: unrecognized node type: 42 + + May/Can/Might + + May suggests permission (e.g. "You may borrow my rake.") + and has little use in documentation or error messages. + Can suggests ability (e.g. "I can lift that log."), + and might suggests possibility (e.g. "It might rain + today."). + + + + Rationale: Using the proper word clarifies meaning and assists + translation. + + + + + Contractions + + Avoid contractions, like can't; use + cannot instead. + + +