Making WordPress.org

Changeset 1928


Ignore:
Timestamp:
09/30/2015 07:20:41 PM (9 years ago)
Author:
ocean90
Message:

WordPress.org Themes: Make some links translatable.

Props SergeyBiryukov.
Fixes #1267.

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

Legend:

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

    r1679 r1928  
    5151                <ul>
    5252                    <li><?php _e( 'Distribute 100% GPL themes, including artwork and CSS.', 'wporg-themes' ); ?></li>
    53                     <li><?php printf( __( 'Have at least one theme in the WordPress.org <a href="%s">Theme Directory</a> that is actively maintained (i.e. updated within the last year).', 'wporg-themes' ), '//wordpress.org/themes/' ); ?></li>
     53                    <li><?php printf( __( 'Have at least one theme in the WordPress.org <a href="%s">Theme Directory</a> that is actively maintained (i.e. updated within the last year).', 'wporg-themes' ), home_url( '/' ) ); ?></li>
    5454                    <li><?php _e( 'Have professional support options, and optionally customization.', 'wporg-themes' ); ?></li>
    5555                    <li><?php _e( 'Your site should be complete, well-designed, up to date, and professional looking.', 'wporg-themes' ); ?></li>
    5656                    <li><?php _e( 'Provide and keep us up-to-date with a contact email address in the event we need to reach you.', 'wporg-themes' ); ?></li>
    57                     <li><?php printf( __( 'Provide a <a href="%s">haiku</a> (5-7-5) about yourself to be included.', 'wporg-themes' ), 'http://en.wikipedia.org/wiki/Haiku_in_English' ); ?></li>
     57                    <li><?php printf( __( 'Provide a <a href="%s">haiku</a> (5-7-5) about yourself to be included.', 'wporg-themes' ), __( 'https://en.wikipedia.org/wiki/Haiku_in_English', 'wporg-themes' ) ); ?></li>
    5858                </ul>
    5959
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/page-getting-started.php

    r1480 r1928  
    3434                <p>
    3535                    <?php printf( __( 'To ensure that WordPress users are guaranteed a good experience, every theme in the directory is reviewed by the theme review team. Please <a href="%s">review the guidelines before uploading your theme</a>.', 'wporg-themes' ),
    36                     '//make.wordpress.org/themes/handbook/review/'
     36                    'https://make.wordpress.org/themes/handbook/review/'
    3737                    ); ?>
    3838                </p>
     
    4040                <p>
    4141                    <?php printf( __( 'Your theme will be reviewed using the <a href="%s">Theme Unit Test data</a>. Before uploading your theme please test it with this sample export data.', 'wporg-themes' ),
    42                         '//codex.wordpress.org/Theme_Unit_Test'
     42                        __( 'https://codex.wordpress.org/Theme_Unit_Test', 'wporg-themes' )
    4343                    ); ?>
    4444                </p>
    4545                <p>
    4646                    <?php printf( __( 'Further resources for theme developers can be found in the Codex on the <a href="%s">Theme Development page</a>.', 'wporg-themes' ),
    47                         '//codex.wordpress.org/Theme_Development'
     47                        __( 'https://codex.wordpress.org/Theme_Development', 'wporg-themes' )
    4848                    ); ?>
    4949                </p>
    5050                <p>
    5151                    <?php printf( __( 'For questions about theme development please use the <a href="%s">Themes and Templates forum</a>.', 'wporg-themes' ),
    52                         '//wordpress.org/support/forum/themes-and-templates'
     52                        __( 'https://wordpress.org/support/forum/themes-and-templates', 'wporg-themes' )
    5353                    ); ?>
    5454                </p>
    5555
    5656                <p>
    57                     <a class="button button-primary" href="<?php echo home_url('/upload/'); ?>"><?php _e( 'Upload Your Theme', 'wporg-themes' ); ?></a>
     57                    <a class="button button-primary" href="<?php echo home_url( '/upload/' ); ?>"><?php _e( 'Upload Your Theme', 'wporg-themes' ); ?></a>
    5858                </p>
    5959            </div><!-- .entry-content -->
Note: See TracChangeset for help on using the changeset viewer.