]> 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 bae6c529d3d62b6e9472c964defd3adc40741f8b..eff2f7b491b60fc87f0abaaa87bc8c4e358bc273 100644 (file)
@@ -40,14 +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->text(_('powered by'));
-        $action->element('a', array('href' => 'http://status.net/'), 'StatusNet');
+        // TRANS: Text output after site name.
+        $action->raw(_m('powered by <a href="http://status.net/">StatusNet</a>'));
         $action->elementEnd('span');
 
         return true;
@@ -57,10 +57,11 @@ class PoweredByStatusNetPlugin extends Plugin
     {
         $versions[] = array('name' => 'PoweredByStatusNet',
                             'version' => STATUSNET_VERSION,
-                            'author' => 'Sarven Capdaisli',
+                            '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;
     }
 }