Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Language related issues. #1484

Closed
wants to merge 7 commits into from

Conversation

tm8544
Copy link

@tm8544 tm8544 commented Mar 27, 2024

Language related updates

@alextselegidis
Copy link
Owner

Great thanks!

Alex Tselegidis, Easy!Appointments Creator
Need a customization? Get a free quote!

@@ -1,5 +1,8 @@
<?php defined('BASEPATH') or exit('No direct script access allowed');
// Arabic
$lang['no_username_value_provided'] = 'No username value provided.';
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove no_username_value_provided and no_password_value_provided and move invalid_credentials_provided to the end of the file before // End

@@ -59,19 +59,19 @@ public function validate()
$username = request('username');

if (empty($username)) {
throw new InvalidArgumentException('No username value provided.');
throw new InvalidArgumentException(lang('no_username_value_provided'));
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not need to be translated because the JS will not allow for empty username submissions any longer

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, see 3a0f41d

}

$password = request('password');

if (empty($password)) {
throw new InvalidArgumentException('No password value provided.');
throw new InvalidArgumentException(lang('no_password_value_provided'));
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not need to be translated because the JS will not allow for empty username submissions any longer

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, see 3a0f41d

@tm8544
Copy link
Author

tm8544 commented Apr 8, 2024

Changed as requested

@tm8544 tm8544 closed this May 15, 2024
@tm8544 tm8544 deleted the language_updates branch May 23, 2024 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants