]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/silenceform.php
Upadte translator documentation.
[quix0rs-gnu-social.git] / lib / silenceform.php
index c9cf4b05722493b3efc53295c2dc83f18ecad7f7..9d05f5d09f37c1d4e7f8793598500c088103b6d3 100644 (file)
@@ -42,15 +42,13 @@ if (!defined('STATUSNET')) {
  *
  * @see      UnSilenceForm
  */
-
-class SilenceForm extends Form
+class SilenceForm extends ProfileActionForm
 {
     /**
      * Action this form provides
      *
      * @return string Name of the action, lowercased.
      */
-
     function target()
     {
         return 'silence';
@@ -61,10 +59,10 @@ class SilenceForm extends Form
      *
      * @return string Title of the form, internationalized
      */
-
     function title()
     {
-        return _('Silence');
+        // TRANS: Title of form to silence a user.
+        return _m('TITLE','Silence');
     }
 
     /**
@@ -72,9 +70,9 @@ class SilenceForm extends Form
      *
      * @return string description of the form, internationalized
      */
-
     function description()
     {
+        // TRANS: Description of form to silence a user.
         return _('Silence this user');
     }
 }