[wp-trac] [WordPress Trac] #63620: Remove translator comments when hidden text matches visible text
WordPress Trac
noreply at wordpress.org
Tue Jul 15 23:11:41 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 sabernhardt):
The strings are not exactly 'separate' or 'duplicate'. The same string is
in at least two places, but one identifies its context without
acknowledging the other context(s).
I don't think we will agree on a change like PR 9080, and I did not fully
expect agreement when I opened the ticket (especially considering that
#29748 involved at least seven committers).
Except for the new 'Administration Color Scheme' string (updated in
r60284), most of these strings already have more than 100 approved
translations. Therefore, the comment could have a very low probability of
leading to a less accurate translation in the future.
For a **small** edit, the 'Enable menus' legend could match the 'Enable
administration menus' visible text.
Two other header cells do not match their corresponding legend, but at
least one legend seems appropriate enough the way it is:
- 'Allow new registrations' header with 'New registrations settings' as
hidden legend ([https://github.com/WordPress/wordpress-
develop/blob/6.8.2/src/wp-admin/network/settings.php#L203-L217
network/settings.php])
- 'Attributes' header with 'Set site attributes' as hidden legend
([https://github.com/WordPress/wordpress-develop/blob/6.8.2/src/wp-
admin/network/site-info.php#L208-L216 network/site-info.php])
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63620#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list