I tried running mdbook-xgettext on the Rust Book. After removing formatting from the SUMMARY.md file, I end up with a messages.pot file which is almost correct:
% msgcat -o po/messages.pot po/messages.pot
po/messages.pot:1660: duplicate message definition...
po/messages.pot:3: ...this is the location of the first definition
msgcat: found 1 fatal error
I tried running
mdbook-xgettext
on the Rust Book. After removing formatting from the SUMMARY.md file, I end up with amessages.pot
file which is almost correct:The problem is this entry:
which in turn originates from a non-empty HTML tag:
The empty
msgid
is also produced by empty HTML tags:We should handle such entries correctly. This would mean
span
above?