]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/subscribepeopletagform.php
No more needed (for this fix) but maybe later. So I always only comment them out.
[quix0rs-gnu-social.git] / lib / subscribepeopletagform.php
index 9489b01a1ce4c5e7acb8bb4a2a595b764587be5c..c570ff1cee7a8ac5ec67106da428ef6de8c5a38b 100644 (file)
@@ -44,13 +44,11 @@ require_once INSTALLDIR.'/lib/form.php';
  *
  * @see      UnsubscribeForm
  */
-
 class SubscribePeopletagForm extends Form
 {
     /**
      * peopletag for the user to join
      */
-
     var $peopletag = null;
 
     /**
@@ -59,7 +57,6 @@ class SubscribePeopletagForm extends Form
      * @param HTMLOutputter $out   output channel
      * @param peopletag     $peopletag peopletag to subscribe to
      */
-
     function __construct($out=null, $peopletag=null)
     {
         parent::__construct($out);
@@ -72,7 +69,6 @@ class SubscribePeopletagForm extends Form
      *
      * @return string ID of the form
      */
-
     function id()
     {
         return 'peopletag-subscribe-' . $this->peopletag->id;
@@ -83,7 +79,6 @@ class SubscribePeopletagForm extends Form
      *
      * @return string of the form class
      */
-
     function formClass()
     {
         return 'form_peopletag_subscribe';
@@ -94,7 +89,6 @@ class SubscribePeopletagForm extends Form
      *
      * @return string URL of the action
      */
-
     function action()
     {
         return common_local_url('subscribepeopletag',
@@ -106,9 +100,10 @@ class SubscribePeopletagForm extends Form
      *
      * @return void
      */
-
     function formActions()
     {
-        $this->out->submit('submit', _('Subscribe'));
+        // TRANS: Button text for subscribing to a list.
+        $this->out->submit('submit', _m('BUTTON', 'Subscribe'));
+
     }
 }