Make WordPress Core


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

    r43598 r45932  
    4646                $this->strings['up_to_date'] = __( 'The theme is at the latest version.' );
    4747                $this->strings['no_package'] = __( 'Update package not available.' );
    48                 /* translators: %s: package URL */
     48                /* translators: %s: Package URL. */
    4949                $this->strings['downloading_package'] = sprintf( __( 'Downloading update from %s&#8230;' ), '<span class="code">%s</span>' );
    5050                $this->strings['unpack_package']      = __( 'Unpacking the update&#8230;' );
     
    6262        public function install_strings() {
    6363                $this->strings['no_package'] = __( 'Installation package not available.' );
    64                 /* translators: %s: package URL */
     64                /* translators: %s: Package URL. */
    6565                $this->strings['downloading_package'] = sprintf( __( 'Downloading installation package from %s&#8230;' ), '<span class="code">%s</span>' );
    6666                $this->strings['unpack_package']      = __( 'Unpacking the package&#8230;' );
     
    6969                $this->strings['process_failed']      = __( 'Theme installation failed.' );
    7070                $this->strings['process_success']     = __( 'Theme installed successfully.' );
    71                 /* translators: 1: theme name, 2: version */
     71                /* translators: 1: Theme name, 2: Theme version. */
    7272                $this->strings['process_success_specific'] = __( 'Successfully installed the theme <strong>%1$s %2$s</strong>.' );
    7373                $this->strings['parent_theme_search']      = __( 'This theme requires a parent theme. Checking if it is installed&#8230;' );
    74                 /* translators: 1: theme name, 2: version */
     74                /* translators: 1: Theme name, 2: Theme version. */
    7575                $this->strings['parent_theme_prepare_install'] = __( 'Preparing to install <strong>%1$s %2$s</strong>&#8230;' );
    76                 /* translators: 1: theme name, 2: version */
     76                /* translators: 1: Theme name, 2: Theme version. */
    7777                $this->strings['parent_theme_currently_installed'] = __( 'The parent theme, <strong>%1$s %2$s</strong>, is currently installed.' );
    78                 /* translators: 1: theme name, 2: version */
     78                /* translators: 1: Theme name, 2: Theme version. */
    7979                $this->strings['parent_theme_install_success'] = __( 'Successfully installed the parent theme, <strong>%1$s %2$s</strong>.' );
    80                 /* translators: %s: theme name */
     80                /* translators: %s: Theme name. */
    8181                $this->strings['parent_theme_not_found'] = sprintf( __( '<strong>The parent theme could not be found.</strong> You will need to install the parent theme, %s, before you can use this child theme.' ), '<strong>%s</strong>' );
    8282        }
Note: See TracChangeset for help on using the changeset viewer.