diff --git a/src/wp-admin/includes/meta-boxes.php b/src/wp-admin/includes/meta-boxes.php
index 387910e918..5b265ea20f 100644
a
|
b
|
function link_xfn_meta_box( $link ) { |
1354 | 1354 | <input class="valinp" type="radio" name="friendship" value="friend" id="friend" <?php xfn_check( 'friendship', 'friend' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'friend' ); ?> |
1355 | 1355 | </label> |
1356 | 1356 | <label for="friendship"> |
1357 | | <input name="friendship" type="radio" class="valinp" value="" id="friendship" <?php xfn_check( 'friendship' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'none' ); ?> |
| 1357 | <input name="friendship" type="radio" class="valinp" value="" id="friendship" <?php xfn_check( 'friendship' ); ?> /> <?php /* translators: xfn (friendship relation): http://gmpg.org/xfn/ */ _x( 'none', 'Type of relation' ); ?> |
1358 | 1358 | </label> |
1359 | 1359 | </fieldset></td> |
1360 | 1360 | </tr> |
… |
… |
function link_xfn_meta_box( $link ) { |
1405 | 1405 | <input class="valinp" type="radio" name="geographical" value="neighbor" id="neighbor" <?php xfn_check( 'geographical', 'neighbor' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'neighbor' ); ?> |
1406 | 1406 | </label> |
1407 | 1407 | <label for="geographical"> |
1408 | | <input class="valinp" type="radio" name="geographical" value="" id="geographical" <?php xfn_check( 'geographical' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'none' ); ?> |
| 1408 | <input class="valinp" type="radio" name="geographical" value="" id="geographical" <?php xfn_check( 'geographical' ); ?> /> <?php /* translators: xfn (geographical relation): http://gmpg.org/xfn/ */ _x( 'none', 'Type of relation' ); ?> |
1409 | 1409 | </label> |
1410 | 1410 | </fieldset></td> |
1411 | 1411 | </tr> |
… |
… |
function link_xfn_meta_box( $link ) { |
1434 | 1434 | <input class="valinp" type="radio" name="family" value="spouse" id="spouse" <?php xfn_check( 'family', 'spouse' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'spouse' ); ?> |
1435 | 1435 | </label> |
1436 | 1436 | <label for="family"> |
1437 | | <input class="valinp" type="radio" name="family" value="" id="family" <?php xfn_check( 'family' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'none' ); ?> |
| 1437 | <input class="valinp" type="radio" name="family" value="" id="family" <?php xfn_check( 'family' ); ?> /> <?php /* translators: xfn (family relation): http://gmpg.org/xfn/ */ _x( 'none', 'Type of relation' ); ?> |
1438 | 1438 | </label> |
1439 | 1439 | </fieldset></td> |
1440 | 1440 | </tr> |
diff --git a/src/wp-includes/deprecated.php b/src/wp-includes/deprecated.php
index c490fe06ef..cabccc99c6 100644
a
|
b
|
function dropdown_cats($optionall = 1, $all = 'All', $orderby = 'ID', $order = ' |
705 | 705 | |
706 | 706 | $show_option_none = ''; |
707 | 707 | if ( $optionnone ) |
708 | | $show_option_none = __('None'); |
| 708 | $show_option_none = _x( 'None', 'Categories dropdown (show_option_none parameter)' ); |
709 | 709 | |
710 | 710 | $vars = compact('show_option_all', 'show_option_none', 'orderby', 'order', |
711 | 711 | 'show_last_update', 'show_count', 'hide_empty', 'selected', 'exclude'); |
diff --git a/src/wp-includes/media-template.php b/src/wp-includes/media-template.php
index 21adc09da0..dc23eed487 100644
a
|
b
|
function wp_print_media_templates() { |
839 | 839 | <?php esc_html_e( 'Right' ); ?> |
840 | 840 | </option> |
841 | 841 | <option value="none" selected> |
842 | | <?php esc_html_e( 'None' ); ?> |
| 842 | <?php esc_html_x( 'None', 'Alignment' ); ?> |
843 | 843 | </option> |
844 | 844 | </select> |
845 | 845 | </span> |
… |
… |
function wp_print_media_templates() { |
866 | 866 | <option value="file"> |
867 | 867 | <# } else { #> |
868 | 868 | <option value="none" selected> |
869 | | <?php esc_html_e( 'None' ); ?> |
| 869 | <?php esc_html_x( 'None', 'Embedded player type' ); ?> |
870 | 870 | </option> |
871 | 871 | <option value="file"> |
872 | 872 | <# } #> |
… |
… |
function wp_print_media_templates() { |
951 | 951 | <?php esc_html_e( 'Media File' ); ?> |
952 | 952 | </option> |
953 | 953 | <option value="none" <# if ( 'none' === wp.media.galleryDefaults.link ) { #>selected="selected"<# } #>> |
954 | | <?php esc_html_e( 'None' ); ?> |
| 954 | <?php esc_html_x( 'None', 'Media link target' ); ?> |
955 | 955 | </option> |
956 | 956 | </select> |
957 | 957 | </span> |
… |
… |
function wp_print_media_templates() { |
1095 | 1095 | <?php esc_html_e( 'Right' ); ?> |
1096 | 1096 | </button> |
1097 | 1097 | <button class="button active" value="none"> |
1098 | | <?php esc_html_e( 'None' ); ?> |
| 1098 | <?php esc_html_x( 'None', 'Alignment' ); ?> |
1099 | 1099 | </button> |
1100 | 1100 | </span> |
1101 | 1101 | </span> |
… |
… |
function wp_print_media_templates() { |
1112 | 1112 | <?php esc_html_e( 'Custom URL' ); ?> |
1113 | 1113 | </button> |
1114 | 1114 | <button class="button active" value="none"> |
1115 | | <?php esc_html_e( 'None' ); ?> |
| 1115 | <?php esc_html_x( 'None', 'Media URL' ); ?> |
1116 | 1116 | </button> |
1117 | 1117 | </span> |
1118 | 1118 | </span> |
… |
… |
function wp_print_media_templates() { |
1159 | 1159 | <?php esc_html_e( 'Right' ); ?> |
1160 | 1160 | </button> |
1161 | 1161 | <button class="button active" value="none"> |
1162 | | <?php esc_html_e( 'None' ); ?> |
| 1162 | <?php esc_html_x( 'None', 'Alignment' ); ?> |
1163 | 1163 | </button> |
1164 | 1164 | </span> |
1165 | 1165 | </span> |
… |
… |
function wp_print_media_templates() { |
1235 | 1235 | <?php esc_html_e( 'Custom URL' ); ?> |
1236 | 1236 | </option> |
1237 | 1237 | <option value="none"> |
1238 | | <?php esc_html_e( 'None' ); ?> |
| 1238 | <?php esc_html_x( 'None', 'Media URL' ); ?> |
1239 | 1239 | </option> |
1240 | 1240 | </select> |
1241 | 1241 | </span> |
… |
… |
function wp_print_media_templates() { |
1355 | 1355 | <span class="button-group button-large" data-setting="preload"> |
1356 | 1356 | <button class="button" value="auto"><?php _ex( 'Auto', 'auto preload' ); ?></button> |
1357 | 1357 | <button class="button" value="metadata"><?php _e( 'Metadata' ); ?></button> |
1358 | | <button class="button active" value="none"><?php _e( 'None' ); ?></button> |
| 1358 | <button class="button active" value="none"><?php _x( 'None', 'Preload type' ); ?></button> |
1359 | 1359 | </span> |
1360 | 1360 | </span> |
1361 | 1361 | </fieldset> |
… |
… |
function wp_print_media_templates() { |
1454 | 1454 | <span class="button-group button-large" data-setting="preload"> |
1455 | 1455 | <button class="button" value="auto"><?php _ex( 'Auto', 'auto preload' ); ?></button> |
1456 | 1456 | <button class="button" value="metadata"><?php _e( 'Metadata' ); ?></button> |
1457 | | <button class="button active" value="none"><?php _e( 'None' ); ?></button> |
| 1457 | <button class="button active" value="none"><?php _x( 'None', 'Preload type' ); ?></button> |
1458 | 1458 | </span> |
1459 | 1459 | </span> |
1460 | 1460 | </fieldset> |