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/inc/page-meta-descriptions.php

    r6879 r6887  
    3838        case 'page-about-features.php':
    3939            $title = esc_html__( 'WordPress Features', 'wporg' );
    40             /* translators: WordPress market share: 30%; */
    41             $desc  = sprintf( esc_html__( 'Discover why WordPress powers more than %s of the web. WordPress is a simple, flexible, user-friendly platform, with key features that include media management, SEO, and endless options for customization. More than 50,000 plugins extend the core functionality of WordPress even more. Build your site today.', 'wporg' ), WP_MARKET_SHARE . '%' );
     40            /* translators: 1: WordPress market share: 30 - Note: The following percent sign is '%%' for escaping purposes; 2: Number of WordPress.org hosted plugins; */
     41            $desc  = sprintf( esc_html__( 'Discover why WordPress powers more than %1$s%% of the web. WordPress is a simple, flexible, user-friendly platform, with key features that include media management, SEO, and endless options for customization. More than %2$s plugins extend the core functionality of WordPress even more. Build your site today.', 'wporg' ), number_format_i18n( WP_MARKET_SHARE ), number_format_i18n( 50000 ) );
    4242            break;
    4343
    4444        case 'page-about-history.php':
    4545            $title = esc_html__( 'The History of WordPress', 'wporg' );
    46             /* translators: WordPress market share: 30%; */
    47             $desc  = sprintf( esc_html__( 'WordPress currently powers more than %s of the web. How did it grow to become the world’s leading web publishing platform? Learn about the history of WordPress: an open source software project built by an active community of contributors who are passionate about collaboration, empowerment, and the open web.', 'wporg' ), WP_MARKET_SHARE . '%' );
     46            /* translators: WordPress market share: 30 - Note: The following percent sign is '%%' for escaping purposes; */
     47            $desc  = sprintf( esc_html__( 'WordPress currently powers more than %s%% of the web. How did it grow to become the world’s leading web publishing platform? Learn about the history of WordPress: an open source software project built by an active community of contributors who are passionate about collaboration, empowerment, and the open web.', 'wporg' ), number_format_i18n( WP_MARKET_SHARE ) );
    4848            break;
    4949
     
    8080        case 'page-about-security.php':
    8181            $title = esc_html__( 'WordPress is Secure', 'wporg' );
    82             /* translators: WordPress market share: 30%; */
    83             $desc  = sprintf( esc_html__( 'Why is WordPress recommended as a secure website-building solution? With a passionate open source community and an extensible, easy-to-use platform, WordPress provides flexible and secure options for all levels of users, from beginners to pros. Learn how WordPress guarantees the security of %s of the web.', 'wporg' ), WP_MARKET_SHARE . '%' );
     82            /* translators: WordPress market share: 30 - Note: The following percent sign is '%%' for escaping purposes; */
     83            $desc  = sprintf( esc_html__( 'Why is WordPress recommended as a secure website-building solution? With a passionate open source community and an extensible, easy-to-use platform, WordPress provides flexible and secure options for all levels of users, from beginners to pros. Learn how WordPress guarantees the security of %s%% of the web.', 'wporg' ), number_format_i18n( WP_MARKET_SHARE ) );
    8484            break;
    8585
Note: See TracChangeset for help on using the changeset viewer.