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

Update translation for payment request settings section notice #3774

Merged
merged 6 commits into from
Jan 29, 2025

Conversation

hsingyuc
Copy link
Contributor

Changes proposed in this Pull Request:

I've checked German, Swiss German, Spanish, and Japanese translations. The notice Some appearance settings may be overridden by the express payment section of the Cart & Checkout blocks. is not translated, but the current translation is broken; this PR uses interpolateComponents to internationalize the string.

Screenshot 2025-01-24 at 6 12 01 PM

Testing instructions

I'm not sure if there's a way to test this but maybe we can regenerate the po file and see if the text needs to be translated is included.


  • Covered with tests (or have a good reason not to test in description ☝️)
  • Added changelog entry in both changelog.txt and readme.txt (or does not apply)
  • Tested on mobile (or does not apply)

Post merge

@hsingyuc hsingyuc requested review from a team and wjrosa and removed request for a team January 24, 2025 23:20
@hsingyuc hsingyuc self-assigned this Jan 24, 2025
mixedString: __(
'Some appearance settings may be overridden by the express payment section of the ' +
'{{checkoutPageLink}}Cart & Checkout blocks{{/checkoutPageLink}}. ' +
'Follow the instructions there and check back soon.',
Copy link
Contributor

Choose a reason for hiding this comment

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

English is not my native language, but I am not sure this sentence is totally correct 🤔. I mean, especially the "check back soon" part.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you for catching that, @wjrosa! Fixed in d102ee5

Copy link
Contributor

Choose a reason for hiding this comment

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

Nice! Thanks for fixing it. I think with the latest updates the changelog got messed up. Maybe this PR needs a rebase or something.

Copy link
Contributor

Choose a reason for hiding this comment

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

Oops, you just did it. Everything is OK now 👍

Copy link
Contributor

@wjrosa wjrosa left a comment

Choose a reason for hiding this comment

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

Changes look good! Left a question regarding the phrasing.

@hsingyuc hsingyuc merged commit 799a6ba into develop Jan 29, 2025
37 checks passed
@hsingyuc hsingyuc deleted the update/translation branch January 29, 2025 19:24
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.

2 participants