jetpack icon indicating copy to clipboard operation
jetpack copied to clipboard

i18n: split sentence used when listing modules for Jump Start

Open zinigor opened this issue 11 years ago • 2 comments

The module listing sentence uses a list of module names that is compiled from different strings and uses an untranslated conjunction: https://github.com/Automattic/jetpack/blob/master/_inc/lib/admin-pages/class.jetpack-landing-page.php#L127

zinigor avatar Sep 09 '15 14:09 zinigor

can't we just __() it?

dereksmart avatar Nov 03 '15 15:11 dereksmart

Sadly, no - we need to create at least a string with placeholders and use sprintf to replace module names one by one instead of doing an implode. What's worse is that this code seems to be used in other strings, which makes the situation even more interesting. I will work on a proposal in the next few days.

zinigor avatar Nov 03 '15 18:11 zinigor