mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 09:07:59 +01:00
I18N: Correctly output the None
translatable strings.
Includes updating the context to match the pre-existing block editor translations. Follow-up to [58284]. Props sabernhardt, Marius84. Fixes #61714. Built from https://develop.svn.wordpress.org/trunk@58774 git-svn-id: http://core.svn.wordpress.org/trunk@58176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
45b948b0e4
commit
aeb2fc3083
@ -1354,7 +1354,7 @@ function link_xfn_meta_box( $link ) {
|
||||
<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' ); ?>
|
||||
</label>
|
||||
<label for="friendship">
|
||||
<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' ); ?>
|
||||
<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' ); ?>
|
||||
</label>
|
||||
</fieldset></td>
|
||||
</tr>
|
||||
@ -1405,7 +1405,7 @@ function link_xfn_meta_box( $link ) {
|
||||
<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' ); ?>
|
||||
</label>
|
||||
<label for="geographical">
|
||||
<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' ); ?>
|
||||
<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' ); ?>
|
||||
</label>
|
||||
</fieldset></td>
|
||||
</tr>
|
||||
@ -1434,7 +1434,7 @@ function link_xfn_meta_box( $link ) {
|
||||
<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' ); ?>
|
||||
</label>
|
||||
<label for="family">
|
||||
<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' ); ?>
|
||||
<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' ); ?>
|
||||
</label>
|
||||
</fieldset></td>
|
||||
</tr>
|
||||
|
@ -840,7 +840,7 @@ function wp_print_media_templates() {
|
||||
<?php esc_html_e( 'Right' ); ?>
|
||||
</option>
|
||||
<option value="none" selected>
|
||||
<?php esc_html_x( 'None', 'Alignment' ); ?>
|
||||
<?php echo esc_html_x( 'None', 'Alignment option' ); ?>
|
||||
</option>
|
||||
</select>
|
||||
</span>
|
||||
@ -867,7 +867,7 @@ function wp_print_media_templates() {
|
||||
<option value="file">
|
||||
<# } else { #>
|
||||
<option value="none" selected>
|
||||
<?php esc_html_x( 'None', 'Embedded player type' ); ?>
|
||||
<?php echo esc_html_x( 'None', 'Media item link option' ); ?>
|
||||
</option>
|
||||
<option value="file">
|
||||
<# } #>
|
||||
@ -952,7 +952,7 @@ function wp_print_media_templates() {
|
||||
<?php esc_html_e( 'Media File' ); ?>
|
||||
</option>
|
||||
<option value="none" <# if ( 'none' === wp.media.galleryDefaults.link ) { #>selected="selected"<# } #>>
|
||||
<?php esc_html_x( 'None', 'Media link target' ); ?>
|
||||
<?php echo esc_html_x( 'None', 'Media item link option' ); ?>
|
||||
</option>
|
||||
</select>
|
||||
</span>
|
||||
@ -1096,7 +1096,7 @@ function wp_print_media_templates() {
|
||||
<?php esc_html_e( 'Right' ); ?>
|
||||
</button>
|
||||
<button class="button active" value="none">
|
||||
<?php esc_html_x( 'None', 'Alignment' ); ?>
|
||||
<?php echo esc_html_x( 'None', 'Alignment option' ); ?>
|
||||
</button>
|
||||
</span>
|
||||
</span>
|
||||
@ -1113,7 +1113,7 @@ function wp_print_media_templates() {
|
||||
<?php esc_html_e( 'Custom URL' ); ?>
|
||||
</button>
|
||||
<button class="button active" value="none">
|
||||
<?php esc_html_x( 'None', 'Media URL' ); ?>
|
||||
<?php echo esc_html_x( 'None', 'Media item link option' ); ?>
|
||||
</button>
|
||||
</span>
|
||||
</span>
|
||||
@ -1160,7 +1160,7 @@ function wp_print_media_templates() {
|
||||
<?php esc_html_e( 'Right' ); ?>
|
||||
</button>
|
||||
<button class="button active" value="none">
|
||||
<?php esc_html_x( 'None', 'Alignment' ); ?>
|
||||
<?php echo esc_html_x( 'None', 'Alignment option' ); ?>
|
||||
</button>
|
||||
</span>
|
||||
</span>
|
||||
@ -1236,7 +1236,7 @@ function wp_print_media_templates() {
|
||||
<?php esc_html_e( 'Custom URL' ); ?>
|
||||
</option>
|
||||
<option value="none">
|
||||
<?php esc_html_x( 'None', 'Media URL' ); ?>
|
||||
<?php echo esc_html_x( 'None', 'Media item link option' ); ?>
|
||||
</option>
|
||||
</select>
|
||||
</span>
|
||||
@ -1356,7 +1356,7 @@ function wp_print_media_templates() {
|
||||
<span class="button-group button-large" data-setting="preload">
|
||||
<button class="button" value="auto"><?php _ex( 'Auto', 'auto preload' ); ?></button>
|
||||
<button class="button" value="metadata"><?php _e( 'Metadata' ); ?></button>
|
||||
<button class="button active" value="none"><?php _x( 'None', 'Preload type' ); ?></button>
|
||||
<button class="button active" value="none"><?php _ex( 'None', 'Preload value' ); ?></button>
|
||||
</span>
|
||||
</span>
|
||||
</fieldset>
|
||||
@ -1455,7 +1455,7 @@ function wp_print_media_templates() {
|
||||
<span class="button-group button-large" data-setting="preload">
|
||||
<button class="button" value="auto"><?php _ex( 'Auto', 'auto preload' ); ?></button>
|
||||
<button class="button" value="metadata"><?php _e( 'Metadata' ); ?></button>
|
||||
<button class="button active" value="none"><?php _x( 'None', 'Preload type' ); ?></button>
|
||||
<button class="button active" value="none"><?php _ex( 'None', 'Preload value' ); ?></button>
|
||||
</span>
|
||||
</span>
|
||||
</fieldset>
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.7-alpha-58773';
|
||||
$wp_version = '6.7-alpha-58774';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user