[wp-trac] [WordPress Trac] #63620: Remove translator comments when hidden text matches visible text

WordPress Trac noreply at wordpress.org
Tue Jul 15 15:22:45 UTC 2025


#63620: Remove translator comments when hidden text matches visible text
-------------------------------------------------+-------------------------
 Reporter:  sabernhardt                          |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  I18N                                 |     Version:  6.2
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch changes-requested 2nd-     |     Focuses:
  opinion                                        |  accessibility
-------------------------------------------------+-------------------------

Comment (by joedolson):

 Could we instead just assign these strings to a variable, then *actually*
 only have one string? If the two strings are the same, I think we're just
 complicating things by having two separate translatable strings in the
 first place. If the first thing that @sabernhardt noticed was a mismatched
 pair of strings, that's a preventable problem by not having two strings.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63620#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list