Simplify message.
This commit is contained in:
parent
558a512ac7
commit
e573d4b3a4
@ -40,17 +40,14 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
|
|||||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
|
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
|
||||||
* @link http://status.net/
|
* @link http://status.net/
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class PoweredByStatusNetPlugin extends Plugin
|
class PoweredByStatusNetPlugin extends Plugin
|
||||||
{
|
{
|
||||||
function onEndAddressData($action)
|
function onEndAddressData($action)
|
||||||
{
|
{
|
||||||
$action->text(' ');
|
$action->text(' ');
|
||||||
$action->elementStart('span', 'poweredby');
|
$action->elementStart('span', 'poweredby');
|
||||||
// TRANS: %s is a URL to status.net with "StatusNet" (localised) as link text.
|
// TRANS: Text output after site name.
|
||||||
$action->raw(sprintf(_m('powered by %s'),
|
$action->raw(_m('powered by <a href="http://status.net/">StatusNet</a>'));
|
||||||
sprintf('<a href="http://status.net/">%s</a>',
|
|
||||||
_m('StatusNet'))));
|
|
||||||
$action->elementEnd('span');
|
$action->elementEnd('span');
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
@ -63,6 +60,7 @@ class PoweredByStatusNetPlugin extends Plugin
|
|||||||
'author' => 'Sarven Capadisli',
|
'author' => 'Sarven Capadisli',
|
||||||
'homepage' => 'http://status.net/wiki/Plugin:PoweredByStatusNet',
|
'homepage' => 'http://status.net/wiki/Plugin:PoweredByStatusNet',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
// TRANS: Plugin description.
|
||||||
_m('Outputs "powered by <a href="http://status.net/">StatusNet</a>" after site name.'));
|
_m('Outputs "powered by <a href="http://status.net/">StatusNet</a>" after site name.'));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user