summaryrefslogtreecommitdiff
path: root/plugins/UserFlag/clearflagform.php
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2010-10-02 22:25:32 +0200
committerSiebrand Mazeland <s.mazeland@xs4all.nl>2010-10-02 22:25:32 +0200
commit0f4f6fdb0130aacb0d8c7aa04ddfb76baa1b9e6b (patch)
tree90936c1d8161b9ee64cd7473f831647cfd4f5ee8 /plugins/UserFlag/clearflagform.php
parent08054e85fe4b47b6d28acb83b4c251be92f12316 (diff)
* i18n/L10n review.
* add onPluginVersion()
Diffstat (limited to 'plugins/UserFlag/clearflagform.php')
-rw-r--r--plugins/UserFlag/clearflagform.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/plugins/UserFlag/clearflagform.php b/plugins/UserFlag/clearflagform.php
index eefd15c36..26a884875 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');
}
}