fix bug 936699 - Adding translation boxes to documents

https://bugzilla.mozilla.org/show_bug.cgi?id=936699