Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf7e5ecb

Browse files
committed
Add "May/Can/Might" section to error message style guidlines, and
"can't" -> "cannot" section.
1 parent2576dd4 commitf7e5ecb

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

‎doc/src/sgml/sources.sgml

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/sources.sgml,v 2.25 2007/02/0120:28:08 tgl Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/sources.sgml,v 2.26 2007/02/0121:28:34 momjian Exp $ -->
22

33
<chapter id="source">
44
<title>PostgreSQL Coding Conventions</title>
@@ -605,6 +605,30 @@ BETTER: unrecognized node type: 42
605605
</para>
606606
</formalpara>
607607

608+
<formalpara>
609+
<title>May/Can/Might</title>
610+
<para>
611+
<quote>May</quote> suggests permission (e.g. "You may borrow my rake.")
612+
and has little use in documentation or error messages.
613+
<quote>Can</quote> suggests ability (e.g. "I can lift that log."),
614+
and <quote>might</quote> suggests possibility (e.g. "It might rain
615+
today.").
616+
</para>
617+
618+
<para>
619+
Rationale: Using the proper word clarifies meaning and assists
620+
translation.
621+
</para>
622+
</formalpara>
623+
624+
<formalpara>
625+
<title>Contractions</title>
626+
<para>
627+
Avoid contractions, like <quote>can't</quote>; use
628+
<quote>cannot</quote> instead.
629+
</para>
630+
</formalpara>
631+
608632
</simplesect>
609633

610634
<simplesect>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp