#47374 closed defect (bug) (reported-upstream)
Avoid adding a space character at the end of a translatable string
Reported by: | Presskopp | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Editor | Keywords: | |
Focuses: | Cc: |
Description
We should never add a space at the end of a translatable string, because you cannot see it and you don't expect it to be there as a translator.
In this case, there's one at
https://build.trac.wordpress.org/browser/trunk/wp-includes/js/dist/edit-post.js?marks=5663#L5663
..leading to an ugly link - see screenshot
Attachments (1)
Change History (4)
#1
@
6 years ago
- Keywords needs-patch good-first-bug removed
- Milestone Awaiting Review deleted
- Resolution set to reported-upstream
- Status changed from new to closed
#2
@
6 years ago
There are more strings like that:
"Pingback excerpt: "
"Trackback excerpt: "
"Tags: "
This ticket was mentioned in Slack in #polyglots by nao. View the logs.
5 years ago
Note: See
TracTickets for help on using
tickets.
Thanks for the report @Presskopp. Since the string is part of an external package by Gutenberg, I have moved the report to GitHub: https://github.com/WordPress/gutenberg/issues/15813.