[wp-trac] [WordPress Trac] #64986: preview needs gettext

WordPress Trac noreply at wordpress.org
Wed Apr 29 09:23:26 UTC 2026


#64986: preview needs gettext
-------------------------------------------------+-------------------------
 Reporter:  timse201                             |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  7.0
Component:  I18N                                 |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  good-first-bug has-patch changes-    |     Focuses:
  requested                                      |  accessibility
-------------------------------------------------+-------------------------
Changes (by audrasjb):

 * keywords:  good-first-bug has-patch => good-first-bug has-patch changes-
     requested


Comment:

 As per today's bug scrub.
 Thanks for the patch.
 However I think the initial request was only to distinguish verbs from
 nouns. We could avoid having 4 different strings by just having `_x(
 'Preview', 'noun' )` and `_x( 'Preview', 'verb' )`.

 At the very least, I think we could have the same string (`button`
 context, or even better `verb`) for both `src/wp-admin/includes/meta-
 boxes.php` and `wp-includes/class-wp-editor.php`.

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


More information about the wp-trac mailing list