summaryrefslogtreecommitdiff
path: root/plugins/PoweredByStatusNet/PoweredByStatusNetPlugin.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/PoweredByStatusNet/PoweredByStatusNetPlugin.php')
-rw-r--r--plugins/PoweredByStatusNet/PoweredByStatusNetPlugin.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/PoweredByStatusNet/PoweredByStatusNetPlugin.php b/plugins/PoweredByStatusNet/PoweredByStatusNetPlugin.php
index c59fcca89..14d1608d3 100644
--- a/plugins/PoweredByStatusNet/PoweredByStatusNetPlugin.php
+++ b/plugins/PoweredByStatusNet/PoweredByStatusNetPlugin.php
@@ -46,8 +46,9 @@ class PoweredByStatusNetPlugin extends Plugin
function onEndAddressData($action)
{
$action->elementStart('span', 'poweredby');
- $action->text(_('powered by'));
- $action->element('a', array('href' => 'http://status.net/'), 'StatusNet');
+ $action->raw(sprintf(_m('powered by %s'),
+ sprintf('<a href="http://status.net/">%s</a>',
+ _m('StatusNet'))));
$action->elementEnd('span');
return true;