Problem/Motivation

The description describing the address_field token properties seems to be inconsistent & confusing.
All tokens are described with an underscore but only "sub_premise" actually uses an underscore. All the other tokens use dashes.

Proposed resolution

Fix all the descriptions.

Remaining tasks

Fix it.
Add tests?

User interface changes

Some address_field token descriptions will be fixed.

Comments

pjbaert created an issue. See original summary.

pjbaert’s picture

I'm interested in fixing this issue myself but I'm guessing I can't simply edit these properties in addressfield_data_property_info() ?

whthat’s picture

Well here is a try making edits addressfield_data_property_info(). Let's see if anything else is affected. This patch on an existing site shows the right Token properties as dashes and no errors to speak of on existing fields.