Make WordPress Core


Ignore:
Timestamp:
09/29/2017 11:41:06 AM (7 years ago)
Author:
SergeyBiryukov
Message:

I18N: Use a consistent pattern for translator comments for placeholders in Customizer and widget strings.

Props danieltj, Rahmohn.
Fixes #41974.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/widgets/class-wp-widget-media-image.php

    r41549 r41640  
    3434            'edit_media' => _x( 'Edit Image', 'label for button in the image widget; should preferably not be longer than ~13 characters long' ),
    3535            'missing_attachment' => sprintf(
    36                 /* translators: placeholder is URL to media library */
     36                /* translators: %s: URL to media library */
    3737                __( 'We can&#8217;t find that image. Check your <a href="%s">media library</a> and make sure it wasn&#8217;t deleted.' ),
    3838                esc_url( admin_url( 'upload.php' ) )
    3939            ),
    40             /* translators: %d is widget count */
     40            /* translators: %d: widget count */
    4141            'media_library_state_multi' => _n_noop( 'Image Widget (%d)', 'Image Widget (%d)' ),
    4242            'media_library_state_single' => __( 'Image Widget' ),
Note: See TracChangeset for help on using the changeset viewer.