]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Gravatar/GravatarPlugin.php
Merge branch 'master' into 0.9.x
[quix0rs-gnu-social.git] / plugins / Gravatar / GravatarPlugin.php
index f415541bfe872d56107b68b97c15857e5d0ecf0b..dd8ff7217615e8138ee55a5623fa04126de75868 100644 (file)
@@ -132,13 +132,12 @@ class GravatarPlugin extends Plugin
         return false;
      }
 
-
     function gravatar_save()
     {
         $cur = common_current_user();
 
         if(empty($cur->email)) {
-            return array('message' => _m('You do not have a email address set in your profile.'),
+            return array('message' => _m('You do not have an email address set in your profile.'),
                          'success' => false);
         }
         //Get rid of previous Avatar
@@ -156,7 +155,7 @@ class GravatarPlugin extends Plugin
             $gravatar->created = DB_DataObject_Cast::dateTime(); # current time
 
             if (!$gravatar->insert()) {
-                return array('message' => _m('Failed to save Gravatar to the DB.'),
+                return array('message' => _m('Failed to save Gravatar to the database.'),
                              'success' => false);
             }
         }