'class' => 'notice-tally'
)
);
- $out->raw(sprintf(_m("favored %d times"), $tally->count));
+ $out->elementStart('span', array('class' => 'fave-tally-title'));
+ // TRANS: Label for tally for number of times a notice was favored.
+ $out->raw(sprintf(_m("Favored")));
+ $out->elementEnd('span');
+ $out->elementStart('span', array('class' => 'fave-tally'));
+ $out->raw($tally->count);
+ $out->elementEnd('span');
$out->elementEnd('div');
}
}
$id = $profile->insert();
if (!$id) {
+ // TRANS: Server exception.
throw new ServerException(_m("Couldn't create anonymous user session."));
}
$result = $profile->update($orig);
if (!$result) {
+ // TRANS: Server exception.
throw new ServerException(_m("Couldn't create anonymous user session."));
}
'author' => 'Zach Copley',
'homepage' => $url,
'rawdescription' =>
+ // TRANS: Plugin description.
_m('Allow anonymous users to favorite notices.'));
return true;