define([], () => {
    /**
     * Noop for registering string for translation in js files.
     *
     * This is supposed to be used in angular config phase,
     * where we can't use the translate service.
     *
     * And while this doesn't do much, you still have to call translate in template.
     *
     * @param {string} input
     * @return {string} unmodified input
     */
    function gettext(input) {
        return input;
    }

    /* exported gettext */
    window.gettext = gettext;
});
