user.php 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?php
  2. /******************************************************************************/
  3. /* Each entry of that file can be associated with a comment to indicate its */
  4. /* state. When there is no comment, it means the entry is fully translated. */
  5. /* The recognized comments are (comment matching is case-insensitive): */
  6. /* + TODO: the entry has never been translated. */
  7. /* + DIRTY: the entry has been translated but needs to be updated. */
  8. /* + IGNORE: the entry does not need to be translated. */
  9. /* When a comment is not recognized, it is discarded. */
  10. /******************************************************************************/
  11. return array(
  12. 'email' => array(
  13. 'feedback' => array(
  14. 'invalid' => 'This email address is invalid.', // TODO
  15. 'required' => 'An email address is required.', // TODO
  16. ),
  17. 'validation' => array(
  18. 'change_email' => 'You can change your email address <a href="%s">on the profile page</a>.', // TODO
  19. 'email_sent_to' => 'We sent you an email at <strong>%s</strong>. Please follow its instructions to validate your address.', // TODO
  20. 'feedback' => array(
  21. 'email_failed' => 'We couldn’t send you an email because of a server configuration error.', // TODO
  22. 'email_sent' => 'An email has been sent to your address.', // TODO
  23. 'error' => 'Email address validation failed.', // TODO
  24. 'ok' => 'This email address has been validated.', // TODO
  25. 'unnecessary' => 'This email address was already validated.', // TODO
  26. 'wrong_token' => 'This email address failed to be validated due to a wrong token.', // TODO
  27. ),
  28. 'need_to' => 'You need to validate your email address before being able to use %s.', // TODO
  29. 'resend_email' => 'Resend the email', // TODO
  30. 'title' => 'Email address validation', // TODO
  31. ),
  32. ),
  33. 'mailer' => array(
  34. 'email_need_validation' => array(
  35. 'body' => 'You’ve just registered on %s, but you still need to validate your email address. For that, just follow the link:', // TODO
  36. 'title' => 'You need to validate your account', // TODO
  37. 'welcome' => 'Welcome %s,', // TODO
  38. ),
  39. ),
  40. 'password' => array(
  41. 'invalid' => 'The password is invalid.', // TODO
  42. ),
  43. 'tos' => array(
  44. 'feedback' => array(
  45. 'invalid' => 'You must accept the Terms of Service to be able to register.', // TODO
  46. ),
  47. ),
  48. 'username' => array(
  49. 'invalid' => 'This username is invalid.', // TODO
  50. 'taken' => 'This username, %s, is taken.', // TODO
  51. ),
  52. );