* Construction
*
* @param Action $action current action, used for output
+ * @param User $user Current user or NULL if "guest"
*/
- function __construct($action=null, $user=null)
+ function __construct(Action $action=null, User $user=null)
{
parent::__construct($action);
$this->user = $user;
// TRANS: Menu item in local navigation menu.
_m('MENU','Invite'),
// TRANS: Menu item title in local navigation menu.
- // TRANS: %s is a user nickname.
+ // TRANS: %s is the StatusNet sitename.
sprintf(_('Invite friends and colleagues to join you on %s.'),
common_config('site', 'name')),
$action == 'invite',