1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-11-06 09:29:26 +02:00

Make i18n-helpers a requirement (#461)

* Make i18n-helpers a requirement

* Skip mdbook-gettext for mdbook-xgettext

* Gettext finds PO file based on `book.language`

* Update workflow

No need to set `preprocessor.gettext.po-file`.

---------

Co-authored-by: Jooyung Han <jooyung@google.com>
This commit is contained in:
Jooyung Han
2023-02-28 13:05:09 +00:00
committed by GitHub
parent b65c30fb5f
commit 1821a3fd12
8 changed files with 45 additions and 31 deletions

View File

@@ -22,13 +22,17 @@ trigger when going through the code samples. We hope to improve on this via
## Building
The course is built using [mdBook](https://github.com/rust-lang/mdBook) and its
[Svgbob plugin](https://github.com/boozook/mdbook-svgbob). Install both tools
with
The course is built using a few tools:
- [mdBook](https://github.com/rust-lang/mdBook)
- [Svgbob plugin](https://github.com/boozook/mdbook-svgbob)
- [i18n-helpers](TRANSLATIONS.md#i18n-helpers)
Install these tools with
```shell
$ cargo install mdbook
$ cargo install mdbook-svgbob
$ cargo install --path i18n-helpers
```
Then run