Normally, I would suggest doing it the way it is here.  Give the translators the whole string, with slots.  This lets users of the code change the platform name without having to re-translate strings.  For some constructs, though, it might be difficult to translate well with a slot.  For example, would other languages have a gender issue depending on the name of the platform?  We might have better luck with "Site-wide Summary" than with "{platform_name}-wide Summary", for example.