X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fsilenceform.php;h=9d05f5d09f37c1d4e7f8793598500c088103b6d3;hb=c285f80b1830cffd20a28c693d74c59f8c3c39f6;hp=c9cf4b05722493b3efc53295c2dc83f18ecad7f7;hpb=d24ed193e7b19b50f7304790820c945e46ac2c95;p=quix0rs-gnu-social.git diff --git a/lib/silenceform.php b/lib/silenceform.php index c9cf4b0572..9d05f5d09f 100644 --- a/lib/silenceform.php +++ b/lib/silenceform.php @@ -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'); } }