I'm prefer use helper function to translate numbers to strings. Why ? Because without this approach, the same source will became to different translate source on different platforms. e.g.
_("The repository trunk version is %"PRId64".") Will translate to: _("The repository trunk version is %lld.") // ILP32 _("The repository trunk version is %I64d.") // MSVC _("The repository trunk version is %ld.") // LP64 Then how the translator do ?