kwado-tech / l10n_mapper

MIT License
3 stars 3 forks source link

Implement whitelisting for translations #24

Closed talamaska closed 2 months ago

talamaska commented 5 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