function showContent()
{
+
if ($this->group) {
- // TRANS: Form legend.
+ // TRANS: Form legend. %s is a group name.
$header = sprintf(_m('Join group %s'), $this->group);
- // TRANS: Button text.
+ // TRANS: Button text to join a group.
$submit = _m('BUTTON','Join');
+ } else if ($this->peopletag && $this->tagger) {
+ // TRANS: Form legend. %1$s is a list, %2$s is a tagger's name.
+ $header = sprintf(_m('Subscribe to list %1$s by %2$s'), $this->peopletag, $this->tagger);
+ // TRANS: Button text to subscribe to a list.
+ $submit = _m('BUTTON','Subscribe');
+ // TRANS: Button text.
} else {
- // TRANS: Form legend.
+ // TRANS: Form legend. %s is a nickname.
$header = sprintf(_m('Subscribe to %s'), $this->nickname);
- // TRANS: Button text.
+ // TRANS: Button text to subscribe to a profile.
$submit = _m('BUTTON','Subscribe');
}
$this->elementStart('form', array('id' => 'form_ostatus_connect',