Bugfix. Double quotes in translated text breaks Javascript.

Instead of setting a global variable, add a DOM element that contains the
translated text.

This allows the translated text to contain either single or double quotes.

Ref: https://projects.syslab.com/issues/10925