mdbook-i18n-helpers 0.3.0
mgeisler
released this
09 Nov 14:01
·
150 commits
to main
since this release
What's Changed
This release changes how code blocks are treated: we now only extract literal strings and comments. Other parts of the code block is ignored. This vastly improves the experience when translating books with many code samples. We will add more controls (#76) for this in the future.
This is a breaking change: if you translate strings and comments in your code blocks, then you should run
mdbook-i18n-normalize
to migrate them automatically!
- #111: Skip extracting whitespace-only messages.
- #109: Extract only string literals and comments from code blocks.
- #100: Allow formatting in the
SUMMARY.md
file. - #93: Wrap the source lines like
msgmerge
does.
Full Changelog: 0.2.4...mdbook-i18n-helpers-0.3.0