diff options
author | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-10-25 23:51:00 +0200 |
---|---|---|
committer | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-10-28 01:21:09 +0200 |
commit | a12474a99d0322123b1c8318dfa609d5d5392c7f (patch) | |
tree | 85e97c1475acd17cce415ff80848d518ab7e4be9 /actions/allrss.php | |
parent | 60b66bdd6e3bbc083aec6126b8583714dc24b94d (diff) |
* i18n/L10n fixes.
* translator documentation updated.
* superfluous whitespace removed.
Diffstat (limited to 'actions/allrss.php')
-rw-r--r-- | actions/allrss.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/actions/allrss.php b/actions/allrss.php index 7df0b1ef7..d398c8a6a 100644 --- a/actions/allrss.php +++ b/actions/allrss.php @@ -1,5 +1,4 @@ <?php - /** * RSS feed for user and friends timeline action class. * @@ -57,7 +56,6 @@ class AllrssAction extends Rss10Action * @param array $args Web and URL arguments * * @return boolean false if user doesn't exist - */ function prepare($args) { parent::prepare($args); @@ -65,6 +63,7 @@ class AllrssAction extends Rss10Action $this->user = User::staticGet('nickname', $nickname); if (!$this->user) { + // TRANS: Client error when user not found for an rss related action. $this->clientError(_('No such user.')); return false; } else { @@ -127,7 +126,7 @@ class AllrssAction extends Rss10Action * Get image. * * @return string user avatar URL or null - */ + */ function getImage() { $user = $this->user; @@ -139,4 +138,3 @@ class AllrssAction extends Rss10Action return $avatar ? $avatar->url : null; } } - |