Make WordPress Core

Changeset 49962


Ignore:
Timestamp:
01/15/2021 05:37:37 PM (4 years ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/network/site-info.php

    r49199 r49962  
    182182        </tr>
    183183        <?php
    184         $attribute_fields = array( 'public' => __( 'Public' ) );
     184        $attribute_fields = array( 'public' => _x( 'Public', 'site' ) );
    185185        if ( ! $is_main_site ) {
    186186            $attribute_fields['archived'] = __( 'Archived' );
Note: See TracChangeset for help on using the changeset viewer.