More translator friendly string formatting

* Add escaping of supplied strings since they may interfere with the
  xml-based markup.