Repository navigation
3.2.0
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 defaulttrue. A module whose catalogues carry no plural entry overrides it and returnsfalse.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
falsethe 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.