Skip to content

Make the title of the "Show Password" checkbox translatable #34370

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

Conversation

densen45
Copy link
Contributor

@densen45 densen45 commented Oct 18, 2021

Description (*)

The title of the "Show Password" checkbox (Customer Login, Customer Registration, Customer Edit (Change Password section), Customer Set New Password) is not translatable. This pull request makes the title translatable.

Related Pull Requests

Fixed Issues (if relevant)

Manual testing scenarios (*)

  1. Create an i18n translation for the string "Show Password".
  2. Access the above mentioned pages.
  3. Hover over the checkbox to see the title.

Questions or comments

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • README.md files for modified modules are updated and included in the pull request if any README.md predefined sections require an update
  • All automated tests passed successfully (all builds are green)

Resolved issues:

  1. resolves [Issue] Make the title of the "Show Password" checkbox translatable #34857: Make the title of the "Show Password" checkbox translatable

@m2-assistant
Copy link

m2-assistant bot commented Oct 18, 2021

Hi @densen45. Thank you for your contribution
Here are some useful tips how you can test your changes using Magento test environment.
Add the comment under your pull request to deploy test or vanilla Magento instance:

  • @magento give me test instance - deploy test instance based on PR changes
  • @magento give me 2.4-develop instance - deploy vanilla Magento instance

❗ Automated tests can be triggered manually with an appropriate comment:

  • @magento run all tests - run or re-run all required tests against the PR changes
  • @magento run <test-build(s)> - run or re-run specific test build(s)
    For example: @magento run Unit Tests

<test-build(s)> is a comma-separated list of build names. Allowed build names are:

  1. Database Compare
  2. Functional Tests CE
  3. Functional Tests EE,
  4. Functional Tests B2B
  5. Integration Tests
  6. Magento Health Index
  7. Sample Data Tests CE
  8. Sample Data Tests EE
  9. Sample Data Tests B2B
  10. Static Tests
  11. Unit Tests
  12. WebAPI Tests
  13. Semantic Version Checker

You can find more information about the builds here

ℹ️ Please run only needed test builds instead of all when developing. Please run all test builds before sending your PR for review.

For more details, please, review the Magento Contributor Guide documentation.

⚠️ According to the Magento Contribution requirements, all Pull Requests must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.

🕙 You can find the schedule on the Magento Community Calendar page.

📞 The triage of Pull Requests happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket.

🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel

✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel

@densen45
Copy link
Contributor Author

@magento run all tests

@magento-automated-testing
Copy link

The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time.

@densen45
Copy link
Contributor Author

@magento run all tests

@magento-automated-testing
Copy link

The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time.

@densen45 densen45 force-pushed the translate-title-of-show-password-checkbox branch from befcf06 to 9610374 Compare October 19, 2021 05:46
@ihor-sviziev ihor-sviziev added the Severity: S3 Affects non-critical data or functionality and does not force users to employ a workaround. label Oct 19, 2021
@ihor-sviziev ihor-sviziev self-assigned this Oct 19, 2021
@ihor-sviziev ihor-sviziev added Auto-Tests: Not Required Changes in Pull Request does not require coverage by auto-tests Progress: pending review Award: bug fix and removed Progress: review labels Oct 19, 2021
@magento-engcom-team
Copy link
Contributor

Hi @ihor-sviziev, thank you for the review.
ENGCOM-9266 has been created to process this Pull Request

@magento-engcom-team
Copy link
Contributor

@densen45 thank you for contributing. Please accept Community Contributors team invitation here to gain extended permissions for this repository.

@magento-engcom-team
Copy link
Contributor

Hi @Den4ik, thank you for the review.
ENGCOM-9266 has been created to process this Pull Request

@Den4ik
Copy link
Contributor

Den4ik commented Nov 23, 2021

It could be another issue related to multistore

@densen45
Copy link
Contributor Author

densen45 commented Nov 29, 2021

Hey @engcom-Alfa, I don't understand why the issue you describe is blocking this PR. Please help me, maybe I'm missing something.
The goal of this PR was to make the checkbox title translatable, not to fix the issue that the checkbox and the title are not displayed at all in some languages/multi language setups (before your comment I was not aware of this issue). For sure, that is a pity and should be fixed as well but I would suggest in another issue/PR.

@engcom-Lima engcom-Lima self-assigned this Dec 17, 2021
@engcom-Lima
Copy link
Contributor

@magento run all tests

@magento-automated-testing
Copy link

The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time.

1 similar comment
@magento-automated-testing
Copy link

The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time.

@ihor-sviziev
Copy link
Contributor

@magento run Functional Tests B2B, Functional Tests CE

@magento-automated-testing
Copy link

The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time.

@Den4ik
Copy link
Contributor

Den4ik commented Dec 17, 2021

I don't see any problems with this PR and preferrer move it to merge in progress

@magento-automated-testing
Copy link

The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time.

@magento-engcom-team
Copy link
Contributor

Hi @ihor-sviziev, thank you for the review.
ENGCOM-9266 has been created to process this Pull Request

@engcom-Alfa
Copy link
Contributor

@magento create issue

@engcom-Alfa
Copy link
Contributor

✔️ QA Passed

Preconditions:

  1. Have Magento latest installed.
  2. Make sure to configure other language than English using the GUIDE.
  3. Make sure to have the relevant language .csv file saved into the /app/i18n directory.
  4. Make sure to have the translated text of "Show Password" in the csv file.

Manual testing scenario:

  1. Admin > Store > Configure > Locale Options > Set the Locale to Other language that is configured as per pre conditions

  2. Open the Magento front end and Navigate to Login page.

Before: ✖️ "Show Password" text was not getting translated to preferred language

Screenshot 2021-12-21 at 4 21 28 PM

After: ✔️ "Show Password" text is getting translated to preferred language

Screenshot 2021-12-21 at 4 55 05 PM

Since it is specific case relavant text translation, there is no additional testing is required as part of regression.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Frontend Auto-Tests: Not Required Changes in Pull Request does not require coverage by auto-tests Award: bug fix Component: Customer Priority: P1 Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing. Progress: accept Release Line: 2.4 Risk: low Severity: S3 Affects non-critical data or functionality and does not force users to employ a workaround.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Issue] Make the title of the "Show Password" checkbox translatable
8 participants