This PR normalizes format of translations string, avoiding situation where for example xelson-chat.forum.chat.list.add_modal.form.color works both as translation and group for child translations (like xelson-chat.forum.chat.list.add_modal.form.color.validator). While current approach seems to work in Flarum, it is confusing and may create problems wit other tools (like Weblate, which does not recognize such format and ignores some strings).
This PR normalizes format of translations string, avoiding situation where for example
xelson-chat.forum.chat.list.add_modal.form.color
works both as translation and group for child translations (likexelson-chat.forum.chat.list.add_modal.form.color.validator
). While current approach seems to work in Flarum, it is confusing and may create problems wit other tools (like Weblate, which does not recognize such format and ignores some strings).