Fix for security warning

Signed-off-by: Vadim A. Misbakh-Soloviov <mva@mva.name>
Fix translation braking (appears, at least, in Redmine 2.3)

Signed-off-by: Vadim A. Misbakh-Soloviov <mva@mva.name>