X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fbookmarklet.php;h=9cf4e58f89886e188dfb826ae3936e547dea1af1;hb=0503bcb0e2dd75de10a74ee5fc12d1523a44b028;hp=0603a745612a07df289f0bead249b87f3887e8ad;hpb=4e9ec0d0e1aeb43b432f4692b4819beb9408ad3b;p=quix0rs-gnu-social.git diff --git a/actions/bookmarklet.php b/actions/bookmarklet.php index 0603a74561..9cf4e58f89 100644 --- a/actions/bookmarklet.php +++ b/actions/bookmarklet.php @@ -34,7 +34,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { require_once INSTALLDIR . '/actions/newnotice.php'; /** - * Action for posting a notice + * Action for posting a notice * * @category Bookmarklet * @package StatusNet @@ -42,12 +42,13 @@ require_once INSTALLDIR . '/actions/newnotice.php'; * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ - class BookmarkletAction extends NewnoticeAction { function showTitle() { - $this->element('title', null, _('Post to ').common_config('site', 'name')); + // TRANS: Title for mini-posting window loaded from bookmarklet. + // TRANS: %s is the StatusNet site name. + $this->element('title', null, sprintf(_('Post to %s'), common_config('site', 'name'))); } function showHeader() @@ -72,4 +73,3 @@ class BookmarkletAction extends NewnoticeAction { } } -