]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/PoweredByStatusNet/PoweredByStatusNetPlugin.php
Merge branch '0.9.x' into 1.0.x
[quix0rs-gnu-social.git] / plugins / PoweredByStatusNet / PoweredByStatusNetPlugin.php
index c59fcca8903218c45cc03910e443d3ae3bb28d58..f2e2fcbafe0ab0082edddcc7f2cb9f555aed1ef4 100644 (file)
@@ -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('<a href="http://status.net/">%s</a>',
+                             _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 <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;
     }
 }