X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FUserFlag%2Fclearflagform.php;h=26a884875877da55a3e8148c7d6850c5eb338b0d;hb=d8a3a88ec8eae3134694c98e5a9ae42bc30b289f;hp=eefd15c3680bb9c48426540b32846a9be03ba2d1;hpb=900cb8dd91b954d4e720b0c8afb2884419f43cd7;p=quix0rs-gnu-social.git diff --git a/plugins/UserFlag/clearflagform.php b/plugins/UserFlag/clearflagform.php index eefd15c368..26a8848758 100644 --- a/plugins/UserFlag/clearflagform.php +++ b/plugins/UserFlag/clearflagform.php @@ -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,7 +50,6 @@ class ClearFlagForm extends ProfileActionForm * * @return string class of the form */ - function formClass() { 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'); + // Form description for clearing flags from a profile. + return _m('Clear all flags'); } }