* @maintainer Brion Vibber <brion@status.net>
*/
-if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
+if (!defined('STATUSNET')) {
+ exit(1);
+}
/**
* Key UI methods:
$this->elementStart('ul', 'form_data');
$this->elementStart('li');
$this->input('profile',
- _m('Group profile URL'),
+ // TRANS: Field label.
+ _m('Join group'),
$this->profile_uri,
- _m('Enter the profile URL of a group on another StatusNet site'));
+ // TRANS: Tooltip for field label "Join group".
+ _m("OStatus group's address, like http://example.net/group/nickname."));
$this->elementEnd('li');
$this->elementEnd('ul');
- $this->submit('validate', _m('Continue'));
+ // TRANS: Button text.
+ $this->submit('validate', _m('BUTTON','Continue'));
$this->elementEnd('fieldset');
}
$this->showEntity($group,
- $group->getProfileUrl(),
+ $group->homeUrl(),
$group->homepage_logo,
$group->description);
return $ok;
*
* @return string Title of the page
*/
-
function title()
{
// TRANS: Page title for OStatus remote group join form
*
* @return instructions for use
*/
-
function getInstructions()
{
+ // TRANS: Instructions.
return _m('You can subscribe to groups from other supported sites. Paste the group\'s profile URI below:');
}