summaryrefslogtreecommitdiff
path: root/actions/avatarbynickname.php
diff options
context:
space:
mode:
authorMike Cochrane <mikec@mikenz.geek.nz>2008-07-12 07:53:00 -0400
committerMike Cochrane <mikec@mikenz.geek.nz>2008-07-12 07:53:00 -0400
commit16f0f6589b498c12a7872eebb134a3b776339837 (patch)
tree169602da7a733a9b2a17f931981ca847d3f43809 /actions/avatarbynickname.php
parente6d74660c3ee70b87e2afd9e17bd2adaff8fb61b (diff)
Convert more _t s to _
darcs-hash:20080712115300-533db-7426faac9059437c2a06a45ed5c87998f998aada.gz
Diffstat (limited to 'actions/avatarbynickname.php')
-rw-r--r--actions/avatarbynickname.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/actions/avatarbynickname.php b/actions/avatarbynickname.php
index c4cad9c04..98e82814b 100644
--- a/actions/avatarbynickname.php
+++ b/actions/avatarbynickname.php
@@ -24,28 +24,28 @@ class AvatarbynicknameAction extends Action {
parent::handle($args);
$nickname = $this->trimmed('nickname');
if (!$nickname) {
- $this->client_error(_t('No nickname.'));
+ $this->client_error(_('No nickname.'));
return;
}
$size = $this->trimmed('size');
if (!$size) {
- $this->client_error(_t('No size.'));
+ $this->client_error(_('No size.'));
return;
}
$size = strtolower($size);
if (!in_array($size, array('original', '96', '48', '24'))) {
- $this->client_error(_t('Invalid size.'));
+ $this->client_error(_('Invalid size.'));
return;
}
$user = User::staticGet('nickname', $nickname);
if (!$user) {
- $this->client_error(_t('No such user.'));
+ $this->client_error(_('No such user.'));
return;
}
$profile = $user->getProfile();
if (!$profile) {
- $this->client_error(_t('No such profile.'));
+ $this->client_error(_('No such profile.'));
return;
}
if ($size == 'original') {