[wp-trac] [WordPress Trac] #46277: Remove trailing space from strings

WordPress Trac noreply at wordpress.org
Mon Feb 18 19:41:01 UTC 2019


#46277: Remove trailing space from strings
--------------------------+-----------------------------
 Reporter:  dimadin       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  I18N          |    Version:  trunk
 Severity:  minor         |   Keywords:  has-patch
  Focuses:                |
--------------------------+-----------------------------
 [43436] introduced new strings to plugins install table that are displayed
 when plugin is requiring higher version of WordPress or PHP than one
 currently installed.

 Problem is that three strings (sentences) end with trailing space. That's
 done because after those sentences there might be another sentence if
 logged in user has necessary capability.

 This is wrong way to do. Translators might not notice trailing space, and
 certainly don't know that this is done on purpose without looking at
 source code first.

 Attached patch fixes this.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46277>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list