X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FOStatus%2FOStatusPlugin.php;h=360aaa0c0a3f25c3ddf3a3bf1dffb1ac66e3b960;hb=01fd24ce6afdb3cef05fb1a38c57ad52e7abfb87;hp=36259b8abbe3c77b070204a2ea6b73c8e4eef650;hpb=513c54fa89085fde783a73c298d61576f834b131;p=quix0rs-gnu-social.git diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php index 36259b8abb..360aaa0c0a 100644 --- a/plugins/OStatus/OStatusPlugin.php +++ b/plugins/OStatus/OStatusPlugin.php @@ -293,7 +293,7 @@ class OStatusPlugin extends Plugin $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(); @@ -350,8 +350,7 @@ class OStatusPlugin extends Plugin */ function onStartProfileCompletionSearch($action, $profile, $search_engine) { if ($action->field == 'uri') { - $user = new User(); - $profile->joinAdd($user); + $profile->joinAdd(array('id', 'user:id')); $profile->whereAdd('uri LIKE "%' . $profile->escape($q) . '%"'); $profile->query(); @@ -883,7 +882,7 @@ class OStatusPlugin extends Plugin // 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(), @@ -933,7 +932,7 @@ class OStatusPlugin extends Plugin // 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(), @@ -1284,8 +1283,8 @@ class OStatusPlugin extends Plugin 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'); } }