]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Login_token.php
- Update getrequesttoken test script to use 1.0a
[quix0rs-gnu-social.git] / classes / Login_token.php
index 51dc61262eb96592e1f9c665b3caae8a1b2a0e9e..20d5d9dbcefcb3c62b9a9bfe8a7cf894f245a292 100644 (file)
@@ -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));
         }