Fix translations with ${portal_type} variables

See merge request !1236
1 job for master
in 0 seconds, using 0 compute credits, and was queued for 0 seconds