[wp-trac] [WordPress Trac] #52309: Contextualize "Public" website attribute translation string in Multisite settings

WordPress Trac noreply at wordpress.org
Fri Jan 15 15:54:50 UTC 2021


#52309: Contextualize "Public" website attribute translation string in Multisite
settings
--------------------------+-----------------------------
 Reporter:  audrasjb      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  I18N          |    Version:
 Severity:  normal        |   Keywords:
  Focuses:  ui            |
--------------------------+-----------------------------
 In `wp-admin/network/site-info.php`, the "Public" translation string
 should be contextualized, especially for languages were "public" can be
 masculine or feminine depending on context.

 {{{
 $attribute_fields = array( 'public' => __( 'Public' ) );
 if ( ! $is_main_site ) {
         $attribute_fields['archived'] = __( 'Archived' );
         $attribute_fields['spam']     = _x( 'Spam', 'site' );
         $attribute_fields['deleted']  = __( 'Deleted' );
 }
 }}}

 I'd suggest to contextualize this string, just as it is for the "Spam"
 translation string.

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


More information about the wp-trac mailing list