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

i18n: Search Results pattern #4168

Closed
wants to merge 1 commit into from
Closed

i18n: Search Results pattern #4168

wants to merge 1 commit into from

Conversation

scruffian
Copy link
Member

Changes proposed in this Pull Request:

This is for testing WordPress/gutenberg#33217

Related issue(s):

#3653

@scruffian scruffian requested a review from a team July 6, 2021 14:51
@scruffian scruffian self-assigned this Jul 6, 2021
@scruffian scruffian force-pushed the add/search-pattern branch 2 times, most recently from 4204354 to 75fcbc8 Compare July 14, 2021 14:39
<div class="wp-block-group page-content">

<!-- wp:heading -->
<h2>' . __('Results') . ':</h2>
Copy link
Member

Choose a reason for hiding this comment

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

This is tangent to the question of the Pattern block, but the colon should be a part of the string, allowing translators to localise accordingly:

Suggested change
<h2>' . __('Results') . ':</h2>
<h2>' . __('Results:') . '</h2>

This is a boon for languages that follow different punctuation conventions (e.g. alternatives to the colon, or spacing prescriptions around the colon), but also — I expect, without having tested — a way to avoid flow bugs manifesting in RTL languages.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks, TIL :)

@scruffian scruffian closed this Mar 14, 2022
@scruffian scruffian deleted the add/search-pattern branch March 14, 2022 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants