WordPress.org

Make WordPress Core

Changeset 36668


Ignore:
Timestamp:
02/24/2016 01:47:24 AM (2 years ago)
Author:
SergeyBiryukov
Message:

I18N: Replace hardcoded URL in a translatable string with a placeholder in wp-admin/upload.php.

Props ramiy.
Fixes #35743.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/upload.php

    r36328 r36668  
    8383        </h1>
    8484        <div class="error hide-if-js">
    85             <p><?php _e( 'The grid view for the Media Library requires JavaScript. <a href="upload.php?mode=list">Switch to the list view</a>.' ); ?></p>
     85            <p><?php printf(
     86                /* translators: %s: list view URL */
     87                __( 'The grid view for the Media Library requires JavaScript. <a href="%s">Switch to the list view</a>.' ),
     88                'upload.php?mode=list'
     89            ); ?></p>
    8690        </div>
    8791    </div>
Note: See TracChangeset for help on using the changeset viewer.