Skip to content

The i18n function now recognizes entity and attribute names so that…

The i18n function now recognizes entity and attribute names so that UB.i18n('uba_user') or UB.i18n('uba_role.description') would be resolved to localized entity caption or entity attribute caption.

We had a discussion about that before. Please do your review of it (and please, git it some testing - I just did test on "dev" endpoint, but I do not have a ubjs build environment, so please help me out to make sure it works in a bundle too).

I did my best to not compromise performance with this change.

Edited by Andrii Bezuglyi

Merge request reports

Loading