]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/UserFlag/clearflagform.php
Merge branch 'master' into 1.0.x
[quix0rs-gnu-social.git] / plugins / UserFlag / clearflagform.php
index 5ad6055d331a85ceaba61ccf5d83c116399f2ca1..47dd3924c3c39dd1d1ebf4cec78f3e290bd8e1a1 100644 (file)
@@ -42,7 +42,6 @@ require_once INSTALLDIR.'/lib/form.php';
  * @license  http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
  * @link     http://status.net/
  */
-
 class ClearFlagForm extends ProfileActionForm
 {
     /**
@@ -51,10 +50,9 @@ class ClearFlagForm extends ProfileActionForm
      *
      * @return string class of the form
      */
-
     function formClass()
     {
-        return 'form_entity_clearflag';
+        return 'form_user_clearflag';
     }
 
     /**
@@ -62,7 +60,6 @@ class ClearFlagForm extends ProfileActionForm
      *
      * @return string Name of the action, lowercased.
      */
-
     function target()
     {
         return 'clearflag';
@@ -73,10 +70,10 @@ class ClearFlagForm extends ProfileActionForm
      *
      * @return string Title of the form, internationalized
      */
-
     function title()
     {
-        return _('Clear');
+        // TRANS: Form title for action on a profile.
+        return _m('Clear');
     }
 
     /**
@@ -87,6 +84,7 @@ class ClearFlagForm extends ProfileActionForm
 
     function description()
     {
-        return _('Clear all flags');
+        // TRANS: Form description for clearing flags from a profile.
+        return _m('Clear all flags');
     }
 }