WordPress.org

Make WordPress Core

Ticket #29748: 29748.patch

File 29748.patch, 7.3 KB (added by mercime, 5 years ago)

First batch of translator comments for accessibility text

  • src/wp-admin/edit-comments.php

     
    169169);
    170170
    171171get_current_screen()->set_screen_reader_content( array(
     172        /* translators: accessibility text */
    172173        'heading_views'      => __( 'Filter comments list' ),
     174        /* translators: accessibility text */
    173175        'heading_pagination' => __( 'Comments list navigation' ),
     176        /* translators: accessibility text */
    174177        'heading_list'       => __( 'Comments list' ),
    175178) );
    176179
  • src/wp-admin/edit-tags.php

     
    5555add_screen_option( 'per_page', array( 'default' => 20, 'option' => 'edit_' . $tax->name . '_per_page' ) );
    5656
    5757get_current_screen()->set_screen_reader_content( array(
     58        /* translators: accessibility text */
    5859        'heading_pagination' => $tax->labels->items_list_navigation,
     60        /* translators: accessibility text */
    5961        'heading_list'       => $tax->labels->items_list,
    6062) );
    6163
  • src/wp-admin/includes/class-wp-screen.php

     
    699699         */
    700700        public function set_screen_reader_content( $content = array() ) {
    701701                $defaults = array(
     702                        /* translators: accessibility text */
    702703                        'heading_views'      => __( 'Filter items list' ),
     704                        /* translators: accessibility text */
    703705                        'heading_pagination' => __( 'Items list navigation' ),
     706                        /* translators: accessibility text */
    704707                        'heading_list'       => __( 'Items list' ),
    705708                );
    706709                $content = wp_parse_args( $content, $defaults );
  • src/wp-admin/link-manager.php

     
    6262);
    6363
    6464get_current_screen()->set_screen_reader_content( array(
     65        /* translators: accessibility text */
    6566        'heading_list' => __( 'Links list' ),
    6667) );
    6768
  • src/wp-admin/network/site-themes.php

     
    3434);
    3535
    3636get_current_screen()->set_screen_reader_content( array(
     37        /* translators: accessibility text */
    3738        'heading_views'      => __( 'Filter site themes list' ),
     39        /* translators: accessibility text */
    3840        'heading_pagination' => __( 'Site themes list navigation' ),
     41        /* translators: accessibility text */
    3942        'heading_list'       => __( 'Site themes list' ),
    4043) );
    4144
  • src/wp-admin/network/site-users.php

     
    3737);
    3838
    3939get_current_screen()->set_screen_reader_content( array(
     40        /* translators: accessibility text */
    4041        'heading_views'      => __( 'Filter site users list' ),
     42        /* translators: accessibility text */
    4143        'heading_pagination' => __( 'Site users list navigation' ),
     44        /* translators: accessibility text */
    4245        'heading_list'       => __( 'Site users list' ),
    4346) );
    4447
  • src/wp-admin/network/sites.php

     
    4747);
    4848
    4949get_current_screen()->set_screen_reader_content( array(
     50        /* translators: accessibility text */
    5051        'heading_pagination' => __( 'Sites list navigation' ),
     52        /* translators: accessibility text */
    5153        'heading_list'       => __( 'Sites list' ),
    5254) );
    5355
  • src/wp-admin/network/themes.php

     
    220220);
    221221
    222222get_current_screen()->set_screen_reader_content( array(
     223        /* translators: accessibility text */
    223224        'heading_views'      => __( 'Filter themes list' ),
     225        /* translators: accessibility text */
    224226        'heading_pagination' => __( 'Themes list navigation' ),
     227        /* translators: accessibility text */
    225228        'heading_list'       => __( 'Themes list' ),
    226229) );
    227230
  • src/wp-admin/network/users.php

     
    173173);
    174174
    175175get_current_screen()->set_screen_reader_content( array(
     176        /* translators: accessibility text */
    176177        'heading_views'      => __( 'Filter users list' ),
     178        /* translators: accessibility text */
    177179        'heading_pagination' => __( 'Users list navigation' ),
     180        /* translators: accessibility text */
    178181        'heading_list'       => __( 'Users list' ),
    179182) );
    180183
  • src/wp-admin/plugin-install.php

     
    8989);
    9090
    9191get_current_screen()->set_screen_reader_content( array(
     92        /* translators: accessibility text */
    9293        'heading_views'      => __( 'Filter plugins list' ),
     94        /* translators: accessibility text */
    9395        'heading_pagination' => __( 'Plugins list navigation' ),
     96        /* translators: accessibility text */
    9497        'heading_list'       => __( 'Plugins list' ),
    9598) );
    9699
  • src/wp-admin/plugins.php

     
    396396);
    397397
    398398get_current_screen()->set_screen_reader_content( array(
     399        /* translators: accessibility text */
    399400        'heading_views'      => __( 'Filter plugins list' ),
     401        /* translators: accessibility text */
    400402        'heading_pagination' => __( 'Plugins list navigation' ),
     403        /* translators: accessibility text */
    401404        'heading_list'       => __( 'Plugins list' ),
    402405) );
    403406
  • src/wp-admin/upload.php

     
    209209);
    210210
    211211get_current_screen()->set_screen_reader_content( array(
     212        /* translators: accessibility text */
    212213        'heading_views'      => __( 'Filter media items list' ),
     214        /* translators: accessibility text */
    213215        'heading_pagination' => __( 'Media items list navigation' ),
     216        /* translators: accessibility text */
    214217        'heading_list'       => __( 'Media items list' ),
    215218) );
    216219
  • src/wp-admin/users.php

     
    7070);
    7171
    7272get_current_screen()->set_screen_reader_content( array(
     73        /* translators: accessibility text */
    7374        'heading_views'      => __( 'Filter users list' ),
     75        /* translators: accessibility text */
    7476        'heading_pagination' => __( 'Users list navigation' ),
     77        /* translators: accessibility text */
    7578        'heading_list'       => __( 'Users list' ),
    7679) );
    7780