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:
parent
00a6f76647
commit
c62127698e
@ -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
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user