X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Fuser.php;h=55b84f4e5e3379b4f4debab91ef6330c9bf0bea9;hp=551e7d57038aa44c5ffe03c0b6cbfb7d81e249d5;hb=106c90b95129be78b2763553c72e3aa131f5ee4b;hpb=aeb9ef98850e762291bc6a1d39b31d1ac4db4817 diff --git a/include/user.php b/include/user.php index 551e7d5..55b84f4 100644 --- a/include/user.php +++ b/include/user.php @@ -1,5 +1,5 @@ +/* Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Arun Persaud * * This file is part of e-DoKo. * @@ -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 */