aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gustafsson <dgustafsson@postgresql.org>2022-12-02 13:49:54 +0100
committerDaniel Gustafsson <dgustafsson@postgresql.org>2022-12-02 13:49:54 +0100
commit66456da1505b8347a6d2ddd23b34e62e904c4908 (patch)
tree42a5d7dfa5ed8314a587f1071c6e9eaeccb201f0
parentc76da690ba141160d23cae715922932b7efa5b23 (diff)
downloadpostgresql-66456da1505b8347a6d2ddd23b34e62e904c4908.tar.gz
postgresql-66456da1505b8347a6d2ddd23b34e62e904c4908.zip
doc: Avoid writing in first-person form
This rewrites the few places where first-person form was used, and replaces with wording more in line with the rest of the documentation. While there, the section on editing PO files is split between what to edit with, and how to edit, as well as add a missing colon. Author: Daniel Gustafsson <daniel@yesql.se> Reported-by: wolakk@gmail.com Discussion: https://postgr.es/m/166692508416.630.9910522387468316027@wrigleys.postgresql.org
-rw-r--r--doc/src/sgml/cube.sgml8
-rw-r--r--doc/src/sgml/nls.sgml11
-rw-r--r--doc/src/sgml/pgcrypto.sgml4
3 files changed, 13 insertions, 10 deletions
diff --git a/doc/src/sgml/cube.sgml b/doc/src/sgml/cube.sgml
index adf8dbaa917..52506fc822b 100644
--- a/doc/src/sgml/cube.sgml
+++ b/doc/src/sgml/cube.sgml
@@ -537,7 +537,7 @@ SELECT c FROM test ORDER BY c ~&gt; 3 DESC LIMIT 5;
<title>Defaults</title>
<para>
- I believe this union:
+ This union:
</para>
<programlisting>
select cube_union('(0,5,2),(2,3,1)', '0');
@@ -548,7 +548,7 @@ cube_union
</programlisting>
<para>
- does not contradict common sense, neither does the intersection
+ does not contradict common sense, neither does the intersection:
</para>
<programlisting>
@@ -560,8 +560,8 @@ cube_inter
</programlisting>
<para>
- In all binary operations on differently-dimensioned cubes, I assume the
- lower-dimensional one to be a Cartesian projection, i. e., having zeroes
+ In all binary operations on differently-dimensioned cubes,
+ the lower-dimensional one is assumed to be a Cartesian projection, i. e., having zeroes
in place of coordinates omitted in the string representation. The above
examples are equivalent to:
</para>
diff --git a/doc/src/sgml/nls.sgml b/doc/src/sgml/nls.sgml
index 5a4387a03f0..827e867c673 100644
--- a/doc/src/sgml/nls.sgml
+++ b/doc/src/sgml/nls.sgml
@@ -205,14 +205,17 @@ make update-po
<para>
The PO files can be edited with a regular text editor. There are also
several specialized editors for PO files which can help the process with
- translation specific features. The
- translator should only change the area between the quotes after
- the msgstr directive, add comments, and alter the fuzzy flag.
- There is (unsurprisingly) a PO mode for Emacs, which I find quite
+ translation specific features.
+ There is (unsurprisingly) a PO mode for Emacs, which can be quite
useful.
</para>
<para>
+ The translator should only change the area between the quotes after
+ the msgstr directive, add comments, and alter the fuzzy flag.
+ </para>
+
+ <para>
The PO files need not be completely filled in. The software will
automatically fall back to the original string if no translation
(or an empty translation) is available. It is no problem to
diff --git a/doc/src/sgml/pgcrypto.sgml b/doc/src/sgml/pgcrypto.sgml
index 43fb8dbe666..5316472b963 100644
--- a/doc/src/sgml/pgcrypto.sgml
+++ b/doc/src/sgml/pgcrypto.sgml
@@ -415,8 +415,8 @@ gen_salt(type text [, iter_count integer ]) returns text
<listitem>
<para>
<literal>crypt-bf</literal> numbers are taken using a simple program that
- loops over 1000 8-character passwords. That way I can show the speed
- with different numbers of iterations. For reference: <literal>john
+ loops over 1000 8-character passwords. That way the speed
+ with different numbers of iterations can be shown. For reference: <literal>john
-test</literal> shows 13506 loops/sec for <literal>crypt-bf/5</literal>.
(The very small
difference in results is in accordance with the fact that the