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/plugin-editor.php

    r45674 r45932  
    196196    if ( is_plugin_active( $plugin ) ) {
    197197        if ( is_writeable( $real_file ) ) {
    198             /* translators: %s: plugin file name */
     198            /* translators: %s: Plugin file name. */
    199199            echo sprintf( __( 'Editing %s (active)' ), '<strong>' . esc_html( $file ) . '</strong>' );
    200200        } else {
    201             /* translators: %s: plugin file name */
     201            /* translators: %s: Plugin file name. */
    202202            echo sprintf( __( 'Browsing %s (active)' ), '<strong>' . esc_html( $file ) . '</strong>' );
    203203        }
    204204    } else {
    205205        if ( is_writeable( $real_file ) ) {
    206             /* translators: %s: plugin file name */
     206            /* translators: %s: Plugin file name. */
    207207            echo sprintf( __( 'Editing %s (inactive)' ), '<strong>' . esc_html( $file ) . '</strong>' );
    208208        } else {
    209             /* translators: %s: plugin file name */
     209            /* translators: %s: Plugin file name. */
    210210            echo sprintf( __( 'Browsing %s (inactive)' ), '<strong>' . esc_html( $file ) . '</strong>' );
    211211        }
     
    284284        <?php
    285285        printf(
    286             /* translators: %s: Documentation URL */
     286            /* translators: %s: Documentation URL. */
    287287            __( 'You need to make this file writable before you can save your changes. See <a href="%s">Changing File Permissions</a> for more information.' ),
    288288            __( 'https://wordpress.org/support/article/changing-file-permissions/' )
Note: See TracChangeset for help on using the changeset viewer.