$action->elementStart('fieldset');
// TRANS: Fieldset legend.
- $action->element('legend', null, _m('Tag remote profile'));
+ $action->element('legend', null, _m('List remote profile'));
$action->hidden('token', common_session_token());
$user = common_current_user();
// TRANS: Title for following a remote list.
$act->title = _m('TITLE','Follow list');
// TRANS: Success message for remote list follow through OStatus.
- // TRANS: %1$s is the subscriber name, %2$s is the list, %3$s is the tagger's name.
+ // TRANS: %1$s is the subscriber name, %2$s is the list, %3$s is the lister's name.
$act->content = sprintf(_m('%1$s is now following people listed in %2$s by %3$s.'),
$sub->getBestName(),
$oprofile->getBestName(),
// TRANS: Title for unfollowing a remote list.
$act->title = _m('Unfollow list');
// TRANS: Success message for remote list unfollow through OStatus.
- // TRANS: %1$s is the subscriber name, %2$s is the list, %3$s is the tagger's name.
+ // TRANS: %1$s is the subscriber name, %2$s is the list, %3$s is the lister's name.
$act->content = sprintf(_m('%1$s stopped following the list %2$s by %3$s.'),
$sub->getBestName(),
$oprofile->getBestName(),
array('nickname' => $profileUser->nickname));
$output->element('a', array('href' => $url,
'class' => 'entity_remote_tag'),
- // TRANS: Link text for a user to tag an OStatus user.
- _m('Tag'));
+ // TRANS: Link text for a user to list an OStatus user.
+ _m('List'));
$output->elementEnd('li');
}
}
// 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.
+ // TRANS: Form legend. %1$s is a list, %2$s is a lister'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');
parent::prepare($args);
if (common_logged_in()) {
- // TRANS: Client error displayed when trying to tag a local object as if it is remote.
- $this->clientError(_m('You can use the local tagging!'));
+ // TRANS: Client error displayed when trying to list a local object as if it is remote.
+ $this->clientError(_m('You can use the local list functionality!'));
return false;
}
function showContent()
{
- // TRANS: Header for tagging a remote object. %s is a remote object's name.
- $header = sprintf(_m('Tag %s'), $this->nickname);
- // TRANS: Button text to tag a remote object.
+ // TRANS: Header for listing a remote object. %s is a remote object's name.
+ $header = sprintf(_m('List %s'), $this->nickname);
+ // TRANS: Button text to list a remote object.
$submit = _m('BUTTON','Go');
$this->elementStart('form', array('id' => 'form_ostatus_connect',
'method' => 'post',
// TRANS: Field label.
$this->input('nickname', _m('User nickname'), $this->nickname,
// TRANS: Field title.
- _m('Nickname of the user you want to tag.'));
+ _m('Nickname of the user you want to list.'));
$this->elementEnd('li');
$this->elementStart('li', array('id' => 'ostatus_profile'));
// TRANS: Field label.
if (empty($tagged)) {
// TRANS: Client exception.
- throw new ClientException(_m('Unidentified profile being tagged.'));
+ throw new ClientException(_m('Unidentified profile being listed.'));
}
if ($tagged->id !== $this->user->id) {
// TRANS: Client exception.
- throw new ClientException(_m('This user is not the one being tagged.'));
+ throw new ClientException(_m('This user is not the one being listed.'));
}
// save the list
$result = Profile_tag::setTag($ptag->tagger, $tagged->id, $ptag->tag);
if (!$result) {
// TRANS: Client exception.
- throw new ClientException(_m('The tag could not be saved.'));
+ throw new ClientException(_m('The listing could not be saved.'));
}
}
}
if (empty($tagged)) {
// TRANS: Client exception.
- throw new ClientException(_m('Unidentified profile being untagged.'));
+ throw new ClientException(_m('Unidentified profile being unlisted.'));
}
if ($tagged->id !== $this->user->id) {
// TRANS: Client exception.
- throw new ClientException(_m('This user is not the one being untagged.'));
+ throw new ClientException(_m('This user is not the one being unlisted.'));
}
// save the list
if (!$result) {
// TRANS: Client exception.
- throw new ClientException(_m('The tag could not be deleted.'));
+ throw new ClientException(_m('The listing could not be deleted.'));
}
}
}
function handleTag()
{
// TRANS: Client exception.
- throw new ClientException(_m('This target does not understand tag events.'));
+ throw new ClientException(_m('This target does not understand list events.'));
}
function handleUntag()
{
// TRANS: Client exception.
- throw new ClientException(_m('This target does not understand untag events.'));
+ throw new ClientException(_m('This target does not understand unlist events.'));
}
/**