forked from GNUsocial/gnu-social
Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.x
This commit is contained in:
@@ -655,7 +655,7 @@ class OStatusPlugin extends Plugin
|
||||
$act->title = _m("Join");
|
||||
// TRANS: Success message for subscribe to group attempt through OStatus.
|
||||
// TRANS: %1$s is the member name, %2$s is the subscribed group's name.
|
||||
$act->content = sprintf(_m("%1$s has joined group %2$s."),
|
||||
$act->content = sprintf(_m('%1$s has joined group %2$s.'),
|
||||
$member->getBestName(),
|
||||
$oprofile->getBestName());
|
||||
|
||||
@@ -707,7 +707,7 @@ class OStatusPlugin extends Plugin
|
||||
$act->title = _m("Leave");
|
||||
// TRANS: Success message for unsubscribe from group attempt through OStatus.
|
||||
// TRANS: %1$s is the member name, %2$s is the unsubscribed group's name.
|
||||
$act->content = sprintf(_m("%1$s has left group %2$s."),
|
||||
$act->content = sprintf(_m('%1$s has left group %2$s.'),
|
||||
$member->getBestName(),
|
||||
$oprofile->getBestName());
|
||||
|
||||
|
@@ -81,6 +81,7 @@ class PushCallbackAction extends Action
|
||||
$challenge = $this->arg('hub_challenge');
|
||||
$lease_seconds = $this->arg('hub_lease_seconds');
|
||||
$verify_token = $this->arg('hub_verify_token');
|
||||
common_log(LOG_INFO, __METHOD__ . ": sub verification mode: $mode topic: $topic challenge: $challenge lease_seconds: $lease_seconds verify_token: $verify_token");
|
||||
|
||||
if ($mode != 'subscribe' && $mode != 'unsubscribe') {
|
||||
// TRANS: Client exception. %s is an invalid value for hub.mode.
|
||||
|
Reference in New Issue
Block a user