Browse Source
Modified lang-file constants to include prefix. This will help avoid collisions. Also added a few missing items to the lang-file. Modified list_user_var_keys() to return an array so that it can be looped through. Fixed duplicate message when sending password reset email, line 424. modified: application/language/english/aauth_lang.php modified: application/libraries/Aauth.phpdevelop
2 changed files with 2057 additions and 2043 deletions
@ -1,35 +1,47 @@ |
|||||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); |
||||||
|
|
||||||
$lang['verification_subject'] = 'Account Vertification'; |
/* E-mail Messages */ |
||||||
$lang['reset'] = 'Pasword Reset'; |
|
||||||
|
// Account verification |
||||||
// error mesages |
$lang['aauth_email_verification_subject'] = 'Account Verification'; |
||||||
// change to your language |
$lang['aauth_email_verification_code'] = 'Your verification code is: '; |
||||||
|
$lang['aauth_email_verification_link'] = " You can also click on (or copy and paste) the following link\n\nhttp://yourdomain/account/verification/"; |
||||||
$lang['email_taken'] = 'E-mail is already taken'; |
|
||||||
$lang['email_invalid'] = 'E-mail invalid'; |
// Password reset |
||||||
$lang['pass_invalid'] = 'Password invalid'; |
$lang['aauth_email_reset_subject'] = 'Reset Password'; |
||||||
$lang['name_invalid'] = 'Name invalid'; |
$lang['aauth_email_reset_link'] = "To reset your password click on (or copy and paste in your browser address bar) the link below:\n\nhttp://yourdomain/account/reset_password/"; |
||||||
$lang['code'] = 'Your code is: '; |
|
||||||
$lang['link'] = ' or you can copy and paste falowing link http://localhost/vert/'; |
// Password reset success |
||||||
|
$lang['aauth_email_reset_success_subject'] = 'Successful Pasword Reset'; |
||||||
$lang['remind'] = 'If you want to reset your password click the copy and go the link below http://localhost/reset/'; |
$lang['aauth_email_reset_success_new_password'] = 'Your password has successfully been reset. Your new password is : '; |
||||||
$lang['new_password'] = 'Your new password is : '; |
|
||||||
|
|
||||||
// no access |
/* Error Messages */ |
||||||
$lang['no_access'] = 'You dont have access.'; |
|
||||||
|
// Account creation errors |
||||||
// |
$lang['aauth_error_email_exists'] = 'Email address already exists on the system. If you forgot your password, you can click the link below.'; |
||||||
$lang['wrong'] = 'E-mail or Password is wrong.'; |
$lang['aauth_error_username_exists'] = "Account already exists on the system with that username. Please enter a different username, or if you forgot your password, please click the link below."; |
||||||
$lang['exceeded'] = 'Login try limit exceeded.'; |
$lang['aauth_error_email_invalid'] = 'Invalid e-mail address'; |
||||||
$lang['recaptcha_not_correct'] = 'reCAPTCHA is incorrect.'; |
$lang['aauth_error_password_invalid'] = 'Invalid password'; |
||||||
$lang['no_user'] = 'User not Exist'; |
$lang['aauth_error_username_invalid'] = 'Invalid Username'; |
||||||
$lang['not_verified'] = 'Please verify your account.'; |
$lang['aauth_error_username_required'] = 'Username required'; |
||||||
$lang['group_exist'] = 'Group already exists'; |
|
||||||
$lang['no_group'] = 'Group doesn\'t exists'; |
// Access errors |
||||||
$lang['self_pm'] = 'It is not reasonable to send pm to yourself :)'; |
$lang['aauth_error_no_access'] = 'Sorry, you do not have access to the resource you requested.'; |
||||||
$lang['no_pm'] = 'Pm not found'; |
$lang['aauth_error_login_failed'] = 'E-mail Address and Password do not match.'; |
||||||
|
$lang['aauth_error_login_attempts_exceeded'] = 'You have exceeded your login attempts, your account has now been locked.'; |
||||||
//info |
$lang['aauth_error_recaptcha_not_correct'] = 'Sorry, the reCAPTCHA text entered was incorrect.'; |
||||||
$lang['already_member'] = 'User already member of group'; |
|
||||||
$lang['already_perm'] = 'Permission name already existed'; |
|
||||||
|
// Misc. errors |
||||||
|
$lang['aauth_error_no_user'] = 'User does not exist'; |
||||||
|
$lang['aauth_error_account_not_verified'] = 'Your account has not been verified. Please check your e-mail and verify your account.'; |
||||||
|
$lang['aauth_error_no_group'] = 'Group does not exist'; |
||||||
|
$lang['aauth_error_self_pm'] = 'It is not possible to send a Message to yourself.'; |
||||||
|
$lang['aauth_error_no_pm'] = 'Private Message not found'; |
||||||
|
|
||||||
|
|
||||||
|
/* Info messages */ |
||||||
|
$lang['aauth_info_already_member'] = 'User is already member of group'; |
||||||
|
$lang['aauth_info_group_exists'] = 'Group name already exists'; |
||||||
|
$lang['aauth_info_perm_exists'] = 'Permission name already exists'; |
||||||
|
Loading…
Reference in new issue