Make WordPress Core


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

    r45734 r45932  
    156156        trigger_error(
    157157            sprintf(
    158                 /* translators: %s: support forums URL */
     158                /* translators: %s: Support forums URL. */
    159159                __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server&#8217;s configuration. If you continue to have problems, please try the <a href="%s">support forums</a>.' ),
    160160                __( 'https://wordpress.org/support/forums/' )
     
    382382        trigger_error(
    383383            sprintf(
    384                 /* translators: %s: support forums URL */
     384                /* translators: %s: Support forums URL. */
    385385                __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server&#8217;s configuration. If you continue to have problems, please try the <a href="%s">support forums</a>.' ),
    386386                __( 'https://wordpress.org/support/forums/' )
     
    571571        trigger_error(
    572572            sprintf(
    573                 /* translators: %s: support forums URL */
     573                /* translators: %s: Support forums URL. */
    574574                __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server&#8217;s configuration. If you continue to have problems, please try the <a href="%s">support forums</a>.' ),
    575575                __( 'https://wordpress.org/support/forums/' )
     
    684684    $titles          = array();
    685685    if ( $counts['wordpress'] ) {
    686         /* translators: %d: number of updates available to WordPress */
     686        /* translators: %d: Number of available WordPress updates. */
    687687        $titles['wordpress'] = sprintf( __( '%d WordPress Update' ), $counts['wordpress'] );
    688688    }
    689689    if ( $counts['plugins'] ) {
    690         /* translators: %d: number of updates available to plugins */
     690        /* translators: %d: Number of available plugin updates. */
    691691        $titles['plugins'] = sprintf( _n( '%d Plugin Update', '%d Plugin Updates', $counts['plugins'] ), $counts['plugins'] );
    692692    }
    693693    if ( $counts['themes'] ) {
    694         /* translators: %d: number of updates available to themes */
     694        /* translators: %d: Number of available theme updates. */
    695695        $titles['themes'] = sprintf( _n( '%d Theme Update', '%d Theme Updates', $counts['themes'] ), $counts['themes'] );
    696696    }
Note: See TracChangeset for help on using the changeset viewer.