I18N: Add context for the `Public` string in site attributes list on Edit Site screen.

This allows for the string to be distinguished from a post status of the same name, which is useful for better translations in languages were "public" can be masculine or feminine depending on context.

Props audrasjb.
Fixes #52309.
Built from https://develop.svn.wordpress.org/trunk@49962


git-svn-id: http://core.svn.wordpress.org/trunk@49663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2021-01-15 17:39:12 +00:00
parent 6461d18353
commit 585303540a
2 changed files with 2 additions and 2 deletions

View File

@ -181,7 +181,7 @@ if ( ! empty( $messages ) ) {
<td><input name="blog[last_updated]" type="text" id="blog_last_updated" value="<?php echo esc_attr( $details->last_updated ); ?>" /></td>
</tr>
<?php
$attribute_fields = array( 'public' => __( 'Public' ) );
$attribute_fields = array( 'public' => _x( 'Public', 'site' ) );
if ( ! $is_main_site ) {
$attribute_fields['archived'] = __( 'Archived' );
$attribute_fields['spam'] = _x( 'Spam', 'site' );

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.7-alpha-49961';
$wp_version = '5.7-alpha-49962';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.