This commit is contained in:
Brion Vibber 2011-03-22 14:20:21 -07:00
parent 83fb5e6023
commit a12680e8d5

View File

@ -391,7 +391,7 @@ abstract class NoticeListActorsItem extends NoticeListItem
$first = array_slice($items, 0, -1); $first = array_slice($items, 0, -1);
$last = array_slice($items, -1, 1); $last = array_slice($items, -1, 1);
// TRANS: Separator in list of user names like "You, Bob, Mary". // TRANS: Separator in list of user names like "You, Bob, Mary".
$sepataror = _(', '); $separator = _(', ');
// TRANS: For building a list such as "You, bob, mary and 5 others have favored this notice". // TRANS: For building a list such as "You, bob, mary and 5 others have favored this notice".
// TRANS: %1$s is a list of users, separated by a separator (default: ", "), %2$s is the last user in the list. // TRANS: %1$s is a list of users, separated by a separator (default: ", "), %2$s is the last user in the list.
return sprintf(_m('FAVELIST', '%1$s and %2$s'), implode($separator, $first), implode($separator, $last)); return sprintf(_m('FAVELIST', '%1$s and %2$s'), implode($separator, $first), implode($separator, $last));