thomasgriffin/TGM-Plugin-Activation — comment on commit 360a52cb5f3c824efe7ddf45d990e6effdae5f5b
File: tgm-plugin-activation/class-tgm-plugin-activation.php line 461
By GaryJones:

This commit means there is now 4 concatenated parts of a string to be translated, instead of a before-name, name, after name.

How about:

```
$msg = sprintf( __( 'Plugin %s activated', $this->domain ), $plugin['name'] );
printf( '

%s

', $msg );
```

This now only has 1 translatable string.

Or better, with two alternatives:

```
$msg = sprintf( __( 'Plugin %s activated', $this->domain ), '' . $plugin['name'] . '' );
echo '

' . $msg . '

';
```

That keeps our preference for strongly emphasising the plugin name out of the translatable string, and saves a pointless (but expensive) `printf()` call.