summaryrefslogtreecommitdiff
path: root/classes/User.php
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2010-07-29 13:36:08 +0200
committerSiebrand Mazeland <s.mazeland@xs4all.nl>2010-07-29 13:36:08 +0200
commit125ff142e871d4cde780335d6a4f16d5f59bca83 (patch)
treead87988ca37c8cb22d48205aaa7e2de4b1ad47c3 /classes/User.php
parent312c6b68654a6bc5239526c61f23636833e5b502 (diff)
* mark a few message for translation
* add translator documentation
Diffstat (limited to 'classes/User.php')
-rw-r--r--classes/User.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/User.php b/classes/User.php
index cf8d4527b..8033229c4 100644
--- a/classes/User.php
+++ b/classes/User.php
@@ -360,11 +360,12 @@ class User extends Memcached_DataObject
__FILE__);
} else {
$notice = Notice::saveNew($welcomeuser->id,
+ // TRANS: Notice given on user registration.
+ // TRANS: %1$s is the sitename, $2$s is the registering user's nickname.
sprintf(_('Welcome to %1$s, @%2$s!'),
common_config('site', 'name'),
$user->nickname),
'system');
-
}
}
@@ -375,7 +376,6 @@ class User extends Memcached_DataObject
}
// Things we do when the email changes
-
function emailChanged()
{