From 965fa1786b7d1aff6c7d83ed62a4200953755b04 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 15 Jan 2021 17:37:37 +0000 Subject: [PATCH] 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. git-svn-id: https://develop.svn.wordpress.org/trunk@49962 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/network/site-info.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/network/site-info.php b/src/wp-admin/network/site-info.php index 62ce84cc5c..8f7f782445 100644 --- a/src/wp-admin/network/site-info.php +++ b/src/wp-admin/network/site-info.php @@ -181,7 +181,7 @@ if ( ! empty( $messages ) ) { __( 'Public' ) ); + $attribute_fields = array( 'public' => _x( 'Public', 'site' ) ); if ( ! $is_main_site ) { $attribute_fields['archived'] = __( 'Archived' ); $attribute_fields['spam'] = _x( 'Spam', 'site' );