fix i18n of javascript re-print/email confirmations, RT#12515