]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/PoweredByStatusNet/PoweredByStatusNetPlugin.php
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
[quix0rs-gnu-social.git] / plugins / PoweredByStatusNet / PoweredByStatusNetPlugin.php
index 14d1608d3c8b25bf8311bf82dab0dd94d7e0a02d..eff2f7b491b60fc87f0abaaa87bc8c4e358bc273 100644 (file)
@@ -40,15 +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
  * @link     http://status.net/
  */
-
 class PoweredByStatusNetPlugin extends Plugin
 {
     function onEndAddressData($action)
     {
+        $action->text(' ');
         $action->elementStart('span', 'poweredby');
-        $action->raw(sprintf(_m('powered by %s'),
-                     sprintf('<a href="http://status.net/">%s</a>',
-                             _m('StatusNet'))));
+        // TRANS: Text output after site name.
+        $action->raw(_m('powered by <a href="http://status.net/">StatusNet</a>'));
         $action->elementEnd('span');
 
         return true;
@@ -61,7 +60,8 @@ 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.'));
+                            // TRANS: Plugin description.
+                            _m('Outputs "powered by <a href="http://status.net/">StatusNet</a>" after site name.'));
         return true;
     }
 }