diff --git a/src/wp-admin/includes/meta-boxes.php b/src/wp-admin/includes/meta-boxes.php
index 2b4760a6da..006d56e933 100644
a
|
b
|
function link_xfn_meta_box( $link ) { |
1237 | 1237 | <input class="valinp" type="radio" name="friendship" value="friend" id="friend" <?php xfn_check( 'friendship', 'friend' ); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'friend' ); ?> |
1238 | 1238 | </label> |
1239 | 1239 | <label for="friendship"> |
1240 | | <input name="friendship" type="radio" class="valinp" value="" id="friendship" <?php xfn_check( 'friendship' ); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'none' ); ?> |
| 1240 | <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' ); ?> |
1241 | 1241 | </label> |
1242 | 1242 | </fieldset></td> |
1243 | 1243 | </tr> |
… |
… |
function link_xfn_meta_box( $link ) { |
1270 | 1270 | <input class="valinp" type="radio" name="geographical" value="neighbor" id="neighbor" <?php xfn_check( 'geographical', 'neighbor' ); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'neighbor' ); ?> |
1271 | 1271 | </label> |
1272 | 1272 | <label for="geographical"> |
1273 | | <input class="valinp" type="radio" name="geographical" value="" id="geographical" <?php xfn_check( 'geographical' ); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'none' ); ?> |
| 1273 | <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' ); ?> |
1274 | 1274 | </label> |
1275 | 1275 | </fieldset></td> |
1276 | 1276 | </tr> |
… |
… |
function link_xfn_meta_box( $link ) { |
1293 | 1293 | <input class="valinp" type="radio" name="family" value="spouse" id="spouse" <?php xfn_check( 'family', 'spouse' ); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'spouse' ); ?> |
1294 | 1294 | </label> |
1295 | 1295 | <label for="family"> |
1296 | | <input class="valinp" type="radio" name="family" value="" id="family" <?php xfn_check( 'family' ); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e( 'none' ); ?> |
| 1296 | <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' ); ?> |
1297 | 1297 | </label> |
1298 | 1298 | </fieldset></td> |
1299 | 1299 | </tr> |
diff --git a/src/wp-includes/deprecated.php b/src/wp-includes/deprecated.php
index 643a0bc7f5..3c6cd82e7c 100644
a
|
b
|
function dropdown_cats($optionall = 1, $all = 'All', $orderby = 'ID', $order = ' |
685 | 685 | |
686 | 686 | $show_option_none = ''; |
687 | 687 | if ( $optionnone ) |
688 | | $show_option_none = __('None'); |
| 688 | $show_option_none = _x( 'None', 'Categories dropdown (show_option_none parameter)' ); |
689 | 689 | |
690 | 690 | $vars = compact('show_option_all', 'show_option_none', 'orderby', 'order', |
691 | 691 | '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 87aa052171..71edaed547 100644
a
|
b
|
function wp_print_media_templates() { |
735 | 735 | <?php esc_html_e( 'Right' ); ?> |
736 | 736 | </option> |
737 | 737 | <option value="none" selected> |
738 | | <?php esc_html_e( 'None' ); ?> |
| 738 | <?php esc_html_x( 'None', 'Alignment' ); ?> |
739 | 739 | </option> |
740 | 740 | </select> |
741 | 741 | </span> |
… |
… |
function wp_print_media_templates() { |
762 | 762 | <option value="file"> |
763 | 763 | <# } else { #> |
764 | 764 | <option value="none" selected> |
765 | | <?php esc_html_e( 'None' ); ?> |
| 765 | <?php esc_html_x( 'None', 'Embedded player type' ); ?> |
766 | 766 | </option> |
767 | 767 | <option value="file"> |
768 | 768 | <# } #> |
… |
… |
function wp_print_media_templates() { |
847 | 847 | <?php esc_html_e( 'Media File' ); ?> |
848 | 848 | </option> |
849 | 849 | <option value="none" <# if ( 'none' == wp.media.galleryDefaults.link ) { #>selected="selected"<# } #>> |
850 | | <?php esc_html_e( 'None' ); ?> |
| 850 | <?php esc_html_x( 'None', 'Media link target' ); ?> |
851 | 851 | </option> |
852 | 852 | </select> |
853 | 853 | </span> |
… |
… |
function wp_print_media_templates() { |
991 | 991 | <?php esc_html_e( 'Right' ); ?> |
992 | 992 | </button> |
993 | 993 | <button class="button active" value="none"> |
994 | | <?php esc_html_e( 'None' ); ?> |
| 994 | <?php esc_html_x( 'None', 'Alignment' ); ?> |
995 | 995 | </button> |
996 | 996 | </span> |
997 | 997 | </span> |
… |
… |
function wp_print_media_templates() { |
1008 | 1008 | <?php esc_html_e( 'Custom URL' ); ?> |
1009 | 1009 | </button> |
1010 | 1010 | <button class="button active" value="none"> |
1011 | | <?php esc_html_e( 'None' ); ?> |
| 1011 | <?php esc_html_x( 'None', 'Media URL' ); ?> |
1012 | 1012 | </button> |
1013 | 1013 | </span> |
1014 | 1014 | </span> |
… |
… |
function wp_print_media_templates() { |
1055 | 1055 | <?php esc_html_e( 'Right' ); ?> |
1056 | 1056 | </button> |
1057 | 1057 | <button class="button active" value="none"> |
1058 | | <?php esc_html_e( 'None' ); ?> |
| 1058 | <?php esc_html_x( 'None', 'Alignment' ); ?> |
1059 | 1059 | </button> |
1060 | 1060 | </span> |
1061 | 1061 | </span> |
… |
… |
function wp_print_media_templates() { |
1131 | 1131 | <?php esc_html_e( 'Custom URL' ); ?> |
1132 | 1132 | </option> |
1133 | 1133 | <option value="none"> |
1134 | | <?php esc_html_e( 'None' ); ?> |
| 1134 | <?php esc_html_x( 'None', 'Media URL' ); ?> |
1135 | 1135 | </option> |
1136 | 1136 | </select> |
1137 | 1137 | </span> |
… |
… |
function wp_print_media_templates() { |
1251 | 1251 | <span class="button-group button-large" data-setting="preload"> |
1252 | 1252 | <button class="button" value="auto"><?php _ex( 'Auto', 'auto preload' ); ?></button> |
1253 | 1253 | <button class="button" value="metadata"><?php _e( 'Metadata' ); ?></button> |
1254 | | <button class="button active" value="none"><?php _e( 'None' ); ?></button> |
| 1254 | <button class="button active" value="none"><?php _x( 'None', 'Preload type' ); ?></button> |
1255 | 1255 | </span> |
1256 | 1256 | </span> |
1257 | 1257 | </fieldset> |
… |
… |
function wp_print_media_templates() { |
1350 | 1350 | <span class="button-group button-large" data-setting="preload"> |
1351 | 1351 | <button class="button" value="auto"><?php _ex( 'Auto', 'auto preload' ); ?></button> |
1352 | 1352 | <button class="button" value="metadata"><?php _e( 'Metadata' ); ?></button> |
1353 | | <button class="button active" value="none"><?php _e( 'None' ); ?></button> |
| 1353 | <button class="button active" value="none"><?php _x( 'None', 'Preload type' ); ?></button> |
1354 | 1354 | </span> |
1355 | 1355 | </span> |
1356 | 1356 | </fieldset> |