Changeset 39326 for trunk/src/wp-admin/includes/media.php
- Timestamp:
- 11/21/2016 02:45:53 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/media.php
r38949 r39326 314 314 $content .= sprintf( __( '"%1$s" by %2$s.' ), $title, $meta['artist'] ); 315 315 } else { 316 /* translators: 1: audio track title */ 316 317 $content .= sprintf( __( '"%s".' ), $title ); 317 318 } … … 332 333 } 333 334 334 if ( ! empty( $meta['year'] ) ) 335 if ( ! empty( $meta['year'] ) ) { 336 /* translators: Audio file track information. 1: Year of audio track release */ 335 337 $content .= ' ' . sprintf( __( 'Released: %d.' ), $meta['year'] ); 338 } 336 339 337 340 if ( ! empty( $meta['track_number'] ) ) { 338 341 $track_number = explode( '/', $meta['track_number'] ); 339 if ( isset( $track_number[1] ) ) 342 if ( isset( $track_number[1] ) ) { 343 /* translators: Audio file track information. 1: Audio track number, 2: Total audio tracks */ 340 344 $content .= ' ' . sprintf( __( 'Track %1$s of %2$s.' ), number_format_i18n( $track_number[0] ), number_format_i18n( $track_number[1] ) ); 341 else 345 } else { 346 /* translators: Audio file track information. 1: Audio track number */ 342 347 $content .= ' ' . sprintf( __( 'Track %1$s.' ), number_format_i18n( $track_number[0] ) ); 343 } 344 345 if ( ! empty( $meta['genre'] ) ) 348 } 349 } 350 351 if ( ! empty( $meta['genre'] ) ) { 352 /* translators: Audio file genre information. 1: Audio genre name */ 346 353 $content .= ' ' . sprintf( __( 'Genre: %s.' ), $meta['genre'] ); 354 } 347 355 348 356 // Use image exif/iptc data for title and caption defaults if possible.
Note: See TracChangeset
for help on using the changeset viewer.