Making WordPress.org

Changeset 8125


Ignore:
Timestamp:
01/22/2019 08:18:03 AM (8 years ago)
Author:
ocean90
Message:

Main: Pass the correct text domain to a gettext call.

Props la-geek.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/front-page.php

    r8046 r8125  
    100100                                </ul>
    101101                                <p>
    102                                 <?php
     102                                        <?php
    103103                                        $plugin_count = defined( 'WP_PLUGIN_COUNT' ) ? WP_PLUGIN_COUNT : 54000;
    104104                                        printf(
    105105                                                /* translators: 1: Rounded number of plugins. 2: Link to Plugin Directory. */
    106                                                 _n( 'Extend WordPress with over %1$s plugin to help your website meet your needs. Add an online store, galleries, mailing lists, forums, analytics, and <a href="%2$s">much more</a>.', 'Extend WordPress with over %1$s plugins to help your website meet your needs. Add an online store, galleries, mailing lists, forums, analytics, and <a href="%2$s">much more</a>.', $plugin_count, esc_url( home_url( '/plugins/' ) ), 'wporg' ),
     106                                                _n(
     107                                                        'Extend WordPress with over %1$s plugin to help your website meet your needs. Add an online store, galleries, mailing lists, forums, analytics, and <a href="%2$s">much more</a>.',
     108                                                        'Extend WordPress with over %1$s plugins to help your website meet your needs. Add an online store, galleries, mailing lists, forums, analytics, and <a href="%2$s">much more</a>.',
     109                                                        $plugin_count,
     110                                                        'wporg'
     111                                                ),
    107112                                                esc_html( number_format_i18n( $plugin_count ) ),
    108113                                                esc_url( home_url( '/plugins/' ) )
    109114                                        );
    110                                 ?>
     115                                        ?>
    111116                                </p>
    112117                        </section>
     
    122127                                                printf(
    123128                                                        /* translators: Number of meetups. */
    124                                                         _n( 'Hundreds of thousands of developers, content creators, and site owners gather at monthly meetups in %s city worldwide.', 'Hundreds of thousands of developers, content creators, and site owners gather at monthly meetups in %s cities worldwide.', $meetups, 'wporg' ),
     129                                                        _n(
     130                                                                'Hundreds of thousands of developers, content creators, and site owners gather at monthly meetups in %s city worldwide.',
     131                                                                'Hundreds of thousands of developers, content creators, and site owners gather at monthly meetups in %s cities worldwide.',
     132                                                                $meetups,
     133                                                                'wporg'
     134                                                        ),
    125135                                                        number_format_i18n( $meetups )
    126136                                                );
Note: See TracChangeset for help on using the changeset viewer.