]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/GroupPrivateMessage/groupmessagecommand.php
Merge branch '1.0.x'
[quix0rs-gnu-social.git] / plugins / GroupPrivateMessage / groupmessagecommand.php
index bd865cb37c78d3f4d135e436f3206d9246819ba9..2df45b10b48a3fde97cab8e1aef00445fa8f2967 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2011, StatusNet, Inc.
  *
  * Command object for messages to groups
- * 
+ *
  * PHP version 5
  *
  * This program is free software: you can redistribute it and/or modify
@@ -44,7 +44,6 @@ if (!defined('STATUSNET')) {
  * @license   http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
  * @link      http://status.net/
  */
-
 class GroupMessageCommand extends Command
 {
     /** User sending the message. */
@@ -61,7 +60,6 @@ class GroupMessageCommand extends Command
      * @param string $nickname Nickname of the group
      * @param string $text     Text of message
      */
-
     function __construct($user, $nickname, $text)
     {
         $this->user     = $user;
@@ -76,8 +74,9 @@ class GroupMessageCommand extends Command
 
         $gm = Group_message::send($this->user, $group, $this->text);
 
-        $channel->output($this->user, 
-                         sprintf(_m('Direct message to group %s sent.'), 
+        $channel->output($this->user,
+                         // TRANS: Succes message after sending private group message to group %s.
+                         sprintf(_m('Direct message to group %s sent.'),
                                  $group->nickname));
 
         return true;