It's noted in 3.8 there's now a hard coded extra space preceding the 'in the !group group' token. This causes a translation problem where such an extra space is not desired.
Formerly:
function commons_groups_related_groups_text($related_groups) {
// In 1 group: "in the x group"
if (count($related_groups) == 1) {
return t(' in the !group group', array('!group' => l($related_groups[0]->title, 'node/' . $related_groups[0]->nid)));
}
Currently:
function commons_groups_related_groups_text($related_groups) {
// In 1 group: "in the x group"
if (count($related_groups) == 1) {
return ' ' . t('in the !group group', array('!group' => l($related_groups[0]->title, 'node/' . $related_groups[0]->nid)));
}
Comments
Comment #1
ezra-g commentedThanks for the report here. Are you able to provide this change as a patch?
Comment #2
daniel.c commentedI'm mainly a site builder but glad to provide a simple patch which reverts the function back to its pre-3.8 state.
Comment #4
japerryFixed! Silly code format cleaner decided that putting a space in front of the translation was a good idea, but I don't see anywhere that its acceptable to do that.
Reverted back before the space. Thanks for the report!