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() function getInstructions()
{ {
// TRANS: Page notice for groups directory.
// TRANS: %%site.name%% is the name of the StatusNet site. // TRANS: %%site.name%% is the name of the StatusNet site.
return _m( // TRANS: %%%%action.newgroup%%%% is a URL. Do not change it.
'Search for groups on %%site.name%% by their name, ' // TRANS: This message contains Markdown links in the form [link text](link).
. 'location, or interests. Separate the terms by spaces; ' $instructions = <<< END_OF_INSTRUCTIONS
. ' they must be 3 characters or more.' %%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);
} }
/** /**