Agreed, formatMessage is more approriate. I confirm this function formats the message which is displayed in the widget (inside/below depends on the theme).