summaryrefslogtreecommitdiffstats
path: root/include/user.php
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2012-12-31 16:46:02 +0000
committerArun Persaud <arun@nubati.net>2013-01-12 15:04:24 -0800
commit2d296b5743e2f2a07816f08e42d9ee1828e26a67 (patch)
tree8d497666d0b4a65b90a695aa77c4a105f6d56621 /include/user.php
parenta38183cf36a31f4372a5e37d09c6312a9fa267f7 (diff)
downloade-DoKo-2d296b5743e2f2a07816f08e42d9ee1828e26a67.tar.gz
e-DoKo-2d296b5743e2f2a07816f08e42d9ee1828e26a67.tar.bz2
e-DoKo-2d296b5743e2f2a07816f08e42d9ee1828e26a67.zip
fixed more language settings in email; marked more strings for translation
Diffstat (limited to 'include/user.php')
-rw-r--r--include/user.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/user.php b/include/user.php
index 551e7d5..a80fddd 100644
--- a/include/user.php
+++ b/include/user.php
@@ -64,12 +64,12 @@ if(myisset('forgot'))
$hash = md5('Anewpassword'.$email.$TIME);
$newpw = substr($hash,1,8);
- $message = "Someone (hopefully you) requested a new password. \n".
- "You can use this email and the following password: \n".
- " $newpw \n".
+ $message = sprintf( _("Someone (hopefully you) requested a new password.\n".
+ "You can use this email and the following password:\n".
+ " %s\n".
"to log into the server. The new password is valid for 24h, so make\n".
"sure you reset your password to something new. Your old password will\n".
- "also still be valid until you set a new one.\n";
+ "also still be valid until you set a new one.\n"), $newpw);
mymail($myid,0, GAME_RECOVERY, $message);
/* we save these in the database */