Skip to content

v0.12.1

Choose a tag to compare

@github-actions github-actions released this 07 Jul 19:03

Changes

Fix POT templates copied from PO sources

When gettext extraction runs on a .po file used as a source catalog (for example grub-theme from po/en_US.po), xgettext copies msgstr values into the generated .pot file. A POT template must keep empty msgstr for non-header entries.

  • Clear non-header msgstr after RunXgettext writes the POT file.
  • Keep doExtract normalization as a second safety pass.
  • Add ClearTranslationsForPOT on the PO file model.
  • Add regression tests for PO-source extraction and POT clearing.