fix(pagination): use interpolation for text attributes

Based on #696.