diff --git a/actions/newmessage.php b/actions/newmessage.php index dd7c5357ba..fa1922c4a0 100644 --- a/actions/newmessage.php +++ b/actions/newmessage.php @@ -175,7 +175,7 @@ class NewmessageAction extends Action return; } else if ($user->id == $this->other->id) { // 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); return; } diff --git a/lib/command.php b/lib/command.php index fcc21cc5e5..f51cbbb5f7 100644 --- a/lib/command.php +++ b/lib/command.php @@ -629,7 +629,7 @@ class MessageCommand extends Command return; } else if ($this->user->id == $other->id) { // 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; } $message = Message::saveNew($this->user->id, $other->id, $this->text, $channel->source());