ITCP-790: print locality code in address-plain template
Since drupal/address 2.0.5 (#3497225) AddressPlainFormatter passes locality as a code/name array, like administrative_area. In 2.0.5 the values were still wrapped in #plain_text render arrays (#3564725), but 2.0.6 reverted that, so with 2.0.6 the theme's {{ locality }} makes the renderer throw:
InvalidArgumentException: "code" is an invalid render array key. Value should be an array but got a string.Any page that renders a branch address with the plain formatter returns 500, e.g. the location finder at /locations.
Change: print {{ locality.code ?? locality }}. It uses the code like the address module's own template does, and falls back to the plain string that address 1.x and 2.0.0–2.0.4 pass for US addresses. No new dependency.
Tested on a local site copy: with address 2.0.6 and 2.0.4, /locations returns 200 and addresses render as City, ST 12345.