]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/nudge.php
* translator documentation added.
[quix0rs-gnu-social.git] / actions / nudge.php
index 58ec0cbc04f392f0fb8eaac66456fa473ac7586b..219a8c9abafb5e7fa24d15e7fd76a57415158766 100644 (file)
@@ -29,7 +29,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-if (!defined('LACONICA')) {
+if (!defined('STATUSNET') && !defined('LACONICA')) {
     exit(1);
 }
 
@@ -82,7 +82,7 @@ class NudgeAction extends Action
         }
 
         if (!$other->email || !$other->emailnotifynudge) {
-            $this->clientError(_('This user doesn\'t allow nudges or hasn\'t confirmed or set his email yet.'));
+            $this->clientError(_('This user doesn\'t allow nudges or hasn\'t confirmed or set their email address yet.'));
             return;
         }