Making WordPress.org


Ignore:
Timestamp:
01/12/2018 03:23:31 AM (7 years ago)
Author:
dd32
Message:

bbPress.org: Properly i18n homepage strings and general cleanup.

Props SergeyBiryukov, ramiy, dd32.
Fixes #1285.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/buddypress.org/public_html/wp-content/themes/bbpress-org/header-front.php

    r4449 r6363  
    11<?php if ( is_front_page() ) : ?>
    22    <div id="headline"><div id="headline-inner">
    3         <h2 class="graphic home"><?php bloginfo( 'description' ); ?></h2>
    4         <p>bbPress is forum software with a twist from the creators of WordPress. Easily setup discussion forums inside your WordPress.org powered site.</p>
     3        <h2 class="graphic home"><?php _e( 'Forums, made the WordPress way', 'bbporg' ); ?></h2>
     4        <p><?php _e( 'bbPress is forum software with a twist from the creators of WordPress. Easily setup discussion forums inside your WordPress.org powered site.', 'bbporg' ); ?></p>
    55        <div>
    6             <a href="//bbpress.org/download/" id="big-demo-button" class="button">Download bbPress &rarr;</a>
    7             <img src="<?php echo get_stylesheet_directory_uri(); ?>/images/screenshots.png?v=6" srcset="<?php echo get_stylesheet_directory_uri(); ?>/images/screenshots.png?v=6 1x, <?php echo get_stylesheet_directory_uri(); ?>/images/screenshots-2x.png?v=6 2x" alt="Screenshots">
     6            <a href="//bbpress.org/download/" id="big-demo-button" class="button"><?php _e( 'Download bbPress &rarr;', 'bbporg' ); ?></a>
     7            <img src="<?php echo get_stylesheet_directory_uri(); ?>/images/screenshots.png?v=6" srcset="<?php echo get_stylesheet_directory_uri(); ?>/images/screenshots.png?v=6 1x, <?php echo get_stylesheet_directory_uri(); ?>/images/screenshots-2x.png?v=6 2x" alt="">
    88        </div>
    99    </div></div>
     
    1313        <div class="feature">
    1414            <h3><?php _e( 'Simple Setup', 'bbporg' ); ?></h3>
    15             <p><a href="//bbpress.org/about/simple/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_forums.gif" alt="" width="78" height="58"></a>Easy to setup.<br /> Easy to moderate.<br /> Fast, and clean.</p>
     15            <p>
     16                <a href="//bbpress.org/about/simple/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_forums.gif" alt="<?php esc_attr_e( 'Simple Setup', 'bbporg' ); ?>" width="78" height="58"></a>
     17                <?php _e( 'Easy to setup.<br /> Easy to moderate.<br /> Fast, and clean.', 'bbporg' ); ?>
     18            </p>
    1619        </div>
    1720        <div class="feature">
    1821            <h3><?php _e( 'Fully Integrated', 'bbporg' ); ?></h3>
    19             <p><a href="//bbpress.org/about/integration/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_integration.gif" alt="" width="78" height="58"></a>One central account.<br /> One unified admin area.<br /> One click install.</p>
     22            <p>
     23                <a href="//bbpress.org/about/integration/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_integration.gif" alt="<?php esc_attr_e( 'Fully Integrated', 'bbporg' ); ?>" width="78" height="58"></a>
     24                <?php _e( 'One central account.<br /> One unified admin area.<br /> One click install.', 'bbporg' ); ?>
     25            </p>
    2026        </div>
    2127        <div class="feature" style="margin:0;">
    2228            <h3><?php _e( 'Single Installation', 'bbporg' ); ?></h3>
    23             <p><a href="//bbpress.org/about/installation/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_installation.gif" alt="" width="78" height="58"></a>Simple step-by-step installation walks you through your options.</p>
     29            <p>
     30                <a href="//bbpress.org/about/installation/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_installation.gif" alt="<?php esc_attr_e( 'Single Installation', 'bbporg' ); ?>" width="78" height="58"></a>
     31                <?php _e( 'Simple step-by-step installation walks you through your options.', 'bbporg' ); ?>
     32            </p>
    2433        </div>
    2534        <div class="feature">
    2635            <h3><?php _e( 'Multisite Forums', 'bbporg' ); ?></h3>
    27             <p><a href="//bbpress.org/about/multisite/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_blogs.gif" alt="" width="78" height="58"></a>Divide your site into sections. Allow your users to create content.</p>
     36            <p>
     37                <a href="//bbpress.org/about/multisite/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_blogs.gif" alt="<?php esc_attr_e( 'Multisite Forums', 'bbporg' ); ?>" width="78" height="58"></a>
     38                <?php _e( 'Divide your site into sections. Allow your users to create content.', 'bbporg' ); ?>
     39            </p>
    2840        </div>
    2941    </div></div>
Note: See TracChangeset for help on using the changeset viewer.