Making WordPress.org


Ignore:
Timestamp:
03/15/2018 04:42:32 AM (7 years ago)
Author:
dd32
Message:

Main: About: Mark the strings as translatable.
Some strings are deliberately not translated right now.

See #3046.

File:
1 edited

Legend:

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

    r6869 r6878  
    3737        <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    3838            <header class="entry-header">
    39                 <h1 class="entry-title col-8"><?php _esc_html_e( 'Requirements', 'wporg' ); ?></h1>
     39                <h1 class="entry-title col-8"><?php esc_html_e( 'Requirements', 'wporg' ); ?></h1>
    4040            </header><!-- .entry-header -->
    4141
    4242            <div class="entry-content row">
    4343                <section class="col-8">
    44                     <h3><?php _esc_html_e( 'To run WordPress we recommend your host supports:', 'wporg' ); ?></h3>
     44                    <h3><?php esc_html_e( 'To run WordPress we recommend your host supports:', 'wporg' ); ?></h3>
    4545
    4646                    <ul>
    4747                        <li>
    4848                            <?php
    49                             /* translators: URL to PHP */
    50                             printf( wp_kses_post( ___( '<a href="%s">PHP</a> version 7.2 or greater.', 'wporg' ) ), esc_url( 'http://www.php.net/' ) );
     49                            /* translators: 1: URL to PHP; 2: PHP Version */
     50                            printf( wp_kses_post( __( '<a href="%1$s">PHP</a> version %2$s or greater.', 'wporg' ) ), esc_url( 'http://www.php.net/' ), '7.2' );
    5151                            ?>
    5252                        </li>
    5353                        <li>
    5454                            <?php
    55                             /* translators: 1: URL to MySQL; 2: URL to MariaDB */
    56                             printf( wp_kses_post( ___( '<a href="%1$s">MySQL</a> version 5.6 or greater <em>OR</em> <a href="%2$s">MariaDB</a> version 10.0 or greater.', 'wporg' ) ), esc_url( 'https://www.mysql.com/' ), esc_url( 'https://mariadb.org/' ) );
     55                            /* translators: 1: URL to MySQL; 2: MySQL Version; 3: URL to MariaDB; 4: MariaDB Version */
     56                            printf( wp_kses_post( __( '<a href="%1$s">MySQL</a> version %2$s or greater <em>OR</em> <a href="%3$s">MariaDB</a> version %4$s or greater.', 'wporg' ) ), esc_url( 'https://www.mysql.com/' ), '5.6', esc_url( 'https://mariadb.org/' ), '10.0' );
    5757                            ?>
    5858                        </li>
     
    6060                            <?php
    6161                            /* translators: URL to news post */
    62                             printf( wp_kses_post( ___( '<a href="%s">HTTPS</a> support', 'wporg' ) ), esc_url( 'https://wordpress.org/news/2016/12/moving-toward-ssl/' ) );
     62                            printf( wp_kses_post( __( '<a href="%s">HTTPS</a> support', 'wporg' ) ), esc_url( 'https://wordpress.org/news/2016/12/moving-toward-ssl/' ) );
    6363                            ?>
    6464                        </li>
     
    6868                        <?php
    6969                        /* translators: 1: URL to Apache; 2: URL to Nginx; 3: URL to hosting page */
    70                         printf( wp_kses_post( ___( 'That&#8217;s really it. We recommend <a href="%1$s">Apache</a> or <a href="%2$s">Nginx</a> as the most robust and featureful server for running WordPress, but any server that supports PHP and MySQL will do. That said, we can&#8217;t test every possible environment and <a href="%3$s">each of the hosts on our hosting page</a> supports the above and more with no problems.', 'wporg' ) ), esc_url( 'https://httpd.apache.org/' ), esc_url( 'https://nginx.org/' ), esc_url( home_url( '/hosting/' ) ) );
     70                        printf( wp_kses_post( __( 'That&#8217;s really it. We recommend <a href="%1$s">Apache</a> or <a href="%2$s">Nginx</a> as the most robust and featureful server for running WordPress, but any server that supports PHP and MySQL will do. That said, we can&#8217;t test every possible environment and <a href="%3$s">each of the hosts on our hosting page</a> supports the above and more with no problems.', 'wporg' ) ), esc_url( 'https://httpd.apache.org/' ), esc_url( 'https://nginx.org/' ), esc_url( home_url( '/hosting/' ) ) );
    7171                        ?>
    7272                    </p>
    7373
    74                     <p><?php echo wp_kses_post( ___( 'Note: If you are in a legacy environment where you only have older PHP or MySQL versions, WordPress also works with PHP 5.2.4+ and MySQL 5.0+, but these versions have reached official End Of Life and as such <strong>may expose your site to security vulnerabilities</strong>.', 'wporg' ) ); ?></p>
     74                    <p><?php
     75                        printf(
     76                            /* translators: 1: PHP Version including; 2: MySQL Version */
     77                            wp_kses_post( __( 'Note: If you are in a legacy environment where you only have older PHP or MySQL versions, WordPress also works with PHP %1$s+ and MySQL %2$s+    , but these versions have reached official End Of Life and as such <strong>may expose your site to security vulnerabilities</strong>.', 'wporg' ) ),
     78                            '5.2.4',
     79                            '5.0'
     80                        );
     81                    ?></p>
    7582
    76                     <h3><?php _esc_html_e( 'Ask for it', 'wporg' ); ?></h3>
     83                    <h3><?php esc_html_e( 'Ask for it', 'wporg' ); ?></h3>
    7784
    78                     <p><?php _esc_html_e( 'Here&#8217;s a letter you can send to your host; copy and paste!', 'wporg' ); ?></p>
     85                    <p><?php esc_html_e( 'Here&#8217;s a letter you can send to your host; copy and paste!', 'wporg' ); ?></p>
    7986
    8087                    <blockquote>
    81                         <p><?php _esc_html_e( 'I&#8217;m interested in running the open-source WordPress &lt;https://wordpress.org/&gt; web software and I was wondering if my account supported the following:', 'wporg' ); ?></p>
     88                        <p><?php esc_html_e( 'I&#8217;m interested in running the open-source WordPress &lt;https://wordpress.org/&gt; web software and I was wondering if my account supported the following:', 'wporg' ); ?></p>
    8289
    8390                        <ul>
    84                             <li><?php _esc_html_e( 'PHP 7.2 or greater', 'wporg' ); ?></li>
    85                             <li><?php _esc_html_e( 'MySQL 5.6 or greater OR MariaDB 10.0 or greater', 'wporg' ); ?></li>
    86                             <li><?php _esc_html_e( 'Nginx or Apache with mod_rewrite module', 'wporg' ); ?></li>
    87                             <li><?php _esc_html_e( 'HTTPS support', 'wporg' ); ?></li>
     91                            <li><?php
     92                                /* translators: PHP Version */
     93                                printf( esc_html__( 'PHP %s or greater', 'wporg' ), '7.2' );
     94                            ?></li>
     95                            <li><?php
     96                                /* translators: 1: MySQL version; 2: MariaDB Version */
     97                                printf( esc_html__( 'MySQL %1$s or greater OR MariaDB %2$s or greater', 'wporg' ), '5.6', '10.0' );
     98                            ?></li>
     99                            <li><?php esc_html_e( 'Nginx or Apache with mod_rewrite module', 'wporg' ); ?></li>
     100                            <li><?php esc_html_e( 'HTTPS support', 'wporg' ); ?></li>
    88101                        </ul>
    89102
    90                         <p><?php _esc_html_e( 'Thanks!', 'wporg' ); ?></p>
     103                        <p><?php esc_html_e( 'Thanks!', 'wporg' ); ?></p>
    91104                    </blockquote>
    92105
    93                     <h3><?php _esc_html_e( 'Not required, but recommended for better security', 'wporg' ); ?></h3>
     106                    <h3><?php esc_html_e( 'Not required, but recommended for better security', 'wporg' ); ?></h3>
    94107
    95                     <p><?php _esc_html_e( 'Hosting is more secure when PHP applications, like WordPress, are run using your account&#8217;s username instead of the server&#8217;s default shared username. Ask your potential host what steps they take to ensure the security of your account.', 'wporg' ); ?></p>
     108                    <p><?php esc_html_e( 'Hosting is more secure when PHP applications, like WordPress, are run using your account&#8217;s username instead of the server&#8217;s default shared username. Ask your potential host what steps they take to ensure the security of your account.', 'wporg' ); ?></p>
    96109                </section>
    97110            </div><!-- .entry-content -->
Note: See TracChangeset for help on using the changeset viewer.