]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Mapstraction/map.php
Harmonize message for 'User has no profile.' and update translator documentation.
[quix0rs-gnu-social.git] / plugins / Mapstraction / map.php
index dbba4edd0cbd7a11c904c60e4ba307d1bf4f5e3b..2ccf1642d746fe4cb1a6b89de354e5395eab6461 100644 (file)
@@ -69,6 +69,7 @@ class MapAction extends OwnerDesignAction
         $this->user = User::staticGet('nickname', $nickname);
 
         if (!$this->user) {
+            // TRANS: Client error displayed when referring to a non-existing user.
             $this->clientError(_m('No such user.'), 404);
             return false;
         }
@@ -76,6 +77,7 @@ class MapAction extends OwnerDesignAction
         $this->profile = $this->user->getProfile();
 
         if (!$this->profile) {
+            // TRANS: Error message displayed when referring to a user without a profile.
             $this->serverError(_m('User has no profile.'));
             return false;
         }