Would it be possible to include !recipient into that string?

Comments

icecreamyou’s picture

Status: Active » Fixed

That section of the code now reads:

  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);
    }
  }

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

baff’s picture

Status: Closed (fixed) » Active

!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.

icecreamyou’s picture

Try it now. The text to translate is now !user commented on a <a href="!message">message</a> to !recipient on which you also commented.

icecreamyou’s picture

Status: Active » Fixed

Er, I think this should be fixed. Please reopen if it isn't.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.