L10n updates.
This commit is contained in:
parent
a35392da2f
commit
173d20e1f9
|
@ -175,7 +175,7 @@ class NewmessageAction extends Action
|
||||||
return;
|
return;
|
||||||
} else if ($user->id == $this->other->id) {
|
} else if ($user->id == $this->other->id) {
|
||||||
// TRANS: Client error displayed trying to send a direct message to self.
|
// TRANS: Client error displayed trying to send a direct message to self.
|
||||||
$this->clientError(_('Don\'t send a message to yourself; ' .
|
$this->clientError(_('Do not send a message to yourself; ' .
|
||||||
'just say it to yourself quietly instead.'), 403);
|
'just say it to yourself quietly instead.'), 403);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -629,7 +629,7 @@ class MessageCommand extends Command
|
||||||
return;
|
return;
|
||||||
} else if ($this->user->id == $other->id) {
|
} else if ($this->user->id == $other->id) {
|
||||||
// TRANS: Error text shown when trying to send a direct message to self.
|
// TRANS: Error text shown when trying to send a direct message to self.
|
||||||
$channel->error($this->user, _('Don\'t send a message to yourself; just say it to yourself quietly instead.'));
|
$channel->error($this->user, _('Do not send a message to yourself; just say it to yourself quietly instead.'));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$message = Message::saveNew($this->user->id, $other->id, $this->text, $channel->source());
|
$message = Message::saveNew($this->user->id, $other->id, $this->text, $channel->source());
|
||||||
|
|
Loading…
Reference in New Issue
Block a user