Make curly quotes in playlist item title translatable.
fixes #33391. git-svn-id: https://develop.svn.wordpress.org/trunk@33844 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1e084b6eaa
commit
622032fece
@ -216,14 +216,6 @@ video.wp-video-shortcode,
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.wp-playlist-item-title:before {
|
||||
content: '“';
|
||||
}
|
||||
|
||||
.wp-playlist-item-title:after {
|
||||
content: '”';
|
||||
}
|
||||
|
||||
.wp-playlist-item-album {
|
||||
font-style: italic;
|
||||
overflow: hidden;
|
||||
|
@ -1173,7 +1173,10 @@ function wp_underscore_playlist_templates() {
|
||||
<img src="{{ data.thumb.src }}"/>
|
||||
<# } #>
|
||||
<div class="wp-playlist-caption">
|
||||
<span class="wp-playlist-item-meta wp-playlist-item-title">{{ data.title }}</span>
|
||||
<span class="wp-playlist-item-meta wp-playlist-item-title"><?php
|
||||
/* translators: playlist item title */
|
||||
printf( _x( '“%s”', 'playlist item title' ), '{{ data.title }}' );
|
||||
?></span>
|
||||
<# if ( data.meta.album ) { #><span class="wp-playlist-item-meta wp-playlist-item-album">{{ data.meta.album }}</span><# } #>
|
||||
<# if ( data.meta.artist ) { #><span class="wp-playlist-item-meta wp-playlist-item-artist">{{ data.meta.artist }}</span><# } #>
|
||||
</div>
|
||||
@ -1185,7 +1188,10 @@ function wp_underscore_playlist_templates() {
|
||||
<# if ( data.caption ) { #>
|
||||
{{ data.caption }}
|
||||
<# } else { #>
|
||||
<span class="wp-playlist-item-title">{{{ data.title }}}</span>
|
||||
<span class="wp-playlist-item-title"><?php
|
||||
/* translators: playlist item title */
|
||||
printf( _x( '“%s”', 'playlist item title' ), '{{{ data.title }}}' );
|
||||
?></span>
|
||||
<# if ( data.artists && data.meta.artist ) { #>
|
||||
<span class="wp-playlist-item-artist"> — {{ data.meta.artist }}</span>
|
||||
<# } #>
|
||||
|
Loading…
Reference in New Issue
Block a user