X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Finbox.php;h=8330f753ff1dd4161830656171b9373be10312d1;hb=ad651c35353021d05ef4a013e57c17d0b885c5dc;hp=2ee7660135d0e78471f63142cf85a2ee5448777c;hpb=d35b2d3f3c2128b147a6fa897032262c1f632262;p=quix0rs-gnu-social.git diff --git a/actions/inbox.php b/actions/inbox.php index 2ee7660135..8330f753ff 100644 --- a/actions/inbox.php +++ b/actions/inbox.php @@ -21,13 +21,13 @@ * * @category Message * @package StatusNet - * @author Evan Prodromou + * @author Evan Prodromou * @copyright 2008 StatusNet, Inc. * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ -if (!defined('LACONICA')) { +if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } @@ -38,7 +38,7 @@ require_once INSTALLDIR.'/lib/mailbox.php'; * * @category Message * @package StatusNet - * @author Evan Prodromou + * @author Evan Prodromou * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ * @see MailboxAction @@ -56,10 +56,10 @@ class InboxAction extends MailboxAction function title() { if ($this->page > 1) { - return sprintf(_("Inbox for %s - page %d"), $this->user->nickname, + return sprintf(_('Inbox for %1$s - page %2$d'), $this->user->nickname, $this->page); } else { - return sprintf(_("Inbox for %s"), $this->user->nickname); + return sprintf(_('Inbox for %s'), $this->user->nickname); } }