Make WordPress Core


Ignore:
Timestamp:
09/01/2015 01:49:57 PM (9 years ago)
Author:
SergeyBiryukov
Message:

Make curly quotes in playlist item title translatable.

fixes #33391.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media.php

    r33807 r33844  
    11741174    <# } #>
    11751175    <div class="wp-playlist-caption">
    1176         <span class="wp-playlist-item-meta wp-playlist-item-title">{{ data.title }}</span>
     1176        <span class="wp-playlist-item-meta wp-playlist-item-title"><?php
     1177            /* translators: playlist item title */
     1178            printf( _x( '&#8220;%s&#8221;', 'playlist item title' ), '{{ data.title }}' );
     1179        ?></span>
    11771180        <# if ( data.meta.album ) { #><span class="wp-playlist-item-meta wp-playlist-item-album">{{ data.meta.album }}</span><# } #>
    11781181        <# if ( data.meta.artist ) { #><span class="wp-playlist-item-meta wp-playlist-item-artist">{{ data.meta.artist }}</span><# } #>
     
    11861189                {{ data.caption }}
    11871190            <# } else { #>
    1188                 <span class="wp-playlist-item-title">{{{ data.title }}}</span>
     1191                <span class="wp-playlist-item-title"><?php
     1192                    /* translators: playlist item title */
     1193                    printf( _x( '&#8220;%s&#8221;', 'playlist item title' ), '{{{ data.title }}}' );
     1194                ?></span>
    11891195                <# if ( data.artists && data.meta.artist ) { #>
    11901196                <span class="wp-playlist-item-artist"> &mdash; {{ data.meta.artist }}</span>
Note: See TracChangeset for help on using the changeset viewer.