mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2025-01-02 20:12:51 +03:00
Translate invalid credentials message (#1544)
This commit is contained in:
parent
90a05b2815
commit
cd5b56e0b0
34 changed files with 34 additions and 1 deletions
|
@ -81,7 +81,7 @@ class Login extends EA_Controller
|
|||
}
|
||||
|
||||
if (empty($user_data)) {
|
||||
throw new InvalidArgumentException('Invalid credentials provided, please try again.');
|
||||
throw new InvalidArgumentException(lang('invalid_credentials_provided'));
|
||||
}
|
||||
|
||||
$this->session->sess_regenerate();
|
||||
|
|
|
@ -480,4 +480,5 @@ $lang['role'] = 'Role';
|
|||
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
|
||||
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
|
||||
$lang['fields'] = 'Fields';
|
||||
$lang['invalid_credentials_provided'] = 'Invalid credentials provided, please try again.';
|
||||
// End
|
||||
|
|
|
@ -480,4 +480,5 @@ $lang['role'] = 'Role';
|
|||
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
|
||||
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
|
||||
$lang['fields'] = 'Fields';
|
||||
$lang['invalid_credentials_provided'] = 'Invalid credentials provided, please try again.';
|
||||
// End
|
||||
|
|
|
@ -480,4 +480,5 @@ $lang['role'] = 'Rol';
|
|||
$lang['at_least_one_field_required'] = 'Com a mínim un camp s\'ha de marcar com a obligatori a la pàgina de reserva.';
|
||||
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
|
||||
$lang['fields'] = 'Fields';
|
||||
$lang['invalid_credentials_provided'] = 'Invalid credentials provided, please try again.';
|
||||
// End
|
||||
|
|
|
@ -480,4 +480,5 @@ $lang['role'] = 'Role';
|
|||
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
|
||||
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
|
||||
$lang['fields'] = 'Fields';
|
||||
$lang['invalid_credentials_provided'] = 'Invalid credentials provided, please try again.';
|
||||
// End
|
||||
|
|
|
@ -480,4 +480,5 @@ $lang['role'] = 'Role';
|
|||
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
|
||||
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
|
||||
$lang['fields'] = 'Fields';
|
||||
$lang['invalid_credentials_provided'] = 'Invalid credentials provided, please try again.';
|
||||
// End
|
||||
|
|
|
@ -480,4 +480,5 @@ $lang['role'] = 'Role';
|
|||
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
|
||||
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
|
||||
$lang['fields'] = 'Fields';
|
||||
$lang['invalid_credentials_provided'] = 'Invalid credentials provided, please try again.';
|
||||
// End
|
||||
|
|
|
@ -480,4 +480,5 @@ $lang['role'] = 'Role';
|
|||
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
|
||||
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
|
||||
$lang['fields'] = 'Fields';
|
||||
$lang['invalid_credentials_provided'] = 'Invalid credentials provided, please try again.';
|
||||
// End
|
||||
|
|
|
@ -480,4 +480,5 @@ $lang['role'] = 'Role';
|
|||
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
|
||||
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
|
||||
$lang['fields'] = 'Fields';
|
||||
$lang['invalid_credentials_provided'] = 'Invalid credentials provided, please try again.';
|
||||
// End
|
||||
|
|
|
@ -480,4 +480,5 @@ $lang['role'] = 'Role';
|
|||
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
|
||||
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
|
||||
$lang['fields'] = 'Fields';
|
||||
$lang['invalid_credentials_provided'] = 'Invalid credentials provided, please try again.';
|
||||
// End
|
||||
|
|
|
@ -480,4 +480,5 @@ $lang['role'] = 'Role';
|
|||
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
|
||||
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
|
||||
$lang['fields'] = 'Fields';
|
||||
$lang['invalid_credentials_provided'] = 'Invalid credentials provided, please try again.';
|
||||
// End
|
||||
|
|
|
@ -480,4 +480,5 @@ $lang['role'] = 'Role';
|
|||
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
|
||||
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
|
||||
$lang['fields'] = 'Fields';
|
||||
$lang['invalid_credentials_provided'] = 'Invalid credentials provided, please try again.';
|
||||
// End
|
||||
|
|
|
@ -480,4 +480,5 @@ $lang['role'] = 'Role';
|
|||
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
|
||||
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
|
||||
$lang['fields'] = 'Fields';
|
||||
$lang['invalid_credentials_provided'] = 'Invalid credentials provided, please try again.';
|
||||
// End
|
||||
|
|
|
@ -480,4 +480,5 @@ $lang['role'] = 'Rolle';
|
|||
$lang['at_least_one_field_required'] = 'Mindestens ein Feld muss auf der Buchungsseite als erforderlich gekennzeichnet sein.';
|
||||
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
|
||||
$lang['fields'] = 'Fields';
|
||||
$lang['invalid_credentials_provided'] = 'Invalid credentials provided, please try again.';
|
||||
// End
|
||||
|
|
|
@ -480,4 +480,5 @@ $lang['role'] = 'Ρόλος';
|
|||
$lang['at_least_one_field_required'] = 'Τουλάχιστον ένα πεδίο πρέπει να έχει οριστεί ως υποχρεωτικό στη σελίδα κράτησης.';
|
||||
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
|
||||
$lang['fields'] = 'Fields';
|
||||
$lang['invalid_credentials_provided'] = 'Invalid credentials provided, please try again.';
|
||||
// End
|
||||
|
|
|
@ -480,4 +480,5 @@ $lang['role'] = 'Role';
|
|||
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
|
||||
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
|
||||
$lang['fields'] = 'Fields';
|
||||
$lang['invalid_credentials_provided'] = 'Invalid credentials provided, please try again.';
|
||||
// End
|
||||
|
|
|
@ -480,4 +480,5 @@ $lang['role'] = 'Role';
|
|||
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
|
||||
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
|
||||
$lang['fields'] = 'Fields';
|
||||
$lang['invalid_credentials_provided'] = 'Invalid credentials provided, please try again.';
|
||||
// End
|
||||
|
|
|
@ -480,4 +480,5 @@ $lang['role'] = 'Role';
|
|||
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
|
||||
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
|
||||
$lang['fields'] = 'Fields';
|
||||
$lang['invalid_credentials_provided'] = 'Invalid credentials provided, please try again.';
|
||||
// End
|
||||
|
|
|
@ -480,4 +480,5 @@ $lang['role'] = 'Role';
|
|||
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
|
||||
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
|
||||
$lang['fields'] = 'Fields';
|
||||
$lang['invalid_credentials_provided'] = 'Invalid credentials provided, please try again.';
|
||||
// End
|
||||
|
|
|
@ -480,4 +480,5 @@ $lang['role'] = 'Role';
|
|||
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
|
||||
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
|
||||
$lang['fields'] = 'Fields';
|
||||
$lang['invalid_credentials_provided'] = 'Invalid credentials provided, please try again.';
|
||||
// End
|
||||
|
|
|
@ -480,4 +480,5 @@ $lang['role'] = 'Role';
|
|||
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
|
||||
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
|
||||
$lang['fields'] = 'Fields';
|
||||
$lang['invalid_credentials_provided'] = 'Invalid credentials provided, please try again.';
|
||||
// End
|
||||
|
|
|
@ -480,4 +480,5 @@ $lang['role'] = 'Role';
|
|||
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
|
||||
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
|
||||
$lang['fields'] = 'Fields';
|
||||
$lang['invalid_credentials_provided'] = 'Invalid credentials provided, please try again.';
|
||||
// End
|
||||
|
|
|
@ -480,4 +480,5 @@ $lang['role'] = 'Role';
|
|||
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
|
||||
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
|
||||
$lang['fields'] = 'Fields';
|
||||
$lang['invalid_credentials_provided'] = 'Invalid credentials provided, please try again.';
|
||||
// End
|
||||
|
|
|
@ -480,4 +480,5 @@ $lang['role'] = 'Role';
|
|||
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
|
||||
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
|
||||
$lang['fields'] = 'Fields';
|
||||
$lang['invalid_credentials_provided'] = 'Invalid credentials provided, please try again.';
|
||||
// End
|
||||
|
|
|
@ -480,4 +480,5 @@ $lang['role'] = 'Role';
|
|||
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
|
||||
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
|
||||
$lang['fields'] = 'Fields';
|
||||
$lang['invalid_credentials_provided'] = 'Invalid credentials provided, please try again.';
|
||||
// End
|
||||
|
|
|
@ -480,4 +480,5 @@ $lang['role'] = 'Role';
|
|||
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
|
||||
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
|
||||
$lang['fields'] = 'Fields';
|
||||
$lang['invalid_credentials_provided'] = 'Invalid credentials provided, please try again.';
|
||||
// End
|
||||
|
|
|
@ -480,4 +480,5 @@ $lang['role'] = 'Role';
|
|||
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
|
||||
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
|
||||
$lang['fields'] = 'Fields';
|
||||
$lang['invalid_credentials_provided'] = 'Invalid credentials provided, please try again.';
|
||||
// End
|
||||
|
|
|
@ -480,4 +480,5 @@ $lang['role'] = 'Role';
|
|||
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
|
||||
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
|
||||
$lang['fields'] = 'Fields';
|
||||
$lang['invalid_credentials_provided'] = 'Invalid credentials provided, please try again.';
|
||||
// End
|
||||
|
|
|
@ -480,4 +480,5 @@ $lang['role'] = 'Role';
|
|||
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
|
||||
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
|
||||
$lang['fields'] = 'Fields';
|
||||
$lang['invalid_credentials_provided'] = 'Invalid credentials provided, please try again.';
|
||||
// End
|
||||
|
|
|
@ -480,4 +480,5 @@ $lang['role'] = 'Role';
|
|||
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
|
||||
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
|
||||
$lang['fields'] = 'Fields';
|
||||
$lang['invalid_credentials_provided'] = 'Invalid credentials provided, please try again.';
|
||||
// End
|
||||
|
|
|
@ -480,4 +480,5 @@ $lang['role'] = 'Role';
|
|||
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
|
||||
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
|
||||
$lang['fields'] = 'Fields';
|
||||
$lang['invalid_credentials_provided'] = 'Invalid credentials provided, please try again.';
|
||||
// End
|
||||
|
|
|
@ -480,4 +480,5 @@ $lang['role'] = 'Role';
|
|||
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
|
||||
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
|
||||
$lang['fields'] = 'Fields';
|
||||
$lang['invalid_credentials_provided'] = 'Invalid credentials provided, please try again.';
|
||||
// End
|
||||
|
|
|
@ -480,4 +480,5 @@ $lang['role'] = 'Role';
|
|||
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
|
||||
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
|
||||
$lang['fields'] = 'Fields';
|
||||
$lang['invalid_credentials_provided'] = 'Invalid credentials provided, please try again.';
|
||||
// End
|
||||
|
|
|
@ -480,4 +480,5 @@ $lang['role'] = 'Role';
|
|||
$lang['at_least_one_field_required'] = 'At least one field must be set as required in the booking page.';
|
||||
$lang['customer_is_already_booked'] = 'This customer already has an appointment during the requested reservation period.';
|
||||
$lang['fields'] = 'Fields';
|
||||
$lang['invalid_credentials_provided'] = 'Invalid credentials provided, please try again.';
|
||||
// End
|
||||
|
|
Loading…
Reference in a new issue