X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FPoweredByStatusNet%2FPoweredByStatusNetPlugin.php;h=f2e2fcbafe0ab0082edddcc7f2cb9f555aed1ef4;hb=f82dd4e14f8e4797f2a14cf10527bb71bc224b72;hp=c59fcca8903218c45cc03910e443d3ae3bb28d58;hpb=fdb64eed2f1d24ad38fe4a6bc680e3592647c0a6;p=quix0rs-gnu-social.git
diff --git a/plugins/PoweredByStatusNet/PoweredByStatusNetPlugin.php b/plugins/PoweredByStatusNet/PoweredByStatusNetPlugin.php
index c59fcca890..f2e2fcbafe 100644
--- a/plugins/PoweredByStatusNet/PoweredByStatusNetPlugin.php
+++ b/plugins/PoweredByStatusNet/PoweredByStatusNetPlugin.php
@@ -45,9 +45,12 @@ class PoweredByStatusNetPlugin extends Plugin
{
function onEndAddressData($action)
{
+ $action->text(' ');
$action->elementStart('span', 'poweredby');
- $action->text(_('powered by'));
- $action->element('a', array('href' => 'http://status.net/'), 'StatusNet');
+ // TRANS: %s is a URL to status.net with "StatusNet" (localised) as link text.
+ $action->raw(sprintf(_m('powered by %s'),
+ sprintf('%s',
+ _m('StatusNet'))));
$action->elementEnd('span');
return true;
@@ -60,7 +63,7 @@ class PoweredByStatusNetPlugin extends Plugin
'author' => 'Sarven Capadisli',
'homepage' => 'http://status.net/wiki/Plugin:PoweredByStatusNet',
'rawdescription' =>
- _m('Outputs powered by StatusNet after site name.'));
+ _m('Outputs "powered by StatusNet" after site name.'));
return true;
}
}