Removing JS gettext() in favor of server-side substitution.

[LMS-1680]