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/front-page.php

    r6333 r6887  
    5050                    <?php
    5151                    printf(
    52                         /* translators: WordPress market share: 29%; */
    53                         __( '%s of the web uses WordPress, from hobby blogs to the biggest news sites online.', 'wporg' ),
    54                         WP_MARKET_SHARE . '%'
     52                        /* translators: WordPress market share: 30 - Note: The following percent sign is '%%' for escaping purposes; */
     53                        __( '%s%% of the web uses WordPress, from hobby blogs to the biggest news sites online.', 'wporg' ),
     54                        number_format_i18n( WP_MARKET_SHARE )
    5555                    );
    5656                    ?>
Note: See TracChangeset for help on using the changeset viewer.