Fix incorrect UI message. Spotted by Nike.

This commit is contained in:
Siebrand Mazeland 2011-04-24 19:57:47 +02:00
parent f70569ddb5
commit 69e1bd3a58

View File

@ -147,9 +147,9 @@ class RemovepeopletagAction extends Action
$user = User::staticGet('id', $this->tagged->id); $user = User::staticGet('id', $this->tagged->id);
if ($user) { if ($user) {
$this->clientError( $this->clientError(
// TRANS: Client error displayed when an unknown error occurs while listing a user. // TRANS: Client error displayed when an unknown error occurs while delisting a user.
// TRANS: %s is a username. // TRANS: %s is a username.
sprintf(_('There was an unexpected error while listing %s.'), sprintf(_('There was an unexpected error while delisting %s.'),
$user->nickname)); $user->nickname));
} else { } else {
// TRANS: Client error displayed when an unknown error occurs while listing a user. // TRANS: Client error displayed when an unknown error occurs while listing a user.