Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#47374 closed defect (bug) (reported-upstream)

Avoid adding a space character at the end of a translatable string

Reported by: presskopp's profile 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)

space.png (2.3 KB) - added by Presskopp 6 years ago.

Download all attachments as: .zip

Change History (4)

@Presskopp
6 years ago

#1 @ocean90
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

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.

#2 @Presskopp
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.