Changeset 45926 for trunk/src/wp-admin/includes/media.php
- Timestamp:
- 09/01/2019 05:12:43 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/media.php (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/media.php
r45915 r45926 61 61 } 62 62 63 /* translators: %s: number of attachments */ 63 64 $tabs['gallery'] = sprintf( __( 'Gallery (%s)' ), "<span id='attachments-count'>$attachments</span>" ); 64 65 … … 332 333 $content .= sprintf( __( '"%1$s" by %2$s.' ), $title, $meta['artist'] ); 333 334 } else { 334 /* translators: 1: audio track title */335 /* translators: %s: audio track title */ 335 336 $content .= sprintf( __( '"%s".' ), $title ); 336 337 } … … 1602 1603 <tr><td colspan='2' class='imgedit-response' id='imgedit-response-$post->ID'></td></tr>\n 1603 1604 <tr><td style='display:none' colspan='2' class='image-editor' id='image-editor-$post->ID'></td></tr>\n 1604 <tr><td colspan='2'><p class='media-types media-types-required-info'>" . sprintf( __( 'Required fields are marked %s' ), '<span class="required">*</span>' ) . "</p></td></tr>\n"; 1605 <tr><td colspan='2'><p class='media-types media-types-required-info'>" . 1606 /* translators: %s: an asterisk symbol (*) */ 1607 sprintf( __( 'Required fields are marked %s' ), '<span class="required">*</span>' ) . 1608 "</p></td></tr>\n"; 1605 1609 1606 1610 $defaults = array( … … 1907 1911 if ( $item ) { 1908 1912 $item = '<p class="media-types media-types-required-info">' . 1909 sprintf( __( 'Required fields are marked %s' ), '<span class="required">*</span>' ) . '</p> 1910 <table class="compat-attachment-fields">' . $item . '</table>'; 1913 /* translators: %s: an asterisk symbol (*) */ 1914 sprintf( __( 'Required fields are marked %s' ), '<span class="required">*</span>' ) . 1915 '</p>' . 1916 '<table class="compat-attachment-fields">' . $item . '</table>'; 1911 1917 } 1912 1918 … … 1957 1963 1958 1964 if ( ! _device_can_upload() ) { 1959 echo '<p>' . sprintf( __( 'The web browser on your device cannot be used to upload files. You may be able to use the <a href="%s">native app for your device</a> instead.' ), 'https://apps.wordpress.org/' ) . '</p>'; 1965 echo '<p>' . sprintf( 1966 /* translators: %s: https://apps.wordpress.org/ */ 1967 __( 'The web browser on your device cannot be used to upload files. You may be able to use the <a href="%s">native app for your device</a> instead.' ), 1968 'https://apps.wordpress.org/' 1969 ) . '</p>'; 1960 1970 return; 1961 1971 } … … 2131 2141 </div> 2132 2142 2133 <p class="max-upload-size"><?php printf( __( 'Maximum upload file size: %s.' ), esc_html( size_format( $max_upload_size ) ) ); ?></p> 2143 <p class="max-upload-size"> 2144 <?php 2145 /* translators: %s: maximum allowed file size */ 2146 printf( __( 'Maximum upload file size: %s.' ), esc_html( size_format( $max_upload_size ) ) ); 2147 ?> 2148 </p> 2134 2149 <?php 2135 2150 … … 2776 2791 return ' 2777 2792 <p class="media-types"><label><input type="radio" name="media_type" value="image" id="image-only"' . checked( 'image-only', $view, false ) . ' /> ' . __( 'Image' ) . '</label> <label><input type="radio" name="media_type" value="generic" id="not-image"' . checked( 'not-image', $view, false ) . ' /> ' . __( 'Audio, Video, or Other File' ) . '</label></p> 2778 <p class="media-types media-types-required-info">' . sprintf( __( 'Required fields are marked %s' ), '<span class="required">*</span>' ) . '</p> 2793 <p class="media-types media-types-required-info">' . 2794 /* translators: %s: an asterisk symbol (*) */ 2795 sprintf( __( 'Required fields are marked %s' ), '<span class="required">*</span>' ) . 2796 '</p> 2779 2797 <table class="describe ' . $table_class . '"><tbody> 2780 2798 <tr> … … 2863 2881 ?> 2864 2882 <p class="upload-flash-bypass"> 2865 <?php printf( __( 'You are using the multi-file uploader. Problems? Try the <a href="%1$s" target="%2$s">browser uploader</a> instead.' ), $browser_uploader, '_blank' ); ?> 2883 <?php 2884 printf( 2885 /* translators: 1: URL to browser uploader, 2: additional link attributes */ 2886 __( 'You are using the multi-file uploader. Problems? Try the <a href="%1$s" %2$s>browser uploader</a> instead.' ), 2887 $browser_uploader, 2888 'target="_blank"' 2889 ); 2890 ?> 2866 2891 </p> 2867 2892 <?php
Note: See TracChangeset
for help on using the changeset viewer.