Make WordPress Core


Ignore:
Timestamp:
09/03/2019 12:39:13 AM (5 years ago)
Author:
SergeyBiryukov
Message:

I18N: Capitalize translator comments consistently, add trailing punctuation.

Includes minor code layout fixes.

See #44360.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/options-privacy.php

    r45818 r45932  
    3939            ) {
    4040                $privacy_page_updated_message = sprintf(
    41                     /* translators: %s: URL to Customizer -> Menus */
     41                    /* translators: %s: URL to Customizer -> Menus. */
    4242                    __( 'Privacy Policy page setting updated successfully. Remember to <a href="%s">update your menus</a>!' ),
    4343                    esc_url( add_query_arg( 'autofocus[panel]', 'nav_menus', admin_url( 'customize.php' ) ) )
     
    101101                'page_for_privacy_policy',
    102102                sprintf(
    103                     /* translators: URL to Pages Trash */
     103                    /* translators: URL to Pages Trash. */
    104104                    __( 'The currently selected Privacy Policy page is in the trash. Please create or select a new Privacy Policy page or <a href="%s">restore the current page</a>.' ),
    105105                    'edit.php?post_status=trash&post_type=page'
     
    151151            if ( 'publish' === get_post_status( $privacy_policy_page_id ) ) {
    152152                printf(
    153                     /* translators: 1: URL to edit Privacy Policy page, 2: URL to view Privacy Policy page */
     153                    /* translators: 1: URL to edit Privacy Policy page, 2: URL to view Privacy Policy page. */
    154154                    __( '<a href="%1$s">Edit</a> or <a href="%2$s">view</a> your Privacy Policy page content.' ),
    155155                    esc_url( $edit_href ),
     
    158158            } else {
    159159                printf(
    160                     /* translators: 1: URL to edit Privacy Policy page, 2: URL to preview Privacy Policy page */
     160                    /* translators: 1: URL to edit Privacy Policy page, 2: URL to preview Privacy Policy page. */
    161161                    __( '<a href="%1$s">Edit</a> or <a href="%2$s">preview</a> your Privacy Policy page content.' ),
    162162                    esc_url( $edit_href ),
     
    172172        <?php
    173173        printf(
    174             /* translators: 1: Privacy Policy guide URL, 2: additional link attributes, 3: accessibility text */
     174            /* translators: 1: Privacy Policy guide URL, 2: Additional link attributes, 3: Accessibility text. */
    175175            __( 'Need help putting together your new Privacy Policy page? <a href="%1$s" %2$s>Check out our guide%3$s</a> for recommendations on what content to include, along with policies suggested by your plugins and theme.' ),
    176176            esc_url( admin_url( 'privacy-policy-guide.php' ) ),
Note: See TracChangeset for help on using the changeset viewer.