X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FQnA%2Factions%2Fqnavote.php;h=715f81e831f979f3e99b6fd07ed414cb5b4dffc7;hb=6c4c4319ef8c8b181b96b0f97b2217d75d6c4d92;hp=8098cb87d0d97ae1542498e594204edb8478447d;hpb=0dbdcf2936a00282114f1368ead2f5edebc6ae61;p=quix0rs-gnu-social.git diff --git a/plugins/QnA/actions/qnavote.php b/plugins/QnA/actions/qnavote.php index 8098cb87d0..715f81e831 100644 --- a/plugins/QnA/actions/qnavote.php +++ b/plugins/QnA/actions/qnavote.php @@ -3,7 +3,7 @@ * StatusNet - the distributed open-source microblogging tool * Copyright (C) 2011, StatusNet, Inc. * - * Vote on a questino or answer + * Vote on a question or answer * * PHP version 5 * @@ -81,7 +81,7 @@ class Qnavote extends Action if (empty($this->user)) { // TRANS: Client exception thrown trying to answer a question while not logged in. - throw new ClientException(_m("You must be logged in to answer to a question."), + throw new ClientException(_m('You must be logged in to answer to a question.'), 403); } @@ -146,7 +146,7 @@ class Qnavote extends Action $this->xw->startDocument('1.0', 'UTF-8'); $this->elementStart('html'); $this->elementStart('head'); - // TRANS: Page title after sending an answer. + // TRANS: Page title after sending in a vote for a question or answer. $this->element('title', null, _m('Answers')); $this->elementEnd('head'); $this->elementStart('body');