Making WordPress.org


Ignore:
Timestamp:
05/28/2024 01:25:21 AM (10 months ago)
Author:
dufresnesteven
Message:

Plugin-directory: Sentence case meta details and remove ':'.

See: https://github.com/WordPress/wordpress.org/issues/312
Props: joen

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/widgets/class-meta.php

    r13617 r13751  
    5353                printf(
    5454                    /* translators: %s: version number */
    55                     __( 'Version: %s', 'wporg-plugins' ),
     55                    __( 'Version %s', 'wporg-plugins' ),
    5656                    '<strong>' . esc_html( get_post_meta( $post->ID, 'version', true ) ) . '</strong>'
    5757                );
     
    7070                printf(
    7171                    /* translators: %s: time since the last update */
    72                     __( 'Last updated: %s', 'wporg-plugins' ),
     72                    __( 'Last updated %s', 'wporg-plugins' ),
    7373                    /* translators: %s: time since the last update */
    7474                    '<strong>' . wp_kses( sprintf( __( '%s ago', 'wporg-plugins' ), '<span>' . human_time_diff( $modified_time ) . '</span>' ), array( 'span' => true ) ) . '</strong>'
     
    8080                printf(
    8181                    /* translators: %s: active installations count */
    82                     __( 'Active installations: %s', 'wporg-plugins' ),
     82                    __( 'Active installations %s', 'wporg-plugins' ),
    8383                    '<strong>' . esc_html( Template::active_installs( false ) ) . '</strong>'
    8484                );
     
    8888            <?php if ( $requires = (string) get_post_meta( $post->ID, 'requires', true ) ) : ?>
    8989                <li>
    90                     <?php esc_html_e( 'WordPress Version:', 'wporg-plugins' ); ?>
     90                    <?php esc_html_e( 'WordPress version', 'wporg-plugins' ); ?>
    9191                    <strong>
    9292                        <?php
     
    106106                    printf(
    107107                        /* translators: %s: version number */
    108                         __( 'Tested up to: %s', 'wporg-plugins' ),
     108                        __( 'Tested up to %s', 'wporg-plugins' ),
    109109                        '<strong>' . esc_html( $tested_up_to ) . '</strong>'
    110110                    );
     
    115115            <?php if ( $requires_php = (string) get_post_meta( $post->ID, 'requires_php', true ) ) : ?>
    116116                <li>
    117                     <?php esc_html_e( 'PHP Version:', 'wporg-plugins' ); ?>
     117                    <?php esc_html_e( 'PHP version', 'wporg-plugins' ); ?>
    118118                    <strong>
    119119                        <?php
     
    136136                    <?php
    137137                    if ( 1 === $available_languages_count ) {
    138                         esc_html_e( 'Language:', 'wporg-plugins' );
     138                        esc_html_e( 'Language', 'wporg-plugins' );
    139139                    } else {
    140                         esc_html_e( 'Languages:', 'wporg-plugins' );
     140                        esc_html_e( 'Languages', 'wporg-plugins' );
    141141                    }
    142142
     
    209209                    printf(
    210210                        /* translators: %s: tag list */
    211                         _n( 'Tag: %s', 'Tags: %s', count( $term_links ), 'wporg-plugins' ),
     211                        _n( 'Tag %s', 'Tags %s', count( $term_links ), 'wporg-plugins' ),
    212212                        '<div class="tags">' . implode( $term_links ) . '</div>'
    213213                    );
Note: See TracChangeset for help on using the changeset viewer.