diff --git a/application/controllers/Login.php b/application/controllers/Login.php index 5151d3df..719a26d6 100644 --- a/application/controllers/Login.php +++ b/application/controllers/Login.php @@ -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(); diff --git a/application/language/arabic/translations_lang.php b/application/language/arabic/translations_lang.php index cb5d7da0..50ebbbf3 100755 --- a/application/language/arabic/translations_lang.php +++ b/application/language/arabic/translations_lang.php @@ -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 diff --git a/application/language/bulgarian/translations_lang.php b/application/language/bulgarian/translations_lang.php index bda10ff4..7a48baeb 100755 --- a/application/language/bulgarian/translations_lang.php +++ b/application/language/bulgarian/translations_lang.php @@ -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 diff --git a/application/language/catalan/translations_lang.php b/application/language/catalan/translations_lang.php index 95911e2a..f5e3ca12 100644 --- a/application/language/catalan/translations_lang.php +++ b/application/language/catalan/translations_lang.php @@ -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 diff --git a/application/language/chinese/translations_lang.php b/application/language/chinese/translations_lang.php index f085b24e..1db7e921 100755 --- a/application/language/chinese/translations_lang.php +++ b/application/language/chinese/translations_lang.php @@ -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 diff --git a/application/language/croatian/translations_lang.php b/application/language/croatian/translations_lang.php index c13345d4..433e4898 100644 --- a/application/language/croatian/translations_lang.php +++ b/application/language/croatian/translations_lang.php @@ -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 diff --git a/application/language/czech/translations_lang.php b/application/language/czech/translations_lang.php index 9e143510..c35d45ca 100644 --- a/application/language/czech/translations_lang.php +++ b/application/language/czech/translations_lang.php @@ -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 diff --git a/application/language/danish/translations_lang.php b/application/language/danish/translations_lang.php index c950d549..a2696bf9 100755 --- a/application/language/danish/translations_lang.php +++ b/application/language/danish/translations_lang.php @@ -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 diff --git a/application/language/dutch/translations_lang.php b/application/language/dutch/translations_lang.php index 43045f31..c622bb1b 100755 --- a/application/language/dutch/translations_lang.php +++ b/application/language/dutch/translations_lang.php @@ -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 diff --git a/application/language/english/translations_lang.php b/application/language/english/translations_lang.php index 515a0274..ad449920 100755 --- a/application/language/english/translations_lang.php +++ b/application/language/english/translations_lang.php @@ -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 diff --git a/application/language/estonian/translations_lang.php b/application/language/estonian/translations_lang.php index 310a1077..c2d9a7ca 100644 --- a/application/language/estonian/translations_lang.php +++ b/application/language/estonian/translations_lang.php @@ -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 diff --git a/application/language/finnish/translations_lang.php b/application/language/finnish/translations_lang.php index 0672d468..5c86dbf5 100755 --- a/application/language/finnish/translations_lang.php +++ b/application/language/finnish/translations_lang.php @@ -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 diff --git a/application/language/french/translations_lang.php b/application/language/french/translations_lang.php index adeb85e0..8f183515 100755 --- a/application/language/french/translations_lang.php +++ b/application/language/french/translations_lang.php @@ -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 diff --git a/application/language/german/translations_lang.php b/application/language/german/translations_lang.php index 0f7cf9b1..184ee390 100755 --- a/application/language/german/translations_lang.php +++ b/application/language/german/translations_lang.php @@ -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 diff --git a/application/language/greek/translations_lang.php b/application/language/greek/translations_lang.php index 133c1ea2..338ec540 100755 --- a/application/language/greek/translations_lang.php +++ b/application/language/greek/translations_lang.php @@ -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 diff --git a/application/language/hebrew/translations_lang.php b/application/language/hebrew/translations_lang.php index 401fcca8..c09502c3 100644 --- a/application/language/hebrew/translations_lang.php +++ b/application/language/hebrew/translations_lang.php @@ -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 diff --git a/application/language/hindi/translations_lang.php b/application/language/hindi/translations_lang.php index dc2b012f..af9bee93 100755 --- a/application/language/hindi/translations_lang.php +++ b/application/language/hindi/translations_lang.php @@ -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 diff --git a/application/language/hungarian/translations_lang.php b/application/language/hungarian/translations_lang.php index bc719406..e147b4f9 100755 --- a/application/language/hungarian/translations_lang.php +++ b/application/language/hungarian/translations_lang.php @@ -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 diff --git a/application/language/italian/translations_lang.php b/application/language/italian/translations_lang.php index 8da76e7d..6cf900aa 100755 --- a/application/language/italian/translations_lang.php +++ b/application/language/italian/translations_lang.php @@ -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 diff --git a/application/language/japanese/translations_lang.php b/application/language/japanese/translations_lang.php index 35ddbdc8..edf404c4 100755 --- a/application/language/japanese/translations_lang.php +++ b/application/language/japanese/translations_lang.php @@ -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 diff --git a/application/language/luxembourgish/translations_lang.php b/application/language/luxembourgish/translations_lang.php index b735f7e8..15551809 100755 --- a/application/language/luxembourgish/translations_lang.php +++ b/application/language/luxembourgish/translations_lang.php @@ -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 diff --git a/application/language/marathi/translations_lang.php b/application/language/marathi/translations_lang.php index 05c253c0..b3e7c776 100644 --- a/application/language/marathi/translations_lang.php +++ b/application/language/marathi/translations_lang.php @@ -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 diff --git a/application/language/persian/translations_lang.php b/application/language/persian/translations_lang.php index 08df4ce9..c2573336 100644 --- a/application/language/persian/translations_lang.php +++ b/application/language/persian/translations_lang.php @@ -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 diff --git a/application/language/polish/translations_lang.php b/application/language/polish/translations_lang.php index ec530ad0..dc6f743c 100755 --- a/application/language/polish/translations_lang.php +++ b/application/language/polish/translations_lang.php @@ -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 diff --git a/application/language/portuguese-br/translations_lang.php b/application/language/portuguese-br/translations_lang.php index af84537b..636c03da 100755 --- a/application/language/portuguese-br/translations_lang.php +++ b/application/language/portuguese-br/translations_lang.php @@ -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 diff --git a/application/language/portuguese/translations_lang.php b/application/language/portuguese/translations_lang.php index 552b9324..b929ebc3 100755 --- a/application/language/portuguese/translations_lang.php +++ b/application/language/portuguese/translations_lang.php @@ -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 diff --git a/application/language/romanian/translations_lang.php b/application/language/romanian/translations_lang.php index 65fa467a..3a5890b8 100755 --- a/application/language/romanian/translations_lang.php +++ b/application/language/romanian/translations_lang.php @@ -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 diff --git a/application/language/russian/translations_lang.php b/application/language/russian/translations_lang.php index f4473f68..1411c573 100644 --- a/application/language/russian/translations_lang.php +++ b/application/language/russian/translations_lang.php @@ -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 diff --git a/application/language/serbian/translations_lang.php b/application/language/serbian/translations_lang.php index 62ff21a0..ccc480cd 100644 --- a/application/language/serbian/translations_lang.php +++ b/application/language/serbian/translations_lang.php @@ -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 diff --git a/application/language/slovak/translations_lang.php b/application/language/slovak/translations_lang.php index 8fb2b484..70520813 100755 --- a/application/language/slovak/translations_lang.php +++ b/application/language/slovak/translations_lang.php @@ -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 diff --git a/application/language/spanish/translations_lang.php b/application/language/spanish/translations_lang.php index 91fbd743..16d979aa 100755 --- a/application/language/spanish/translations_lang.php +++ b/application/language/spanish/translations_lang.php @@ -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 diff --git a/application/language/swedish/translations_lang.php b/application/language/swedish/translations_lang.php index e3614b7e..069cd747 100644 --- a/application/language/swedish/translations_lang.php +++ b/application/language/swedish/translations_lang.php @@ -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 diff --git a/application/language/thai/translations_lang.php b/application/language/thai/translations_lang.php index 3c5f719e..c0ae3331 100644 --- a/application/language/thai/translations_lang.php +++ b/application/language/thai/translations_lang.php @@ -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 diff --git a/application/language/turkish/translations_lang.php b/application/language/turkish/translations_lang.php index fd7a5d53..87e0474f 100755 --- a/application/language/turkish/translations_lang.php +++ b/application/language/turkish/translations_lang.php @@ -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