Ticket #1285: meta-1285.patch
File meta-1285.patch, 10.0 KB (added by , 9 years ago) |
---|
-
trunk/buddypress.org/public_html/wp-content/themes/bbpress-org/header-front.php
1 1 <?php if ( is_front_page() ) : ?> 2 2 <div id="headline"><div id="headline-inner"> 3 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>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> 5 5 <div> 6 <a href="//bbpress.org/download/" id="big-demo-button" class="button"> Download bbPress →</a>6 <a href="//bbpress.org/download/" id="big-demo-button" class="button"><?php _e( 'Download bbPress →', 'bbporg' ); ?></a> 7 7 <img src="<?php echo get_stylesheet_directory_uri(); ?>/images/screenshots.png?v=5" alt="Screenshots"> 8 8 </div> 9 9 </div></div> … … 12 12 <div id="showcase"><div id="showcase-inner"> 13 13 <div class="feature"> 14 14 <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="" width="78" height="58"></a> 17 <?php _e( 'Easy to setup.', 'bbporg' ); ?><br /> 18 <?php _e( 'Easy to moderate.', 'bbporg' ); ?><br /> 19 <?php _e( 'Fast, and clean.', 'bbporg' ); ?> 20 </p> 16 21 </div> 17 22 <div class="feature"> 18 23 <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> 24 <p> 25 <a href="//bbpress.org/about/integration/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_integration.gif" alt="" width="78" height="58"></a> 26 <?php _e( 'One central account.', 'bbporg' ); ?><br /> 27 <?php _e( 'One unified admin area.', 'bbporg' ); ?><br /> 28 <?php _e( 'One click install.', 'bbporg' ); ?> 29 </p> 20 30 </div> 21 31 <div class="feature" style="margin:0;"> 22 32 <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> 33 <p> 34 <a href="//bbpress.org/about/installation/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_installation.gif" alt="" width="78" height="58"></a> 35 <?php _e( 'Simple step-by-step installation walks you through your options.', 'bbporg' ); ?> 36 </p> 24 37 </div> 25 38 <div class="feature"> 26 39 <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> 40 <p> 41 <a href="//bbpress.org/about/multisite/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_blogs.gif" alt="" width="78" height="58"></a> 42 <?php _e( 'Divide your site into sections. Allow your users to create content.', 'bbporg' ); ?> 43 </p> 28 44 </div> 29 45 </div></div> 30 46 <hr class="hidden" /> -
trunk/buddypress.org/public_html/wp-content/themes/bbpress-org/page-plugins.php
12 12 <div class="bbp-pagination"> 13 13 <div class="bbp-pagination-count"> 14 14 15 <?php printf( 'Viewing %1$s to %2$s (%3$s)', number_format_i18n( $from_num ), number_format_i18n( $to_num ), number_format_i18n( $plugins->info['results'] ) ); ?>15 <?php printf( __( 'Viewing %1$s to %2$s (%3$s)', 'bbporg' ), number_format_i18n( $from_num ), number_format_i18n( $to_num ), number_format_i18n( $plugins->info['results'] ) ); ?> 16 16 17 17 </div> 18 18 … … 47 47 ?> 48 48 49 49 <div class="single-plugin"> 50 <h3 class="plugin-title"><a href="<?php echo esc_url( 'https://wordpress.org/ extend/plugins/' . $plugin->slug ); ?>/" title="Plugin Information"><?php echo esc_html( $plugin->name ); ?></a></h3>50 <h3 class="plugin-title"><a href="<?php echo esc_url( 'https://wordpress.org/plugins/' . $plugin->slug ); ?>/" title="<?php esc_attr_e( 'Plugin Information', 'bbporg' ); ?>"><?php echo esc_html( $plugin->name ); ?></a></h3> 51 51 52 52 <div class="plugin-meta"> 53 <?php if ( !empty( $plugin->version ) ) : ?><div> Version:<?php echo esc_html( $plugin->version ); ?></div><?php if ( !empty( $plugin->requires ) ) : ?><?php endif; ?><?php endif; ?>54 <?php if ( !empty( $plugin->requires ) ) : ?><div> Requires:<?php echo esc_html( $plugin->requires ); ?></div><?php if ( !empty( $plugin->tested ) ) : ?><?php endif; ?><?php endif; ?>55 <?php if ( !empty( $plugin->tested ) ) : ?><div> Compatible up to:<?php echo esc_html( $plugin->tested ); ?></div><?php endif; ?>56 <div> Rating:<?php echo $plugin->rating_html; // raw html - do not escape ?></div>53 <?php if ( !empty( $plugin->version ) ) : ?><div><?php _e( 'Version:', 'bbporg' ); ?> <?php echo esc_html( $plugin->version ); ?></div><?php if ( !empty( $plugin->requires ) ) : ?><?php endif; ?><?php endif; ?> 54 <?php if ( !empty( $plugin->requires ) ) : ?><div><?php _e( 'Requires:', 'bbporg' ); ?> <?php echo esc_html( $plugin->requires ); ?></div><?php if ( !empty( $plugin->tested ) ) : ?><?php endif; ?><?php endif; ?> 55 <?php if ( !empty( $plugin->tested ) ) : ?><div><?php _e( 'Compatible up to:', 'bbporg' ); ?> <?php echo esc_html( $plugin->tested ); ?></div><?php endif; ?> 56 <div><?php _e( 'Rating:', 'bbporg' ); ?> <?php echo $plugin->rating_html; // raw html - do not escape ?></div> 57 57 </div> 58 58 59 59 <p class="plugin-description" style="font-size: 12px"> … … 67 67 <div class="bbp-pagination"> 68 68 <div class="bbp-pagination-count"> 69 69 70 <?php printf( 'Viewing %1$s to %2$s (%3$s)', number_format_i18n( $from_num ), number_format_i18n( $to_num ), number_format_i18n( $plugins->info['results'] ) ); ?>70 <?php printf( __( 'Viewing %1$s to %2$s (%3$s)', 'bbporg' ), number_format_i18n( $from_num ), number_format_i18n( $to_num ), number_format_i18n( $plugins->info['results'] ) ); ?> 71 71 72 72 </div> 73 73 -
trunk/buddypress.org/public_html/wp-content/themes/bbpress-org/sidebar.php
17 17 <div> 18 18 <h3><?php _e( 'Forum Feeds', 'bbporg'); ?></h3> 19 19 <ul> 20 <li><a class="feed" href="<?php bbp_forum_permalink(); ?>feed/" title=" Forum Posts">Recent Posts</a></li>21 <li><a class="feed" href="<?php bbp_forum_permalink(); ?>feed/?type=topic" title=" Forum Topics">Recent Topics</a></li>20 <li><a class="feed" href="<?php bbp_forum_permalink(); ?>feed/" title="<?php esc_attr_e( 'Forum Posts', 'bbporg' ); ?>"><?php _e( 'Recent Posts', 'bbporg'); ?></a></li> 21 <li><a class="feed" href="<?php bbp_forum_permalink(); ?>feed/?type=topic" title="<?php esc_attr_e( 'Forum Topics', 'bbporg' ); ?>"><?php _e( 'Recent Topics', 'bbporg'); ?></a></li> 22 22 </ul> 23 23 </div> 24 24 … … 79 79 <div> 80 80 <h3><?php _e( 'Feeds', 'bbporg'); ?></h3> 81 81 <ul> 82 <li><a class="feed" href="<?php bbp_forums_url(); ?>feed/" title=" All Recent Posts">All Recent Posts</a></li>83 <li><a class="feed" href="<?php bbp_topics_url(); ?>feed/" title=" All Recent Topics">All Recent Topics</a></li>82 <li><a class="feed" href="<?php bbp_forums_url(); ?>feed/" title="<?php esc_attr_e( 'All Recent Posts', 'bbporg' ); ?>"><?php _e( 'All Recent Posts', 'bbporg'); ?></a></li> 83 <li><a class="feed" href="<?php bbp_topics_url(); ?>feed/" title="<?php esc_attr_e( 'All Recent Topics', 'bbporg' ); ?>"><?php _e( 'All Recent Topics', 'bbporg'); ?></a></li> 84 84 </ul> 85 85 </div> 86 86 … … 95 95 96 96 <div class="feature"> 97 97 <h3><?php _e('bbPress Complete', 'bbporg'); ?></h3> 98 <p><a href="https://www.packtpub.com/web-development/bbpress-complete" title=" bbPress Complete"><img width="225" alt="" src="<?php echo get_stylesheet_directory_uri(); ?>/images/bbpress-packt.jpg"/></a></p>99 <p class="book-description"> A step-by-step guide to creating, managing, and growing a community around your WordPress website.</p>98 <p><a href="https://www.packtpub.com/web-development/bbpress-complete" title="<?php esc_attr_e( 'bbPress Complete', 'bbporg' ); ?>"><img width="225" alt="" src="<?php echo get_stylesheet_directory_uri(); ?>/images/bbpress-packt.jpg"/></a></p> 99 <p class="book-description"><?php _e('A step-by-step guide to creating, managing, and growing a community around your WordPress website.', 'bbporg'); ?></p> 100 100 </div> 101 101 102 102 <?php elseif ( is_page( array( 'plugins', 116247 ) ) ) : ?> … … 106 106 <div> 107 107 <h3><?php _e( 'Legacy', 'bbporg'); ?></h3> 108 108 <ul> 109 <li><a href="<?php echo get_permalink( 116247 ); ?>" title=" Legacy Plugins">Plugins for bbPress 1.1</a></li>109 <li><a href="<?php echo get_permalink( 116247 ); ?>" title="="<?php esc_attr_e( 'Legacy Plugins', 'bbporg' ); ?>"><?php _e( 'Plugins for bbPress 1.1', 'bbporg'); ?></a></li> 110 110 </ul> 111 111 </div> 112 112