Skip to content

Deduplicate code to fetch localized strings and elements #12

@hanrodz

Description

The logic in getLocalizedElement and getLocalizedString is the same except one returns a string and the other an element object. Abstract into a single method both methods call while ensuring type safety.

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions