faberNovel / ad_localize

ADLocalize is a simple way to manage your localization files. Supported wording sources : CSVs and Google Sheets. Localization file generation available for iOS, Android, JSON (i18next), YAML and Java properties
https://rubygems.org/gems/ad_localize
MIT License
24 stars 8 forks source link

Keys should be trimmed to prevent user error #16

Closed Nooba closed 4 years ago

Nooba commented 4 years ago

It may happen that the user had an accidental space or newline in a key, which, while it might be allowed on some platforms, make overall very little sense to me. I believe adding a trimming action to it would be good, or at the very least a warning log.