WordPress.org

Making WordPress.org

Changeset 6057


Ignore:
Timestamp:
10/27/2017 05:07:17 PM (2 years ago)
Author:
obenland
Message:

Main: Adopt wporg textdomain.

Allows for both parent and child theme strings to be translated in one GlotPress project.

See #2861.

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main
Files:
5 edited

Legend:

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

    r5998 r6057  
    1919    <header id="masthead" class="site-header" role="banner">
    2020        <div class="site-branding">
    21             <p class="site-title"><?php _e( 'Meet WordPress', 'wporg-main' ); ?></p>
     21            <p class="site-title"><?php _e( 'Meet WordPress', 'wporg' ); ?></p>
    2222
    2323            <p class="site-description"><?php _e( 'WordPress is open source software you can use to create a beautiful website, blog, or app' ); ?></p>
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/functions.php

    r5890 r6057  
    2121    // This theme uses wp_nav_menu() in one location.
    2222    register_nav_menus( array(
    23         'rosetta_main' => esc_html__( 'Rosetta', 'wporg-main' ),
     23        'rosetta_main' => esc_html__( 'Rosetta', 'wporg' ),
    2424    ) );
    2525
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-get.php

    r5886 r6057  
    33?>
    44    <div id="page" class="site">
    5     <a class="skip-link screen-reader-text" href="#main"><?php esc_html_e( 'Skip to content', 'wporg-main' ); ?></a>
     5    <a class="skip-link screen-reader-text" href="#main"><?php esc_html_e( 'Skip to content', 'wporg' ); ?></a>
    66
    77    <div id="content" class="site-content">
    88    <header id="masthead" class="site-header" role="banner">
    99        <div class="site-branding">
    10             <p class="site-title"><a href="<?php echo esc_url( home_url( '/get' ) ); ?>"><?php _e( 'Get WordPress', 'wporg-main' ); ?></a></p>
     10            <p class="site-title"><a href="<?php echo esc_url( home_url( '/get' ) ); ?>"><?php _e( 'Get WordPress', 'wporg' ); ?></a></p>
    1111
    1212            <nav id="site-navigation" class="main-navigation" role="navigation">
     
    2323                <section>
    2424                    <div class="container">
    25                         <h3><?php _e( 'Requirements', 'wporg-main' ); ?></h3>
     25                        <h3><?php _e( 'Requirements', 'wporg' ); ?></h3>
    2626
    27                         <p><?php printf( __( 'You&#8217;ve got a cool new plugin and are hoping to give it some exposure. You&#8217;re in the right place. Just <a href="%s">ask us to host it for you</a>. You&#8217;ll be able to:', 'wporg-main' ), esc_url( home_url( 'developers/add' ) ) ); ?></p>
     27                        <p><?php printf( __( 'You&#8217;ve got a cool new plugin and are hoping to give it some exposure. You&#8217;re in the right place. Just <a href="%s">ask us to host it for you</a>. You&#8217;ll be able to:', 'wporg' ), esc_url( home_url( 'developers/add' ) ) ); ?></p>
    2828                        <ul>
    29                             <li><?php _e( 'Keep track of how many people have downloaded it.', 'wporg-main' ); ?></li>
    30                             <li><?php _e( 'Let people leave comments about your plugin.', 'wporg-main' ); ?></li>
    31                             <li><?php _e( 'Get your plugin rated against all the other cool WordPress plugins.', 'wporg-main' ); ?></li>
    32                             <li><?php _e( 'Give your plugin lots of exposure in this centralized repository.', 'wporg-main' ); ?></li>
     29                            <li><?php _e( 'Keep track of how many people have downloaded it.', 'wporg' ); ?></li>
     30                            <li><?php _e( 'Let people leave comments about your plugin.', 'wporg' ); ?></li>
     31                            <li><?php _e( 'Get your plugin rated against all the other cool WordPress plugins.', 'wporg' ); ?></li>
     32                            <li><?php _e( 'Give your plugin lots of exposure in this centralized repository.', 'wporg' ); ?></li>
    3333                        </ul>
    3434
    35                         <h3><?php _e( 'There are some restrictions', 'wporg-main' ); ?></h3>
     35                        <h3><?php _e( 'There are some restrictions', 'wporg' ); ?></h3>
    3636                        <ul>
    37                             <li><?php printf( __( 'Your plugin must be compatible with the <a href="%s">GNU General Public License v2</a>, or any later version. We strongly recommend using the same license as WordPress — &#8220;GPLv2 or later.&#8221;', 'wporg-main' ), esc_url( 'http://www.gnu.org/licenses/license-list.html#GPLCompatibleLicenses' ) ); ?></li>
    38                             <li><?php _e( 'The plugin must not do anything illegal or be morally offensive (that&#8217;s subjective, we know).', 'wporg-main' ); ?></li>
    39                             <li><?php printf( __( 'You have to actually use the <a href="%s">Subversion</a> repository we give you in order for your plugin to show up on this site. The WordPress Plugin Directory is a hosting site, not a listing site.', 'wporg-main' ), esc_url( 'http://subversion.tigris.org/' ) ); ?></li>
    40                             <li><?php _e( 'The plugin must not embed external links on the public site (like a &#8220;powered by&#8221; link) without explicitly asking the user&#8217;s permission.', 'wporg-main' ); ?></li>
    41                             <li><?php printf( __( 'Your plugin must abide by our list of <a href="%s">detailed guidelines</a>, which include not being a spammer and not abusing the systems.', 'wporg-main' ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/' ) ); ?></li>
     37                            <li><?php printf( __( 'Your plugin must be compatible with the <a href="%s">GNU General Public License v2</a>, or any later version. We strongly recommend using the same license as WordPress — &#8220;GPLv2 or later.&#8221;', 'wporg' ), esc_url( 'http://www.gnu.org/licenses/license-list.html#GPLCompatibleLicenses' ) ); ?></li>
     38                            <li><?php _e( 'The plugin must not do anything illegal or be morally offensive (that&#8217;s subjective, we know).', 'wporg' ); ?></li>
     39                            <li><?php printf( __( 'You have to actually use the <a href="%s">Subversion</a> repository we give you in order for your plugin to show up on this site. The WordPress Plugin Directory is a hosting site, not a listing site.', 'wporg' ), esc_url( 'http://subversion.tigris.org/' ) ); ?></li>
     40                            <li><?php _e( 'The plugin must not embed external links on the public site (like a &#8220;powered by&#8221; link) without explicitly asking the user&#8217;s permission.', 'wporg' ); ?></li>
     41                            <li><?php printf( __( 'Your plugin must abide by our list of <a href="%s">detailed guidelines</a>, which include not being a spammer and not abusing the systems.', 'wporg' ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/' ) ); ?></li>
    4242                        </ul>
    4343
    44                         <h3><?php _e( 'Submission is Simple', 'wporg-main' ); ?></h3>
     44                        <h3><?php _e( 'Submission is Simple', 'wporg' ); ?></h3>
    4545                        <ol>
    46                             <li><?php printf( __( '<a href="%s">Sign up</a> for an account on WordPress.org.', 'wporg-main' ), esc_url( 'https://wordpress.org/support/register.php' ) ); ?></li>
    47                             <li><?php printf( __( '<a href="%s">Submit your plugin for review</a>.', 'wporg-main' ), esc_url( home_url( 'developers/add' ) ) ); ?></li>
    48                             <li><?php printf( __( 'After your plugin is <a href="%s">manually reviewed</a>, it will either be approved or you will be emailed and asked to provide more information and/or make corrections.', 'wporg-main' ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/plugin-developer-faq/#questions-about-submissions-and-approval' ) ); ?></li>
    49                             <li><?php printf( __( 'Once approved, you&#8217;ll be given access to a <a id="subversion" href="%s">Subversion Repository</a> where you&#8217;ll store your plugin.', 'wporg-main' ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/how-to-use-subversion/' ) ); ?></li>
     46                            <li><?php printf( __( '<a href="%s">Sign up</a> for an account on WordPress.org.', 'wporg' ), esc_url( 'https://wordpress.org/support/register.php' ) ); ?></li>
     47                            <li><?php printf( __( '<a href="%s">Submit your plugin for review</a>.', 'wporg' ), esc_url( home_url( 'developers/add' ) ) ); ?></li>
     48                            <li><?php printf( __( 'After your plugin is <a href="%s">manually reviewed</a>, it will either be approved or you will be emailed and asked to provide more information and/or make corrections.', 'wporg' ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/plugin-developer-faq/#questions-about-submissions-and-approval' ) ); ?></li>
     49                            <li><?php printf( __( 'Once approved, you&#8217;ll be given access to a <a id="subversion" href="%s">Subversion Repository</a> where you&#8217;ll store your plugin.', 'wporg' ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/how-to-use-subversion/' ) ); ?></li>
    5050                            <li>
    5151                                <?php
    5252                                /* translators: 1: URL to readme section; 2: URL to home page; */
    53                                 printf( __( 'Shortly after you upload your plugin (and a <a href="%1$s">readme file</a>!) to that repository, it will be automatically displayed in the <a href="%2$s">plugins browser</a>.', 'wporg-main' ), '#readme', esc_url( home_url( '/' ) ) );
     53                                printf( __( 'Shortly after you upload your plugin (and a <a href="%1$s">readme file</a>!) to that repository, it will be automatically displayed in the <a href="%2$s">plugins browser</a>.', 'wporg' ), '#readme', esc_url( home_url( '/' ) ) );
    5454                                ?>
    5555                            </li>
    56                             <li><?php printf( __( 'Check out the <strong><a href="%s">FAQ</a> </strong>for more information.', 'wporg-main' ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/plugin-developer-faq/' ) ); ?></li>
     56                            <li><?php printf( __( 'Check out the <strong><a href="%s">FAQ</a> </strong>for more information.', 'wporg' ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/plugin-developer-faq/' ) ); ?></li>
    5757                        </ol>
    5858
    59                         <h3 id="readme"><?php _e( 'Readme files', 'wporg-main' ); ?></h3>
     59                        <h3 id="readme"><?php _e( 'Readme files', 'wporg' ); ?></h3>
    6060                        <p>
    6161                            <?php
    6262                            /* translators: 1: URL to readme file; 2: URL to readme validator; */
    63                             printf( __( 'To make your entry in the plugin browser most useful, each plugin should have a readme file named <code>readme.txt</code> that adheres to the <a href="%1$s">WordPress plugin readme file standard</a>. You can put your readme file through the <a href="%2$s">readme validator</a> to check it.', 'wporg-main' ), esc_url( home_url( 'files/2016/06/readme.txt' ) ), esc_url( home_url( '/developers/readme-validator/' ) ) );
     63                            printf( __( 'To make your entry in the plugin browser most useful, each plugin should have a readme file named <code>readme.txt</code> that adheres to the <a href="%1$s">WordPress plugin readme file standard</a>. You can put your readme file through the <a href="%2$s">readme validator</a> to check it.', 'wporg' ), esc_url( home_url( 'files/2016/06/readme.txt' ) ), esc_url( home_url( '/developers/readme-validator/' ) ) );
    6464                            ?>
    6565                        </p>
     
    6868                <section>
    6969                    <div class="container">
    70                         <h3><?php _e( 'Beta Releases', 'wporg-main' ); ?></h3>
     70                        <h3><?php _e( 'Beta Releases', 'wporg' ); ?></h3>
    7171
    72                         <p><?php printf( __( 'You&#8217;ve got a cool new plugin and are hoping to give it some exposure. You&#8217;re in the right place. Just <a href="%s">ask us to host it for you</a>. You&#8217;ll be able to:', 'wporg-main' ), esc_url( home_url( 'developers/add' ) ) ); ?></p>
     72                        <p><?php printf( __( 'You&#8217;ve got a cool new plugin and are hoping to give it some exposure. You&#8217;re in the right place. Just <a href="%s">ask us to host it for you</a>. You&#8217;ll be able to:', 'wporg' ), esc_url( home_url( 'developers/add' ) ) ); ?></p>
    7373                        <ul>
    74                             <li><?php _e( 'Keep track of how many people have downloaded it.', 'wporg-main' ); ?></li>
    75                             <li><?php _e( 'Let people leave comments about your plugin.', 'wporg-main' ); ?></li>
    76                             <li><?php _e( 'Get your plugin rated against all the other cool WordPress plugins.', 'wporg-main' ); ?></li>
    77                             <li><?php _e( 'Give your plugin lots of exposure in this centralized repository.', 'wporg-main' ); ?></li>
     74                            <li><?php _e( 'Keep track of how many people have downloaded it.', 'wporg' ); ?></li>
     75                            <li><?php _e( 'Let people leave comments about your plugin.', 'wporg' ); ?></li>
     76                            <li><?php _e( 'Get your plugin rated against all the other cool WordPress plugins.', 'wporg' ); ?></li>
     77                            <li><?php _e( 'Give your plugin lots of exposure in this centralized repository.', 'wporg' ); ?></li>
    7878                        </ul>
    7979
    80                         <h3><?php _e( 'There are some restrictions', 'wporg-main' ); ?></h3>
     80                        <h3><?php _e( 'There are some restrictions', 'wporg' ); ?></h3>
    8181                        <ul>
    82                             <li><?php printf( __( 'Your plugin must be compatible with the <a href="%s">GNU General Public License v2</a>, or any later version. We strongly recommend using the same license as WordPress — &#8220;GPLv2 or later.&#8221;', 'wporg-main' ), esc_url( 'http://www.gnu.org/licenses/license-list.html#GPLCompatibleLicenses' ) ); ?></li>
    83                             <li><?php _e( 'The plugin must not do anything illegal or be morally offensive (that&#8217;s subjective, we know).', 'wporg-main' ); ?></li>
    84                             <li><?php printf( __( 'You have to actually use the <a href="%s">Subversion</a> repository we give you in order for your plugin to show up on this site. The WordPress Plugin Directory is a hosting site, not a listing site.', 'wporg-main' ), esc_url( 'http://subversion.tigris.org/' ) ); ?></li>
    85                             <li><?php _e( 'The plugin must not embed external links on the public site (like a &#8220;powered by&#8221; link) without explicitly asking the user&#8217;s permission.', 'wporg-main' ); ?></li>
    86                             <li><?php printf( __( 'Your plugin must abide by our list of <a href="%s">detailed guidelines</a>, which include not being a spammer and not abusing the systems.', 'wporg-main' ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/' ) ); ?></li>
     82                            <li><?php printf( __( 'Your plugin must be compatible with the <a href="%s">GNU General Public License v2</a>, or any later version. We strongly recommend using the same license as WordPress — &#8220;GPLv2 or later.&#8221;', 'wporg' ), esc_url( 'http://www.gnu.org/licenses/license-list.html#GPLCompatibleLicenses' ) ); ?></li>
     83                            <li><?php _e( 'The plugin must not do anything illegal or be morally offensive (that&#8217;s subjective, we know).', 'wporg' ); ?></li>
     84                            <li><?php printf( __( 'You have to actually use the <a href="%s">Subversion</a> repository we give you in order for your plugin to show up on this site. The WordPress Plugin Directory is a hosting site, not a listing site.', 'wporg' ), esc_url( 'http://subversion.tigris.org/' ) ); ?></li>
     85                            <li><?php _e( 'The plugin must not embed external links on the public site (like a &#8220;powered by&#8221; link) without explicitly asking the user&#8217;s permission.', 'wporg' ); ?></li>
     86                            <li><?php printf( __( 'Your plugin must abide by our list of <a href="%s">detailed guidelines</a>, which include not being a spammer and not abusing the systems.', 'wporg' ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/' ) ); ?></li>
    8787                        </ul>
    8888
    89                         <h3><?php _e( 'Submission is Simple', 'wporg-main' ); ?></h3>
     89                        <h3><?php _e( 'Submission is Simple', 'wporg' ); ?></h3>
    9090                        <ol>
    91                             <li><?php printf( __( '<a href="%s">Sign up</a> for an account on WordPress.org.', 'wporg-main' ), esc_url( 'https://wordpress.org/support/register.php' ) ); ?></li>
    92                             <li><?php printf( __( '<a href="%s">Submit your plugin for review</a>.', 'wporg-main' ), esc_url( home_url( 'developers/add' ) ) ); ?></li>
    93                             <li><?php printf( __( 'After your plugin is <a href="%s">manually reviewed</a>, it will either be approved or you will be emailed and asked to provide more information and/or make corrections.', 'wporg-main' ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/plugin-developer-faq/#questions-about-submissions-and-approval' ) ); ?></li>
    94                             <li><?php printf( __( 'Once approved, you&#8217;ll be given access to a <a id="subversion" href="%s">Subversion Repository</a> where you&#8217;ll store your plugin.', 'wporg-main' ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/how-to-use-subversion/' ) ); ?></li>
     91                            <li><?php printf( __( '<a href="%s">Sign up</a> for an account on WordPress.org.', 'wporg' ), esc_url( 'https://wordpress.org/support/register.php' ) ); ?></li>
     92                            <li><?php printf( __( '<a href="%s">Submit your plugin for review</a>.', 'wporg' ), esc_url( home_url( 'developers/add' ) ) ); ?></li>
     93                            <li><?php printf( __( 'After your plugin is <a href="%s">manually reviewed</a>, it will either be approved or you will be emailed and asked to provide more information and/or make corrections.', 'wporg' ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/plugin-developer-faq/#questions-about-submissions-and-approval' ) ); ?></li>
     94                            <li><?php printf( __( 'Once approved, you&#8217;ll be given access to a <a id="subversion" href="%s">Subversion Repository</a> where you&#8217;ll store your plugin.', 'wporg' ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/how-to-use-subversion/' ) ); ?></li>
    9595                            <li>
    9696                                <?php
    9797                                /* translators: 1: URL to readme section; 2: URL to home page; */
    98                                 printf( __( 'Shortly after you upload your plugin (and a <a href="%1$s">readme file</a>!) to that repository, it will be automatically displayed in the <a href="%2$s">plugins browser</a>.', 'wporg-main' ), '#readme', esc_url( home_url( '/' ) ) );
     98                                printf( __( 'Shortly after you upload your plugin (and a <a href="%1$s">readme file</a>!) to that repository, it will be automatically displayed in the <a href="%2$s">plugins browser</a>.', 'wporg' ), '#readme', esc_url( home_url( '/' ) ) );
    9999                                ?>
    100100                            </li>
    101                             <li><?php printf( __( 'Check out the <strong><a href="%s">FAQ</a> </strong>for more information.', 'wporg-main' ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/plugin-developer-faq/' ) ); ?></li>
     101                            <li><?php printf( __( 'Check out the <strong><a href="%s">FAQ</a> </strong>for more information.', 'wporg' ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/plugin-developer-faq/' ) ); ?></li>
    102102                        </ol>
    103103
    104                         <h3 id="readme"><?php _e( 'Readme files', 'wporg-main' ); ?></h3>
     104                        <h3 id="readme"><?php _e( 'Readme files', 'wporg' ); ?></h3>
    105105                        <p>
    106106                            <?php
    107107                            /* translators: 1: URL to readme file; 2: URL to readme validator; */
    108                             printf( __( 'To make your entry in the plugin browser most useful, each plugin should have a readme file named <code>readme.txt</code> that adheres to the <a href="%1$s">WordPress plugin readme file standard</a>. You can put your readme file through the <a href="%2$s">readme validator</a> to check it.', 'wporg-main' ), esc_url( home_url( 'files/2016/06/readme.txt' ) ), esc_url( home_url( '/developers/readme-validator/' ) ) );
     108                            printf( __( 'To make your entry in the plugin browser most useful, each plugin should have a readme file named <code>readme.txt</code> that adheres to the <a href="%1$s">WordPress plugin readme file standard</a>. You can put your readme file through the <a href="%2$s">readme validator</a> to check it.', 'wporg' ), esc_url( home_url( 'files/2016/06/readme.txt' ) ), esc_url( home_url( '/developers/readme-validator/' ) ) );
    109109                            ?>
    110110                        </p>
     
    118118                    sprintf(
    119119                    /* translators: %s: Name of current post */
    120                         esc_html__( 'Edit %s', 'wporg-main' ),
     120                        esc_html__( 'Edit %s', 'wporg' ),
    121121                        the_title( '<span class="screen-reader-text">"', '"</span>', false )
    122122                    ),
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-templates/releases.php

    r5893 r6057  
    2323                    rosetta_release_row( null, null, null, true );
    2424                    ?>
    25                     <h3 id="latest"><?php _e( 'Latest release', 'wporg-main' ); ?></h3>
     25                    <h3 id="latest"><?php _e( 'Latest release', 'wporg' ); ?></h3>
    2626                    <table class="releases latest">
    2727                        <?php echo rosetta_release_row( $releases['latest'], 'alt' ); ?>
     
    3636                        rosetta_release_row( null, null, null, true );
    3737                        ?>
    38                         <h3><?php printf( __( '%s Branch', 'wporg-main' ), $branch );?></h3>
     38                        <h3><?php printf( __( '%s Branch', 'wporg' ), $branch );?></h3>
    3939                        <table class="releases">
    4040                            <?php
     
    5050                if ( ! empty( $releases['betas'] ) ) :
    5151                    ?>
    52                     <h3 id="betas"><?php _e( 'Beta &amp; RC releases', 'wporg-main' ); ?></h3>
     52                    <h3 id="betas"><?php _e( 'Beta &amp; RC releases', 'wporg' ); ?></h3>
    5353                    <table id="beta" class="releases">
    5454                        <?php
     
    6363                endif; # any betas
    6464            else: # no releases
    65                 echo '<p>' . __( 'There are no releases, yet.', 'wporg-main' ) . '</p>';
     65                echo '<p>' . __( 'There are no releases, yet.', 'wporg' ) . '</p>';
    6666            endif; # if releases
    6767            ?>
     
    7272            sprintf(
    7373            /* translators: %s: Name of current post */
    74                 esc_html__( 'Edit %s', 'wporg-main' ),
     74                esc_html__( 'Edit %s', 'wporg' ),
    7575                the_title( '<span class="screen-reader-text">"', '"</span>', false )
    7676            ),
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/style.css

    r4885 r6057  
    88License: GNU General Public License v2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
    10 Text Domain: wporg-main
     10Text Domain: wporg
    1111Template: wporg
    1212
Note: See TracChangeset for help on using the changeset viewer.