Skip to content

Release v0.38.0

Choose a tag to compare

@github-actions github-actions released this 15 Aug 21:00
7fd6eea

Half of the tool believed in groups. A catalog written as nested groups is a shape Verbaly has said yes to since 0.31.0: check, status, doctor and render all read it the way t() does. The half that writes never learned, so it read the group names as messages. extract grew a flat twin of every message, --prune deleted the groups it did not recognize, export handed the translator [object Object], and translate reported nothing to do on a catalog status had just called half translated. No API is removed and a flat catalog behaves exactly as before.

Highlights

  • A catalog written as nested groups is now safe end to end. Every command reads and writes it the same way, and the file keeps the shape you gave it instead of being flattened behind your back.
  • verbaly extract --prune no longer deletes translations it did not recognize. On a grouped catalog it used to drop whole groups, which took every translation in them with it.
  • Your translator files stop containing [object Object], and verbaly translate no longer says there is nothing to do while verbaly status says half the app is untranslated.
  • A new language file now matches the shape of the others, so a project never ends up with half its catalogs grouped and half flat.
  • The tool counts in real English. It used to announce "1 messages", "1 locales" and "1 pages" in seven places.
  • Repeated warnings say themselves once. A key collision was announced three times in a single verbaly extract, once of them after the summary had already printed.

For the full details of this release, see the repository changelog.