summaryrefslogtreecommitdiff
path: root/actions/avatarbynickname.php
diff options
context:
space:
mode:
authorMike Cochrane <mikec@mikenz.geek.nz>2008-07-13 01:37:48 -0400
committerMike Cochrane <mikec@mikenz.geek.nz>2008-07-13 01:37:48 -0400
commitb104da04fbcdc39faae42b4a714b730e3e1b05f5 (patch)
tree6c06b9b47318963b70b6ae7ab2103cc827ae1d9a /actions/avatarbynickname.php
parent834c21b2aaf78da1081416d05098286e9bf17c2a (diff)
Colapse a lot of strings to make like easier for translators and more consisitant for users
darcs-hash:20080713053748-533db-1cdb0cf3a9e4102eb139b74a7a9d4f97dadb20b8.gz
Diffstat (limited to 'actions/avatarbynickname.php')
-rw-r--r--actions/avatarbynickname.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/actions/avatarbynickname.php b/actions/avatarbynickname.php
index 98e82814b..b33cababf 100644
--- a/actions/avatarbynickname.php
+++ b/actions/avatarbynickname.php
@@ -37,7 +37,7 @@ class AvatarbynicknameAction extends Action {
$this->client_error(_('Invalid size.'));
return;
}
-
+
$user = User::staticGet('nickname', $nickname);
if (!$user) {
$this->client_error(_('No such user.'));
@@ -45,7 +45,7 @@ class AvatarbynicknameAction extends Action {
}
$profile = $user->getProfile();
if (!$profile) {
- $this->client_error(_('No such profile.'));
+ $this->client_error(_('User has no profile.'));
return;
}
if ($size == 'original') {
@@ -53,7 +53,7 @@ class AvatarbynicknameAction extends Action {
} else {
$avatar = $profile->getAvatar($size+0);
}
-
+
if ($avatar) {
$url = $avatar->url;
} else {