Making WordPress.org


Ignore:
Timestamp:
03/19/2018 04:59:18 AM (6 years ago)
Author:
dd32
Message:

Main: Always place the % sign within the translated string, as some languages need to move the positioning and spacing.

H/t tobifjellner.
See https://en.wikipedia.org/wiki/Percent_sign#Spacing
See #3046.

File:
1 edited

Legend:

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

    r6879 r6887  
    103103                    <p>
    104104                        <?php
    105                         /* translators: 1: Link to b2/cafelog; 2: WordPress market share: 29%; */
    106                         printf( wp_kses_post( __( 'WordPress started in 2003 when Mike Little and Matt Mullenweg created a <a href="%1$s">fork of b2/cafelog</a>. The need for an elegant, well-architected personal publishing system was clear even then. Today, WordPress is built on PHP and MySQL, and licensed under the GPLv2. It is also the platform of choice for over %2$s of all sites across the web.', 'wporg' ) ), esc_url( 'https://www.whoishostingthis.com/resources/b2-cafelog/' ), esc_html( WP_MARKET_SHARE . '%' ) );
     105                        /* translators: 1: Link to b2/cafelog; 2: WordPress market share: 30 - Note: The following percent sign is '%%' for escaping purposes; */
     106                        printf( wp_kses_post( __( 'WordPress started in 2003 when Mike Little and Matt Mullenweg created a <a href="%1$s">fork of b2/cafelog</a>. The need for an elegant, well-architected personal publishing system was clear even then. Today, WordPress is built on PHP and MySQL, and licensed under the GPLv2. It is also the platform of choice for over %2$s%% of all sites across the web.', 'wporg' ) ), esc_url( 'https://www.whoishostingthis.com/resources/b2-cafelog/' ), number_format_i18n( WP_MARKET_SHARE ) );
    107107                        ?>
    108108                    </p>
Note: See TracChangeset for help on using the changeset viewer.