This lists the most important changes between releases of mdbook-i18n-helpers.
- #208: Trim dependencies by @klensy
- #212: Advance POT-Creation-Date by 1 minute by @carreter
- #215: Fix granularity in sub-chapters by @carreter
- #203 : Fix removal of links by @dalance
- #107, #177: Support for translator comments by @dyoo
- #147: Performance optimization with caching
SyntaxSet
by @mgeisler - #143, #149, #162, #168, #179: Stability improvements to coverage reports by @kdarkhan
- #153, #157: Fix wrong codeblock indent count by @dalance
- #155:
fuzz
directory was made a part of the workspace by @kdarkhan - #156: Fix for duplicate sources in PO files by @zachcmadsen
- #193: Export
Gettext
preprocessor to enable the lib to be used in Rust compiler docs by @dalance - #195: Improve grouping behavior of inline HTML by @michael-kerscher
- #145: Add support for rounding line numbers by @mgeisler.
- #129: Fix nested codeblocks by @dalance.
- #121: Wrap source lines in
mdbook-i18n-normalize
by @mgeisler. - #128: Define fuzzer for
xgettext
binary by @kdarkhan.
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 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.
- #87: Set the POT-Creation-Date field in newly generated POT files.
- #75: Automatically ignore code blocks without string literals and line comments.
- #69: Add support for skipping the next translation group.
- #59: Resolve broken links using the original sources.
- #56: Handle normalization where old
msgid
disappears.
This is a breaking release. Please make sure to run
mdbook-i18n-normalize
on your existing PO files!
- #49: Link to other projects which use mdbook-i18n-helpers.
- #46: Add
mdbook-i18n-normalize
to convert existing PO files. - #27: Normalize soft breaks to space.
- #25: Implement fine-grained extraction of translatable text.
First release as a stand-alone crate.