1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2024-11-28 18:11:07 +02:00

Tell translators to remove line numbers from PO files (#1753)

A `granularity` setting of `0` will remove the line numbers from the PO
files. This reduces the churn as we update the English source texts.
This commit is contained in:
Martin Geisler 2024-01-25 09:46:24 +01:00 committed by GitHub
parent 00a6f76647
commit c62127698e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -53,7 +53,7 @@ To extract the original English text and generate a `messages.pot` file, you run
`mdbook` with a special renderer:
```shell
MDBOOK_OUTPUT='{"xgettext": {"pot-file": "messages.pot"}}' \
MDBOOK_OUTPUT='{"xgettext": {"pot-file": "messages.pot", "granularity": 0}}' \
mdbook build -d po
```