* update L10n

* remove superfluous whitespace
This commit is contained in:
Siebrand Mazeland 2010-09-18 15:26:48 +02:00
parent edb411b4ae
commit 52ccc8e521

View File

@ -46,7 +46,6 @@ if (!defined('STATUSNET')) {
* @license http://www.fsf.org/licensing/licenses/agpl.html AGPLv3 * @license http://www.fsf.org/licensing/licenses/agpl.html AGPLv3
* @link http://status.net/ * @link http://status.net/
*/ */
class HelloAction extends Action class HelloAction extends Action
{ {
var $user = null; var $user = null;
@ -67,7 +66,6 @@ class HelloAction extends Action
* *
* @return boolean success flag * @return boolean success flag
*/ */
function prepare($args) function prepare($args)
{ {
parent::prepare($args); parent::prepare($args);
@ -93,7 +91,6 @@ class HelloAction extends Action
* *
* @return void * @return void
*/ */
function handle($args) function handle($args)
{ {
parent::handle($args); parent::handle($args);
@ -108,13 +105,12 @@ class HelloAction extends Action
* *
* @return string Title of the page * @return string Title of the page
*/ */
function title() function title()
{ {
if (empty($this->user)) { if (empty($this->user)) {
return _m('Hello'); return _m('Hello');
} else { } else {
return sprintf(_m('Hello, %s'), $this->user->nickname); return sprintf(_m('Hello, %s!'), $this->user->nickname);
} }
} }
@ -130,7 +126,6 @@ class HelloAction extends Action
* *
* @return void * @return void
*/ */
function showContent() function showContent()
{ {
if (empty($this->user)) { if (empty($this->user)) {
@ -162,7 +157,6 @@ class HelloAction extends Action
* *
* @return boolean is read only action? * @return boolean is read only action?
*/ */
function isReadOnly($args) function isReadOnly($args)
{ {
return false; return false;