X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Funsandboxform.php;h=9cb39aeb02282d430226f93f08d36c7a2862bd47;hb=dad5db25e206628c895cf385ef9d74e17906a531;hp=559d1462d2b32f830dd7c80060400763f4761ac0;hpb=d24ed193e7b19b50f7304790820c945e46ac2c95;p=quix0rs-gnu-social.git diff --git a/lib/unsandboxform.php b/lib/unsandboxform.php index 559d1462d2..9cb39aeb02 100644 --- a/lib/unsandboxform.php +++ b/lib/unsandboxform.php @@ -44,15 +44,13 @@ if (!defined('STATUSNET')) { * * @see UnSandboxForm */ - -class UnsandboxForm extends Form +class UnsandboxForm extends ProfileActionForm { /** * Action this form provides * * @return string Name of the action, lowercased. */ - function target() { return 'unsandbox'; @@ -63,10 +61,10 @@ class UnsandboxForm extends Form * * @return string Title of the form, internationalized */ - function title() { - return _('Unsandbox'); + // TRANS: Title for unsandbox form. + return _m('TITLE','Unsandbox'); } /** @@ -74,9 +72,9 @@ class UnsandboxForm extends Form * * @return string description of the form, internationalized */ - function description() { + // TRANS: Description for unsandbox form. return _('Unsandbox this user'); } }