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-features.php

    r6878 r6887  
    4444                    <p>
    4545                        <?php
    46                         /* translators: WordPress market share: 29%; */
    47                         printf( esc_html__( 'WordPress powers more than %s of the web &mdash; a figure that rises every day. Everything from simple websites, to blogs, to complex portals and enterprise websites, and even applications, are built with WordPress.', 'wporg' ), esc_html( WP_MARKET_SHARE . '%' ) );
     46                        /* translators: WordPress market share: 30 - Note: The following percent sign is '%%' for escaping purposes; */
     47                        printf( esc_html__( 'WordPress powers more than %s%% of the web &mdash; a figure that rises every day. Everything from simple websites, to blogs, to complex portals and enterprise websites, and even applications, are built with WordPress.', 'wporg' ), number_format_i18n( WP_MARKET_SHARE ) );
    4848                        ?>
    4949                    </p>
Note: See TracChangeset for help on using the changeset viewer.