Better instructions for group directory

This commit is contained in:
Zach Copley 2011-04-13 15:31:51 -07:00
parent 42e945a42d
commit 4f60c43d32

View File

@ -115,12 +115,22 @@ class GroupdirectoryAction extends Action
*/
function getInstructions()
{
// TRANS: Page notice for groups directory.
// TRANS: %%site.name%% is the name of the StatusNet site.
return _m(
'Search for groups on %%site.name%% by their name, '
. 'location, or interests. Separate the terms by spaces; '
. ' they must be 3 characters or more.'
);
// TRANS: %%%%action.newgroup%%%% is a URL. Do not change it.
// TRANS: This message contains Markdown links in the form [link text](link).
$instructions = <<< END_OF_INSTRUCTIONS
%%site.name%% groups let you find and talk with people of similar
interests. After you join a group you can send messages to all other
members using the syntax "!groupname".
Browse groups, or search for groups on by their name, location or topic.
Separate the terms by spaces; they must be 3 characters or more.
Don't see a group you like? [start your own](%%action.newgroup%%)!
END_OF_INSTRUCTIONS;
return _m($instructions);
}
/**