WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/03/2019 12:39:13 AM (7 weeks 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/theme-editor.php

    r45926 r45932  
    3939                '<p>' . __( '<strong>Advice:</strong> Think very carefully about your site crashing if you are live-editing the theme currently in use.' ) . '</p>' .
    4040                '<p>' . sprintf(
    41                     /* translators: %s: link to documentation on child themes */
     41                    /* translators: %s: Link to documentation on child themes. */
    4242                    __( 'Upgrading to a newer version of the same theme will override changes made here. To avoid this, consider creating a <a href="%s">child theme</a> instead.' ),
    4343                    __( 'https://developer.wordpress.org/themes/advanced-topics/child-themes/' )
     
    202202            <?php
    203203            echo sprintf(
    204                 /* translators: %s: link to Custom CSS section in the Customizer */
     204                /* translators: %s: Link to Custom CSS section in the Customizer. */
    205205                __( 'There&#8217;s no need to change your CSS here &mdash; you can edit and live preview CSS changes in the <a href="%s">built-in CSS editor</a>.' ),
    206206                esc_url( add_query_arg( 'autofocus[section]', 'custom_css', admin_url( 'customize.php' ) ) )
     
    253253                <?php
    254254                printf(
    255                     /* translators: %s: link to edit parent theme */
     255                    /* translators: %s: Link to edit parent theme. */
    256256                    __( 'This child theme inherits templates from a parent theme, %s.' ),
    257257                    sprintf(
     
    317317            <?php
    318318            printf(
    319                 /* translators: %s: Documentation URL */
     319                /* translators: %s: Documentation URL. */
    320320                __( 'You need to make this file writable before you can save your changes. See <a href="%s">Changing File Permissions</a> for more information.' ),
    321321                __( 'https://wordpress.org/support/article/changing-file-permissions/' )
     
    360360                        echo '<p>';
    361361                        echo sprintf(
    362                             /* translators: %s: link to documentation on child themes */
     362                            /* translators: %s: Link to documentation on child themes. */
    363363                            __( 'If you need to tweak more than your theme&#8217;s CSS, you might want to try <a href="%s">making a child theme</a>.' ),
    364364                            esc_url( __( 'https://developer.wordpress.org/themes/advanced-topics/child-themes/' ) )
Note: See TracChangeset for help on using the changeset viewer.