Ticket #61714: 61714.update-context.2.diff
File 61714.update-context.2.diff, 5.8 KB (added by , 7 weeks ago) |
---|
-
src/wp-admin/includes/meta-boxes.php
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 (friendship relation): http://gmpg.org/xfn/ */ _ x( 'none', 'Type of relation' ); ?>1357 <input name="friendship" type="radio" class="valinp" value="" id="friendship" <?php xfn_check( 'friendship' ); ?> /> <?php /* translators: xfn (friendship relation): http://gmpg.org/xfn/ */ _ex( 'none', 'Type of relation' ); ?> 1358 1358 </label> 1359 1359 </fieldset></td> 1360 1360 </tr> … … 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 (geographical relation): http://gmpg.org/xfn/ */ _ x( 'none', 'Type of relation' ); ?>1408 <input class="valinp" type="radio" name="geographical" value="" id="geographical" <?php xfn_check( 'geographical' ); ?> /> <?php /* translators: xfn (geographical relation): http://gmpg.org/xfn/ */ _ex( 'none', 'Type of relation' ); ?> 1409 1409 </label> 1410 1410 </fieldset></td> 1411 1411 </tr> … … 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 (family relation): http://gmpg.org/xfn/ */ _ x( 'none', 'Type of relation' ); ?>1437 <input class="valinp" type="radio" name="family" value="" id="family" <?php xfn_check( 'family' ); ?> /> <?php /* translators: xfn (family relation): http://gmpg.org/xfn/ */ _ex( 'none', 'Type of relation' ); ?> 1438 1438 </label> 1439 1439 </fieldset></td> 1440 1440 </tr> -
src/wp-includes/media-template.php
840 840 <?php esc_html_e( 'Right' ); ?> 841 841 </option> 842 842 <option value="none" selected> 843 <?php e sc_html_x( 'None', 'Alignment' ); ?>843 <?php echo esc_html_x( 'None', 'Alignment option' ); ?> 844 844 </option> 845 845 </select> 846 846 </span> … … 867 867 <option value="file"> 868 868 <# } else { #> 869 869 <option value="none" selected> 870 <?php e sc_html_x( 'None', 'Embedded player type' ); ?>870 <?php echo esc_html_x( 'None', 'Media item link option' ); ?> 871 871 </option> 872 872 <option value="file"> 873 873 <# } #> … … 952 952 <?php esc_html_e( 'Media File' ); ?> 953 953 </option> 954 954 <option value="none" <# if ( 'none' === wp.media.galleryDefaults.link ) { #>selected="selected"<# } #>> 955 <?php e sc_html_x( 'None', 'Media link target' ); ?>955 <?php echo esc_html_x( 'None', 'Media item link option' ); ?> 956 956 </option> 957 957 </select> 958 958 </span> … … 1096 1096 <?php esc_html_e( 'Right' ); ?> 1097 1097 </button> 1098 1098 <button class="button active" value="none"> 1099 <?php e sc_html_x( 'None', 'Alignment' ); ?>1099 <?php echo esc_html_x( 'None', 'Alignment option' ); ?> 1100 1100 </button> 1101 1101 </span> 1102 1102 </span> … … 1113 1113 <?php esc_html_e( 'Custom URL' ); ?> 1114 1114 </button> 1115 1115 <button class="button active" value="none"> 1116 <?php e sc_html_x( 'None', 'Media URL' ); ?>1116 <?php echo esc_html_x( 'None', 'Media item link option' ); ?> 1117 1117 </button> 1118 1118 </span> 1119 1119 </span> … … 1160 1160 <?php esc_html_e( 'Right' ); ?> 1161 1161 </button> 1162 1162 <button class="button active" value="none"> 1163 <?php e sc_html_x( 'None', 'Alignment' ); ?>1163 <?php echo esc_html_x( 'None', 'Alignment option' ); ?> 1164 1164 </button> 1165 1165 </span> 1166 1166 </span> … … 1236 1236 <?php esc_html_e( 'Custom URL' ); ?> 1237 1237 </option> 1238 1238 <option value="none"> 1239 <?php e sc_html_x( 'None', 'Media URL' ); ?>1239 <?php echo esc_html_x( 'None', 'Media item link option' ); ?> 1240 1240 </option> 1241 1241 </select> 1242 1242 </span> … … 1356 1356 <span class="button-group button-large" data-setting="preload"> 1357 1357 <button class="button" value="auto"><?php _ex( 'Auto', 'auto preload' ); ?></button> 1358 1358 <button class="button" value="metadata"><?php _e( 'Metadata' ); ?></button> 1359 <button class="button active" value="none"><?php _ x( 'None', 'Preload type' ); ?></button>1359 <button class="button active" value="none"><?php _ex( 'None', 'Preload value' ); ?></button> 1360 1360 </span> 1361 1361 </span> 1362 1362 </fieldset> … … 1455 1455 <span class="button-group button-large" data-setting="preload"> 1456 1456 <button class="button" value="auto"><?php _ex( 'Auto', 'auto preload' ); ?></button> 1457 1457 <button class="button" value="metadata"><?php _e( 'Metadata' ); ?></button> 1458 <button class="button active" value="none"><?php _ x( 'None', 'Preload type' ); ?></button>1458 <button class="button active" value="none"><?php _ex( 'None', 'Preload value' ); ?></button> 1459 1459 </span> 1460 1460 </span> 1461 1461 </fieldset>