#58149 closed defect (bug) (fixed)
Twenty Nineteen: edit comment navigation text for translations
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.3 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Bundled Theme | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
To hide "Comments" on screens narrower than 768px, it was separated from the "Previous" or "Next" text string. This can result in faulty translations, such as "Suivant Commentaires" in French. Other languages might only have one word when the phrase is combined, too.
Steps to follow:
- Activate Twenty Nineteen theme.
- Go to Discussion Settings, toggle the "Break comments into pages" option on, and reduce that number to five (or fewer) comments per page.
- Publish a post, and add several (approved) comments to it. You need at least three pages of comments.
- View the post on a screen larger than 782 pixels, and scroll to the comments section. Click the Previous Comments link so you have both the Previous and Next links.
- If you started in English, go to General Settings and change the language. Then refresh the post, on its second page of comments.
Attachments (2)
Change History (8)
This ticket was mentioned in PR #4339 on WordPress/wordpress-develop by @sabernhardt.
2 years ago
#1
- Keywords has-patch added
Combine text strings for "Previous Comments" and "Next Comments" links. The span
tags are included in the translation to give more control over what is hidden on small screens.
Trac ticket: https://core.trac.wordpress.org/ticket/58149
#2
@
2 years ago
- Keywords needs-testing added
- Milestone changed from Awaiting Review to 6.3
Thank you @sabernhardt this indeed makes a big difference for translators!
#3
@
2 years ago
- Keywords commit added; needs-testing removed
I tested the patch and while it makes no difference in en_US, it is now possible for translators to change the words order. Also, the translator comment is very welcome.
@
2 years ago
After patch, in fr_FR: everything works fine (the string is not translated yet, just wanted to check we're not going to break anything ;)
@audrasjb commented on PR #4339:
2 years ago
#6
Committed in https://core.trac.wordpress.org/changeset/55655
comments navigation links in French