kwado-tech / l10n_mapper

MIT License
4 stars 2 forks source link

Implement whitelisting for translations #24

Closed talamaska closed 4 months ago

talamaska commented 7 months ago

add: mapper-whitelist to the build configuration add: mapperWhitelist param to the Generator change: bypass items that are not in the whitelist when generating the map

Description

Provides a way to limit the translations placed in the map. Most probably users would not want all the translations be accessible via dynamic keys coming from somewhere else. In my case I want only the form validations errors exposed to parsel10n

Please check the following boxes