* @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
{
/**
*
* @return string class of the form
*/
-
function formClass()
{
- return 'form_entity_clearflag';
+ return 'form_user_clearflag';
}
/**
*
* @return string Name of the action, lowercased.
*/
-
function target()
{
return 'clearflag';
*
* @return string Title of the form, internationalized
*/
-
function title()
{
- return _('Clear');
+ // TRANS: Form title for action on a profile.
+ return _m('Clear');
}
/**
function description()
{
- return _('Clear all flags');
+ // Form description for clearing flags from a profile.
+ return _m('Clear all flags');
}
}