diff options
author | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-07-29 13:01:04 +0200 |
---|---|---|
committer | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-07-29 13:01:04 +0200 |
commit | 5813ecada276147d120d42ce2a92343313cf0029 (patch) | |
tree | dd5e0af9bd42969fa4da8c4468da33819a879ef4 /classes/Login_token.php | |
parent | e7acb45b5733e97ab9504aff5e4255a17fe5c6de (diff) |
* add translator documentation
* mark strings for translation
* add FIXME for unclear/confusing message
Diffstat (limited to 'classes/Login_token.php')
-rw-r--r-- | classes/Login_token.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/Login_token.php b/classes/Login_token.php index 51dc61262..20d5d9dbc 100644 --- a/classes/Login_token.php +++ b/classes/Login_token.php @@ -73,6 +73,8 @@ class Login_token extends Memcached_DataObject if (!$result) { common_log_db_error($login_token, 'INSERT', __FILE__); + // TRANS: Exception thrown when trying creating a login token failed. + // TRANS: %s is the user nickname for which token creation failed. throw new Exception(sprintf(_('Could not create login token for %s'), $user->nickname)); } |