Making WordPress.org

Changeset 5114


Ignore:
Timestamp:
03/07/2017 08:32:22 PM (8 years ago)
Author:
coffee2code
Message:

Plugin Directory Theme: Add translator comment for placeholder text.

Props SergeyBiryukov.
Fixes #2368.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/front-page.php

    r4283 r5114  
    5656                <header class="section-header">
    5757                    <h2 class="section-title"><?php echo esc_html( $section_title ); ?></h2>
    58                     <a class="section-link" href="<?php echo esc_url( home_url( "browse/$browse/" ) ); ?>"><?php printf( _x( 'See all %s', 'plugins', 'wporg-plugins' ), "<span class=\"screen-reader-text\">{$section_title}</span>" ); ?></a>
     58                    <a class="section-link" href="<?php echo esc_url( home_url( "browse/$browse/" ) ); ?>"><?php
     59                        /* translators: %s: Section title as an accessibility text for screen readers. */
     60                        printf( _x( 'See all %s', 'plugins', 'wporg-plugins' ), "<span class=\"screen-reader-text\">{$section_title}</span>" );
     61                    ?></a>
    5962                </header>
    6063
Note: See TracChangeset for help on using the changeset viewer.