]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Profile.php
Update translator documentation.
[quix0rs-gnu-social.git] / classes / Profile.php
index c5dd2dfda9da20e44ad3ee47d4f134b973263d00..a36024842e8651b565701ebb390dd0a35aeb9fe6 100644 (file)
@@ -403,7 +403,8 @@ class Profile extends Memcached_DataObject
                 Event::handle('EndJoinGroup', array($group, $this));
             }
         } else {
-            throw new Exception(_m('Invalid group join approval: not pending.'));
+            // TRANS: Exception thrown trying to approve a non-existing group join request.
+            throw new Exception(_('Invalid group join approval: not pending.'));
         }
         if ($join) {
             $join->notify();
@@ -414,7 +415,7 @@ class Profile extends Memcached_DataObject
     /**
      * Leave a group that this profile is a member of.
      *
-     * @param User_group $group 
+     * @param User_group $group
      */
     function leaveGroup(User_group $group)
     {