addonHandler: install ngettext function when calling initTranslation (#15661)
Summary of the issue:
Currently, it is not possible to use gettext plural forms in addons.
Description of user facing changes
Nothing
Description of development approach
Refactored installing of translation functions.
Now they are defined in list just above initTranslation function, and set in the caller module itself instead of adding these functions in frame_globals.