Make WordPress Core

Ticket #44360: 44560-class-wp-ms-themes-list-table.diff

File 44560-class-wp-ms-themes-list-table.diff, 1.3 KB (added by 5hel2l2y, 5 years ago)

translator comment added in wp-admin/includes/class-wp-ms-themes-list-table

  • src/wp-admin/includes/class-wp-ms-themes-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-ms-themes-list-table.php b/src/wp-admin/includes/class-wp-ms-themes-list-table.php
    index 294f2c82f8..9bb41e3424 100644
    a b class WP_MS_Themes_List_Table extends WP_List_Table { 
    298298                        }
    299299
    300300                        switch ( $type ) {
     301                                /* translators: %s: 1. theme count 2. enabled theme count 3. disabled theme count 4. updates available theme count 5. broken theme count */
    301302                                case 'all':
    302303                                        $text = _nx( 'All <span class="count">(%s)</span>', 'All <span class="count">(%s)</span>', $count, 'themes' );
    303304                                        break;
    class WP_MS_Themes_List_Table extends WP_List_Table { 
    571572                $theme_meta = array();
    572573
    573574                if ( $theme->get( 'Version' ) ) {
    574                         $theme_meta[] = sprintf( __( 'Version %s' ), $theme->display( 'Version' ) );
     575                        $theme_meta[] = sprintf(
     576                                /* translators: %s: theme version */
     577                                __( 'Version %s' ), $theme->display( 'Version' ) );
    575578                }
    576                 $theme_meta[] = sprintf( __( 'By %s' ), $theme->display( 'Author' ) );
     579                $theme_meta[] = sprintf(
     580                        /* translators: %s: theme author */
     581                        __( 'By %s' ), $theme->display( 'Author' ) );
    577582
    578583                if ( $theme->get( 'ThemeURI' ) ) {
    579584                        /* translators: %s: theme name */