Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
foreach ($uids as $nuid) {
if ($status->uid == $status->pid) {
appbar_set_message(t('!user commented on a <a href="!message">status</a> on which you also commented.',
array('!user' => $user_link, '!message' => $status_link)), 'fbssc-commenter', $nuid);
}
else {
$r = $recipient;
if ($status->uid == $nuid) {
$r = theme('username', user_load(array('uid' => $nuid)));
}
appbar_set_message(t('!user commented on a <a href="!message">message</a> on which you also commented.',
array('!user' => $user_link, '!message' => $status_link, '!recipient' => $r)), 'fbssc-commenter', $nuid);
}
}
Comments
Comment #1
icecreamyou commentedThat section of the code now reads:
Comment #3
baff commented!recipient is not recognized as a token - my result is
"fuzi hat eine Kurzmitteilung kommentiert, die Sie auch kommentiert haben. !recipient"
!recipient is treated as a string.
Comment #4
icecreamyou commentedTry it now. The text to translate is now
!user commented on a <a href="!message">message</a> to !recipient on which you also commented.Comment #5
icecreamyou commentedEr, I think this should be fixed. Please reopen if it isn't.