WireKit v2.18.1
Patch release — localization and accuracy fixes. No new capability and no behavior change for an English application; every fix below either corrects output in a non-English locale or removes something that should never have shipped.
Fixed
- alert announced its variant in English whatever the page language was. The screen-reader prefix a reader speaks before every alert — "Notice", "Warning", "Error" — was a literal, so a German page announced "Notice: Alle Locales werden gemeinsam freigegeben". 2.18.0 made the catalog translatable and this component was missed. The five labels now route through the translator, with the matching keys in the published
en.json. - alert silently ignored a
roleyou passed it. The component emitted its ownrolebefore your attributes, and HTML keeps the first occurrence, so your value sat inert in the markup beside the one that won. A caller-suppliedrolenow takes precedence. - Numbers rendered with English separators in every locale. usage-meter grouped thousands as
1,234where German, Italian, Spanish and Portuguese want1.234and French wants a space; attachment rendered file sizes as2.4 MBinstead of2,4 MB; rating announced4.2. All three now format for the active application locale. Applications withoutext-intlkeep exactly the output they had — the extension is not a new requirement. - rating announced a hardcoded English sentence. A readonly rating told screen readers "4.2 out of 5 stars" and named its interactive group "Rating", in every language. Both are translatable now.
Documentation
- Structured data's site-identity builders were missing from the 2.18.0 notes.
Schema::webSite(…),Schema::organization(…)andSchema::softwareApplication(…)build the three nodes almost every marketing page needs,Schema::graph([…])combines them into a single@graph, andSchema::node(…)is the escape hatch for any schema.org type the builders do not model. They shipped in 2.18.0; only the announcement was missing. The structured-data page documents the full set.