Skip to content

Comments

[#6647] Add dnd5e.getUnknownAttributeLabel hook#6648

Open
arbron wants to merge 1 commit into5.3.xfrom
readable-attribute-label
Open

[#6647] Add dnd5e.getUnknownAttributeLabel hook#6648
arbron wants to merge 1 commit into5.3.xfrom
readable-attribute-label

Conversation

@arbron
Copy link
Collaborator

@arbron arbron commented Jan 21, 2026

Adds a new dnd5e.getUnknownAttributeLabel hook that is called when the system cannot determine the appropriate label for an attribute key path. Setting options.label allows a module to define the label to be used for the provided attribute.

Closes #6647

@arbron arbron added this to the D&D5E 5.3.0 milestone Jan 21, 2026
@arbron arbron self-assigned this Jan 21, 2026
@arbron arbron added the api label Jan 21, 2026
Adds a new `dnd5e.getHumanReadableAttributeLabel` hook that is
called when the system cannot determine the appropriate label for
an attribute key path. Setting `options.label` allows a module
to define the label to be used for the provided attribute.

Closes #6647
@arbron arbron force-pushed the readable-attribute-label branch from 6d73cad to b4d3c27 Compare January 21, 2026 21:14
@arbron arbron changed the title [#6647] Add dnd5e.getHumanReadableAttributeLabel hook [#6647] Add dnd5e.getUnknownAttributeLabel hook Jan 21, 2026
@arbron arbron mentioned this pull request Feb 9, 2026
17 tasks
@arbron arbron requested a review from Fyorl February 21, 2026 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide mechanism for modules to localize unknown keys in dnd5e.utils.getHumanReadableAttributeLabel

1 participant