Skip to content

Commit

Permalink
Tell translators to remove line numbers from PO files (#1753)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mgeisler authored Jan 25, 2024
1 parent 00a6f76 commit c621276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TRANSLATIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down

0 comments on commit c621276

Please sign in to comment.