Skip to content

3.2.0

Choose a tag to compare

@magicsunday magicsunday released this 06 Oct 11:58
· 8 commits to main since this release
3.2.0
eb3b2af

3.2.0 lets modules without plural strings use the shared catalogue structure test case. Existing code keeps working.

New

  • AbstractCatalogueStructureTestCase::shipsPluralEntries() is an overridable declaration with the default true. A module whose catalogues carry no plural entry overrides it and returns false.

    The case demands at least one plural entry by default, so an empty scan cannot hide a reader that stops recognising plural keys. A module without any plural string failed two checks in every locale because of that, although nothing was wrong. With the declaration set to false the same two checks demand the absence of plural entries instead. A plural entry added later fails until the override is removed.

Notes for consumers

  • Subclasses that do not override anything behave exactly as before.
  • Subclasses of modules that ship plural entries should leave the declaration alone, the default keeps the anchor against a silently broken reader.